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

jabref not starting on Linux #7105

Closed
sambo57u opened this issue Nov 16, 2020 · 24 comments
Closed

jabref not starting on Linux #7105

sambo57u opened this issue Nov 16, 2020 · 24 comments

Comments

@sambo57u
Copy link

JabRef 5.2--2020-11-16--1dc91ca
Installed from rpm
Fedora Linux 33

After updating to the devel version of today the jabref fails to start with error message:

Error: Could not find or load main class org.jabref/org.jabref.gui.JabRefLauncher in module org.jabref

this is by executing /opt/jabref/bin/JabRef OR the script in /opt/jabref/lib/runtime/bin

Changing the srcript line to:
"$DIR/java" -p "$DIR/../../app" -m org.jabref/org.jabref.gui.JabRefLauncher "$@"
works.

@juejung
Copy link

juejung commented Nov 16, 2020

Same problem with .deb version https://builds.jabref.org/master/jabref_5.2-1_amd64.deb from 11/16/20 on Ubuntu 18.04.
Haven't tried changing the script line as suggested above.

@Siedlerchr
Copy link
Member

Siedlerchr commented Nov 16, 2020

Hmm I did some changes yesterday, maybe need to revert some back. The script is normally auto-generated.

@ilippert
Copy link
Contributor

Same here - does not start jabref-5.2.255-1.x86_64

@ilippert
Copy link
Contributor

ilippert commented Nov 17, 2020

Changing the srcript line to:
"$DIR/java" -p "$DIR/../../app" -m org.jabref/org.jabref.gui.JabRefLauncher "$@"
works.

Maybe I misunderstood - I edited /opt/jabref/lib/runtime/bin/JabRefwith the suggested line. Still does not run.
Fedora 33.

@Siedlerchr
Copy link
Member

Can you please test the version from here? I reverted some changes, so hopeuflly it works again:
https://builds.jabref.org/pull/7107/merge/

@AtrusRiven
Copy link
Contributor

On Windows neither (no reaction at all). Neither with the actual master nor with the 7107 @Siedlerchr mentioned.

@juejung
Copy link

juejung commented Nov 17, 2020

Just tried https://builds.jabref.org/pull/7107/merge/
It still does not start. Tested on Ubuntu 20.04
I had to revert to the version from last Thursday (.deb package from 11/12/2020)

@sambo57u
Copy link
Author

Same here using the rpm version on Fedora 33. Here is one hint, the automatically generated script contains the line:

"$DIR/java" -p "$DIR/../app" -m org.jabref/org.jabref/org.jabref.gui.JabRefLauncher "$@"

note the repeated org.jabref after -m. Replacing this with:

"$DIR/java" -p "$DIR/../app" -m org.jabref/org.jabref.gui.JabRefLauncher "$@"

works!

@Siedlerchr
Copy link
Member

@sambo57u Thanks for the hint!
Can you please all try with the new version from here? https://builds.jabref.org/pull/7107/merge/ That should be correct again

@juejung
Copy link

juejung commented Nov 17, 2020

Ok, the .deb version from https://builds.jabref.org/pull/7107/merge/ works again on Ubuntu 20.04. Thanks.

@sambo57u
Copy link
Author

It is also working (rpm version) on Fedora 33.

@AtrusRiven
Copy link
Contributor

Working for Win10, too. Thanks a lot!

@Siedlerchr
Copy link
Member

Thanks for the quick feedback! I merged the fix now (currently building) , so all master versions will then work again.
The culprit was a gradle update that required modifications withthe nodulebname

@ilippert
Copy link
Contributor

ilippert commented Nov 17, 2020

solved

JabRef 5.2--2020-11-17--a335f0d
Linux 5.9.8-200.fc33.x86_64 amd64
Java 15.0.1

@mlep
Copy link
Contributor

mlep commented Nov 18, 2020

@ilippert With this version, and under Linux, JabRef opens but the "group" and the "web search" interfaces do not open. An exception is raised.
Do you have the same issue?

Exception details:
java.lang.IllegalStateException: Cannot load org.jabref.gui.groups.grouptree
at [email protected]/com.airhacks.afterburner.views.ViewLoader.load(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupSidePane.createContentPane(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneComponent.getContentPane(Unknown Source)
at [email protected]/org.jabref.gui.SidePane.setComponents(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneManager.updateView(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneManager.show(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneManager.toggle(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneComponent$ToggleCommand.execute(Unknown Source)
at [email protected]/org.jabref.gui.actions.JabRefAction.lambda$new$3(Unknown Source)
at [email protected]/org.controlsfx.control.action.Action.handle(Unknown Source)
at [email protected]/org.controlsfx.control.action.Action.handle(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at [email protected]/javafx.event.Event.fireEvent(Unknown Source)
at [email protected]/javafx.scene.control.MenuItem.fire(Unknown Source)
at [email protected]/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(Unknown Source)
at [email protected]/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at [email protected]/javafx.event.Event.fireEvent(Unknown Source)
at [email protected]/javafx.scene.Scene$MouseHandler.process(Unknown Source)
at [email protected]/javafx.scene.Scene.processMouseEvent(Unknown Source)
at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
at [email protected]/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
at [email protected]/com.sun.glass.ui.View.notifyMouse(Unknown Source)
at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at [email protected]/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javafx.fxml.LoadException:
/org.jabref/org/jabref/gui/groups/GroupTree.fxml

at [email protected]/javafx.fxml.FXMLLoader.constructLoadException(Unknown Source)
at [email protected]/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at [email protected]/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at [email protected]/javafx.fxml.FXMLLoader.load(Unknown Source)
... 52 more

Caused by: java.lang.reflect.InvocationTargetException
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 com.sun.javafx.reflect.Trampoline.invoke(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at [email protected]/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source)
at [email protected]/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source)
... 55 more
Caused by: java.lang.NullPointerException: Cannot invoke "javafx.scene.control.TreeItem.getValue()" because "" is null
at [email protected]/org.jabref.gui.groups.GroupTreeView.getTreeItemByValue(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.getTreeItemByValue(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.selectNode(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.selectNode(Unknown Source)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.lambda$initialize$0(Unknown Source)
at [email protected]/org.jabref.gui.util.BindingsHelper.bindContentBidirectional(Unknown Source)
at [email protected]/org.jabref.gui.util.BindingsHelper.bindContentBidirectional(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.initialize(Unknown Source)
... 65 more

@Siedlerchr
Copy link
Member

@mlep The group error is probably related to another issue which was fixed recently

@mlep
Copy link
Contributor

mlep commented Nov 18, 2020

@Siedlerchr OK, thanks for the info. I will wait for the next build.

@ilippert
Copy link
Contributor

@ilippert With this version, and under Linux, JabRef opens but the "group" and the "web search" interfaces do not open. An exception is raised.
Do you have the same issue?

at
JabRef 5.2--2020-11-17--a335f0d
Linux 5.9.8-200.fc33.x86_64 amd64
Java 15.0.1
I cannot use the Google Search; but I can use the groups.

@mlep
Copy link
Contributor

mlep commented Nov 18, 2020

In JabRef 5.2--2020-11-18--6669a6e too, The group window does not open and an exception is raised.
@Siedlerchr: please, could you point me to the relevant issue?

@Siedlerchr
Copy link
Member

@mlep #6999 and #7096 was the fix. Guess it may have something to do with the group color stuff

@mlep
Copy link
Contributor

mlep commented Nov 19, 2020

@Siedlerchr Does it require a new issue to be created?

@Siedlerchr
Copy link
Member

@mlep Does it work again in the latest master?

@sambo57u
Copy link
Author

Yes, it is working on the current master jabref-5.2.272

@mlep
Copy link
Contributor

mlep commented Nov 21, 2020

@Siedlerchr I still have the issue with the group panel with the version
JabRef 5.2--2020-11-21--6f35c36
Linux 4.19.0-12-amd64 amd64
Java 15.0.1

Some details:
With the group panel initially closed,

Uncaught exception occurred in Thread[JavaFx Application Thread,5,main]
Cannot load org.jabref.gui.groups.grouptree
java.lang.IllegalStateException: Cannot load org.jabref.gui.groups.grouptree
at [email protected]/com.airhacks.afterburner.views.ViewLoader.load(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupSidePane.createContentPane(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneComponent.getContentPane(Unknown Source)
at [email protected]/org.jabref.gui.SidePane.setComponents(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneManager.updateView(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneManager.show(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneManager.toggle(Unknown Source)
at [email protected]/org.jabref.gui.SidePaneComponent$ToggleCommand.execute(Unknown Source)
at [email protected]/org.jabref.gui.actions.JabRefAction.lambda$new$3(Unknown Source)
at [email protected]/org.controlsfx.control.action.Action.handle(Unknown Source)
at [email protected]/org.controlsfx.control.action.Action.handle(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at [email protected]/javafx.event.Event.fireEvent(Unknown Source)
at [email protected]/javafx.scene.control.MenuItem.fire(Unknown Source)
at [email protected]/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(Unknown Source)
at [email protected]/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at [email protected]/javafx.event.Event.fireEvent(Unknown Source)
at [email protected]/javafx.scene.Scene$MouseHandler.process(Unknown Source)
at [email protected]/javafx.scene.Scene.processMouseEvent(Unknown Source)
at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
at [email protected]/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
at [email protected]/com.sun.glass.ui.View.notifyMouse(Unknown Source)
at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at [email protected]/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javafx.fxml.LoadException:
/org.jabref/org/jabref/gui/groups/GroupTree.fxml

at [email protected]/javafx.fxml.FXMLLoader.constructLoadException(Unknown Source)
at [email protected]/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at [email protected]/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at [email protected]/javafx.fxml.FXMLLoader.load(Unknown Source)
... 52 more

Caused by: java.lang.reflect.InvocationTargetException
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 com.sun.javafx.reflect.Trampoline.invoke(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at [email protected]/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source)
at [email protected]/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source)
... 55 more
Caused by: java.lang.NullPointerException: Cannot invoke "javafx.scene.control.TreeItem.getValue()" because "" is null
at [email protected]/org.jabref.gui.groups.GroupTreeView.getTreeItemByValue(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.getTreeItemByValue(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.selectNode(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.selectNode(Unknown Source)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.lambda$initialize$0(Unknown Source)
at [email protected]/org.jabref.gui.util.BindingsHelper.bindContentBidirectional(Unknown Source)
at [email protected]/org.jabref.gui.util.BindingsHelper.bindContentBidirectional(Unknown Source)
at [email protected]/org.jabref.gui.groups.GroupTreeView.initialize(Unknown Source)
... 65 more

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

No branches or pull requests

6 participants