Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception when searching in dark mode #7343

Closed
KWaniova opened this issue Jan 14, 2021 · 5 comments · Fixed by #7659
Closed

Uncaught exception when searching in dark mode #7343

KWaniova opened this issue Jan 14, 2021 · 5 comments · Fixed by #7659
Assignees
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@KWaniova
Copy link

JabRef version 5.2 on Windows 10, Ubuntu 20.04.1, Mac OS Catalina 10.15.7

Steps to reproduce the behavior:

  1. Set JabRef to dark mode.
  2. Create new empty library.
  3. In web search input on the left side enter covid and click search button.
  4. Click on Select all new entries.
  5. Click on import entries button.

JAB-200

JAB-200 error no 2

@Siedlerchr
Copy link
Member

Can you pleae expand the details of the first exception and paste the details here?

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Jan 15, 2021
@KWaniova
Copy link
Author

Sure

I tried it on the newest version of JabRef 5.3 and this is what happend

exception

these are details of expanded exception

java.lang.NullPointerException at org.jabref.merged.module@5.3.75/javafx.collections.ListChangeBuilder.findSubChange(Unknown Source) at org.jabref.merged.module@5.3.75/javafx.collections.ListChangeBuilder.insertUpdate(Unknown Source) at org.jabref.merged.module@5.3.75/javafx.collections.ListChangeBuilder.nextUpdate(Unknown Source) at org.jabref.merged.module@5.3.75/javafx.collections.ObservableListBase.nextUpdate(Unknown Source) at org.jabref.merged.module@5.3.75/com.sun.javafx.collections.ObservableListWrapper.access$100(Unknown Source) at org.jabref.merged.module@5.3.75/com.sun.javafx.collections.ObservableListWrapper$1$1.invalidated(Unknown Source) at org.jabref.merged.module@5.3.75/com.sun.javafx.collections.MapListenerHelper$SingleInvalidation.fireValueChangedEvent(Unknown Source) at org.jabref.merged.module@5.3.75/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(Unknown Source) at org.jabref.merged.module@5.3.75/com.sun.javafx.collections.ObservableMapWrapper.callObservers(Unknown Source) at org.jabref.merged.module@5.3.75/com.sun.javafx.collections.ObservableMapWrapper.remove(Unknown Source) at org.jabref@5.3.75/org.jabref.model.entry.BibEntry.clearField(Unknown Source) at org.jabref@5.3.75/org.jabref.model.entry.BibEntry.clearField(Unknown Source) at org.jabref@5.3.75/org.jabref.logic.cleanup.ConvertToBibtexCleanup.lambda$cleanup$2(Unknown Source) at java.base/java.util.Optional.ifPresent(Unknown Source) at org.jabref@5.3.75/org.jabref.logic.cleanup.ConvertToBibtexCleanup.cleanup(Unknown Source) at org.jabref@5.3.75/org.jabref.logic.importer.ImportCleanup.doPostCleanup(Unknown Source) at org.jabref@5.3.75/org.jabref.logic.importer.ImportCleanup.lambda$doPostCleanup$0(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source) at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source) at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

@calixtus
Copy link
Member

Devcall: We are wondering, if this is really a dark mode issue, since there were no traces of this in the StackTrace. Maybe a threading issue? We are looking into it.

@Fifi-wang
Copy link
Contributor

I have reproduced this bug and I think it is not related to dark mode. I'm interested in this bug.

@Siedlerchr
Copy link
Member

Thanks to @Fifi-wang the issue is now resolved.

We would like to ask you to use a development build from https://builds.jabref.org/main and report back if it works for you. Please remember to make a backup of your library before trying-out this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants