Conversation
koppor
approved these changes
Dec 27, 2025
Member
|
Can we add a, test for this? |
Contributor
|
The issue persists: |
Member
|
Can you share your preference file?
Domenico Cufalo ***@***.***> schrieb am Sa., 27. Dez. 2025,
15:04:
… *Doc73* left a comment (JabRef/jabref#14732)
<#14732 (comment)>
The issue persists:
$ /opt/jabref/bin/JabRef
WARNING: Using incubator modules: jdk.incubator.vector
Messages are not initialized before accessing key: References
2025-12-27 15:03:27 [main] org.jabref.Launcher.main()
ERROR: Could not launch JabRef: java.lang.IllegalStateException: Cannot instantiate view: interface org.jabref.logic.preferences.CliPreferences
at afterburner.fx/com.airhacks.afterburner.injection.Injector.lambda$getDefaultInstanceSupplier$6(Unknown Source)
at afterburner.fx/com.airhacks.afterburner.injection.Injector.instantiateModelOrService(Unknown Source)
at afterburner.fx/com.airhacks.afterburner.injection.Injector.instantiateModelOrService(Unknown Source)
at org.jabref/org.jabref.gui.maintable.MainTableColumnModel.<init>(Unknown Source)
at org.jabref/org.jabref.gui.maintable.MainTableColumnModel.<init>(Unknown Source)
at org.jabref/org.jabref.gui.maintable.ColumnPreferences.<init>(Unknown Source)
at org.jabref/org.jabref.gui.maintable.ColumnPreferences.getDefault(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.getMainTableColumnPreferences(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.importPreferences(Unknown Source)
at org.jabref.jablib/org.jabref.logic.preferences.JabRefCliPreferences.<init>(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.<init>(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.getInstance(Unknown Source)
at org.jabref/org.jabref.Launcher.main(Unknown Source)
Caused by: java.lang.InstantiationException: org.jabref.logic.preferences.CliPreferences
at java.base/java.lang.Class.newInstance(Unknown Source)
... 13 more
Caused by: java.lang.NoSuchMethodException: org.jabref.logic.preferences.CliPreferences.<init>()
at java.base/java.lang.Class.getConstructor0(Unknown Source)
... 14 more
Exception in thread "main" java.lang.IllegalStateException: Cannot instantiate view: interface org.jabref.logic.preferences.CliPreferences
at afterburner.fx/com.airhacks.afterburner.injection.Injector.lambda$getDefaultInstanceSupplier$6(Unknown Source)
at afterburner.fx/com.airhacks.afterburner.injection.Injector.instantiateModelOrService(Unknown Source)
at afterburner.fx/com.airhacks.afterburner.injection.Injector.instantiateModelOrService(Unknown Source)
at org.jabref/org.jabref.gui.maintable.MainTableColumnModel.<init>(Unknown Source)
at org.jabref/org.jabref.gui.maintable.MainTableColumnModel.<init>(Unknown Source)
at org.jabref/org.jabref.gui.maintable.ColumnPreferences.<init>(Unknown Source)
at org.jabref/org.jabref.gui.maintable.ColumnPreferences.getDefault(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.getMainTableColumnPreferences(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.importPreferences(Unknown Source)
at org.jabref.jablib/org.jabref.logic.preferences.JabRefCliPreferences.<init>(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.<init>(Unknown Source)
at org.jabref/org.jabref.gui.preferences.JabRefGuiPreferences.getInstance(Unknown Source)
at org.jabref/org.jabref.Launcher.main(Unknown Source)
Caused by: java.lang.InstantiationException: org.jabref.logic.preferences.CliPreferences
at java.base/java.lang.Class.newInstance(Unknown Source)
... 13 more
Caused by: java.lang.NoSuchMethodException: org.jabref.logic.preferences.CliPreferences.<init>()
at java.base/java.lang.Class.getConstructor0(Unknown Source)
... 14 more
—
Reply to this email directly, view it on GitHub
<#14732 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACOFZDXPCD2L6XWIHZNCID4D2GW5AVCNFSM6AAAAACQDU4FLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMOJTHE4TOMRZGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This was referenced Dec 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #14729
Separates import to low level on startup from high level preferences import.
CliPreferences was not bound to JabRefCliPreferences, as with portable preferences, import of portable preferences xml is done in constructor of JabRefCliPreferences.
Steps to test
Use portable preferences.
Restart JabRef.
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)