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 #6644

Closed
1 task
jmdesantos opened this issue Jun 28, 2020 · 3 comments · Fixed by #9067
Closed
1 task

Uncaught exception #6644

jmdesantos opened this issue Jun 28, 2020 · 3 comments · Fixed by #9067

Comments

@jmdesantos
Copy link

JabRef version 5.0--2020-03-06--2e6f433 on Ubuntu 18.04

Tested with development version 5.1: it is the same, and so many warning windows open that freezes the computer.

Upon opening, scrolling down the entries after a few seconds multiple windows titled "Uncaught exception occurred in Thread[pool-9-thread-1,5,main]" appear, and sometimes continue to appear to the hundreds making the application unusable.
My database have 13064 entries.

Steps to reproduce the behavior:

  1. Open the database
  2. Scroll down the entry list
  3. Exception message windows start to appear.
Log File
The exception stacktrace was:
java.lang.NullPointerException
  at org.jabref.merged.module/javafx.collections.ListChangeBuilder.finalizeSubChange(Unknown Source)
  at org.jabref.merged.module/javafx.collections.ListChangeBuilder.finalizeSubChangeArray(Unknown Source)
  at org.jabref.merged.module/javThe exception stacktrace was:afx.collections.ListChangeBuilder.commit(Unknown Source)
  at org.jabref.merged.module/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
  at org.jabref.merged.module/javafx.collections.ObservableListBase.endChange(Unknown Source)
  at org.jabref.merged.module/com.sun.javafx.collections.ObservableListWrapper.access$200(Unknown Source)
  at org.jabref.merged.module/com.sun.javafx.collections.ObservableListWrapper$1$1.invalidated(Unknown Source)
  at org.jabref.merged.module/com.sun.javafx.collections.MapListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
  at org.jabref.merged.module/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(Unknown Source)
  at org.jabref.merged.module/com.sun.javafx.collections.ObservableMapWrapper.callObservers(Unknown Source)
  at org.jabref.merged.module/com.sun.javafx.collections.ObservableMapWrapper.put(Unknown Source)
  at org.jabref/org.jabref.model.entry.BibEntry.setField(Unknown Source)
  at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanup.cleanupSingleField(Unknown Source)
  at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanup.cleanupAllTextFields(Unknown Source)
  at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanup.cleanup(Unknown Source)
  at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanups.applyAllActions(Unknown Source)
  at org.jabref/org.jabref.model.cleanup.FieldFormatterCleanups.applySaveActions(Unknown Source)
  at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.lambda$applySaveActions$0(Unknown Source)
  at java.base/java.util.Optional.ifPresent(Unknown Source)
  at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.applySaveActions(Unknown Source)
  at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.savePartOfDatabase(Unknown Source)
  at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.saveDatabase(Unknown Source)
  at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.saveDatabase(Unknown Source)
  at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.doSave(Unknown Source)
  at org.jabref/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
  at org.jabref/org.jabref.gui.dialogs.AutosaveUIManager.listen(Unknown Source)
  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.base/java.lang.reflect.Method.invoke(Unknown Source)
  at org.jabref.merged.module/com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Unknown Source)
  at org.jabref.merged.module/com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Unknown Source)
  at org.jabref.merged.module/com.google.common.eventbus.Subscriber$1.run(Unknown Source)
  at org.jabref.mergeThe exception stacktrace was:d.module/com.google.common.util.concurrent.DirectExecutor.execute(Unknown Source)
  at org.jabref.merged.module/com.google.common.eventbus.Subscriber.dispatchEvent(Unknown Source)
  at org.jabref.merged.module/com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Unknown Source)
  at org.jabref.merged.module/com.google.common.eventbus.EventBus.post(Unknown Source)
  at org.jabref/org.jabref.logic.autosaveandbackup.AutosaveManager.lambda$listen$0(Unknown Source)
  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)
@sambo57u
Copy link

I can confirm the exact same behavior but it is not happening now. It also always happened at the same location
when scrolling down. It is not happening with the last development version. Did you check it? I had the feeling
it was something to do with translation of title stings with some latex combinations causing a problem.

@jmdesantos
Copy link
Author

jmdesantos commented Jun 28, 2020 via email

@Siedlerchr
Copy link
Member

Siedlerchr commented Jul 5, 2020

Could you please check in your bib file if you have save actions defined? Open the bib file with a text editor and at the end of the file there is something like @Comment{jabref-meta:... which lists save actions. Please remove that line and try again with the latest dev version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants