Skip to content

JabRef Crashes when adding new entry #12969

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

Open
2 tasks done
emmdmin1 opened this issue Apr 19, 2025 · 7 comments
Open
2 tasks done

JabRef Crashes when adding new entry #12969

emmdmin1 opened this issue Apr 19, 2025 · 7 comments
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@emmdmin1
Copy link

JabRef version

Other (please describe below)

Operating system

GNU / Linux

Details on version and operating system

Ubuntu 24.04.2 LTS

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

Hi, There is an issue when i want to add new entry and fill the biTex Sources with Book format to make a addressable Library, but when using update with biblographic button the whole of Jabref gonna crash!

first i was on 21 version of Java but i downgraded to 17 version family to prevent the error but the issue is persisting.

the version information is:

JabRef 5.15--2024-07-10--1eb3493
Linux 6.11.0-24-generic amd64
Java 21.0.2
JavaFX 22.0.1+7

Appendix

Log File
java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -2 is negative
	at java.base/java.lang.System.arraycopy(Native Method)
	at javafx.base@22.0.1/javafx.collections.transformation.SortedList.updateUnsorted(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.transformation.SortedList.sourceChanged(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.transformation.FilteredList.sourceChanged(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at com.tobiasdiez.easybind@2.2.1-SNAPSHOT/com.tobiasdiez.easybind.MappedBackedList.sourceChanged(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.gui.util.UiThreadList.sourceChanged(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.FXCollections$UnmodifiableObservableListImpl.lambda$new$0(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.FXCollections$SynchronizedObservableList.lambda$new$0(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.ModifiableObservableListBase.addAll(Unknown Source)
	at javafx.base@22.0.1/javafx.collections.FXCollections$SynchronizedList.addAll(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.model.database.BibDatabase.insertEntries(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.model.database.BibDatabase.insertEntries(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.gui.LibraryTab.insertEntries(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.gui.LibraryTab.insertEntry(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.gui.importer.NewEntryAction.execute(Unknown Source)
	at org.jabref@5.15.60000/org.jabref.gui.actions.JabRefAction.lambda$new$1(Unknown Source)
	at org.jabref.merged.module@5.15.60000/org.controlsfx.control.action.Action.handle(Unknown Source)
	at org.jabref.merged.module@5.15.60000/org.controlsfx.control.action.Action.handle(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.controls@22.0.1/javafx.scene.control.MenuItem.fire(Unknown Source)
	at javafx.controls@22.0.1/com.sun.javafx.scene.control.ControlAcceleratorSupport.lambda$doAcceleratorInstall$1(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.scene.KeyboardShortcutsHandler.processAccelerators(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.scene.KeyboardShortcutsHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@22.0.1/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@22.0.1/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics@22.0.1/javafx.scene.Scene.processKeyEvent(Unknown Source)
	at javafx.graphics@22.0.1/javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$1(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.glass.ui.View.handleKeyEvent(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.glass.ui.View.notifyKey(Unknown Source)
	at javafx.graphics@22.0.1/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at javafx.graphics@22.0.1/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

@Siedlerchr
Copy link
Member

Hi, better you paste the bibtex entry directly on the main table.
And you might want to test the latest development version to see if the error persists
(Remember to make a backup) https://builds.jabref.org/main/

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Apr 19, 2025
@emmdmin1
Copy link
Author

Hello, Yeah! as i said the final developed version installed but it's gonna crashes now when adding another entry with different method and the the error persists.
so i tried with different java version but not a chance to solve the issue!
thnx for your attention.

@koppor
Copy link
Member

koppor commented Apr 20, 2025

Hello, Yeah! as i said the final developed version installed but it's gonna crashes now when adding another entry with different method and the the error persists.
so i tried with different java version but not a chance to solve the issue!
thnx for your attention.

Please show us the stack trace.

How do you start the dev build? Via the .deb file?

The JRE is bundled, thus any change of Ununtu's JRE won't have any effect...

@subhramit subhramit changed the title Jab Ref Crashes when adding new entry JabRef Crashes when adding new entry Apr 20, 2025
@HoussemNasri
Copy link
Member

Please show us the stack trace.

It is under log file accordian.

@emmdmin1
Copy link
Author

@koppor I started with pretty normal installation from official JabRef site it didn't work (it kept crashes), then i downloaded the with snap which downloaded the stable claimed version 5.13.6000 which also didn't work out. finally i installed with direct GitHub release the latest version 5.15 as it shows in report of the version via deb file
i checked with different versions of java like 21, 17, and also 8 using virtual java env but the issue keep persists.
the log reported on 21th version of java

yes! it's true, @HoussemNasri all of trace log is attached in Appendix log file.
thanks for your further consideration and building this Amazing app it keeps the papers management a lot easier.

@koppor
Copy link
Member

koppor commented Apr 21, 2025

@emmdmin1 Could you try the --edge snap?

@emmdmin1
Copy link
Author

@koppor sure! i'll let you know if the issue persists!

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

No branches or pull requests

4 participants