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 opening window after fresh installation on macOS High Sierra #3298

Closed
fahu opened this issue Oct 13, 2017 · 21 comments
Closed

Jabref not opening window after fresh installation on macOS High Sierra #3298

fahu opened this issue Oct 13, 2017 · 21 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs os: macOS

Comments

@fahu
Copy link

fahu commented Oct 13, 2017

Hi there,

I installed High Sierra (clean install) on my mac. Afterwards I installed the latest stable version of JabRef. After the installation I opened JabRef. The icon of JabRef is available in the dock but no window of JabRef appears. It's not possible to use the mac menu bar because when clicking on it nothing happens.

My environment

  • macOS High Sierra (10.13 (17A405))
  • JabRef v 4.0
@lenhard
Copy link
Member

lenhard commented Oct 13, 2017

Hi @fahu

Could you have a look at #3236? Does the host mapping solution described there solve your problem or maybe your Java / JavaFX runtimes are not up to date?

@lenhard lenhard added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Oct 13, 2017
@fahu
Copy link
Author

fahu commented Oct 15, 2017

Hello @lenhard

Sadly both options didn't work for me.

Maybe you can understand my problem better with this gif.

2017-10-15_19-58-58

@wbmacleod
Copy link

I had this problem with JDK 9 - I downgraded to JDK 8 and used the command "java -jar Jabref.jar". Seems to work much better.

@lenhard
Copy link
Member

lenhard commented Oct 16, 2017

Ok, thanks. We'll have to see what we can do. As for myself, I have no mac which makes it sort of impossible to track down the problem.

Regarding the JDK version: JabRef does not (yet) run on Java 9. The most recent Java 8 JRE should be fine.

@wbmacleod
Copy link

wbmacleod commented Oct 16, 2017 via email

@wbmacleod
Copy link

wbmacleod commented Oct 16, 2017 via email

@tobiasdiez
Copy link
Member

@wbmacleod what exactly is the setting in which you get the above error? Is it also on Mac OS? Do you get this error but JabRef starts correctly? We need a bit more context in order to help you.

The error message you posted just says that JabRef was not able to connect to github in order to determine if a newer version is released. That could have many reasons, like inet connection problems, firewall blocking or the Java bug on OS Sierra. But anyway, even if the update check fails JabRef should work nonetheless.

@halirutan
Copy link
Collaborator

@tobiasdiez He gets it in situations where he has no internet like on a plane. I debugged through the code and as far as I can see, the above message should not be a problem. First, it's done in the background so it should not interfere with the startup. Secondly (and startled me a bit until I looked closer), the stacktrace is only a log message. The actual exception is correctly handled.

I tested it with internet turned off (and increase the connection timeout for what it's worth). JabRef started instantaneously and I got the same message. The only thing I can think of is if there are other tasks that access online resources in the background and that are not handled correctly.

@wbmacleod
Copy link

wbmacleod commented Oct 17, 2017 via email

@Siedlerchr
Copy link
Member

Siedlerchr commented Oct 17, 2017 via email

@tobiasdiez tobiasdiez added the bug Confirmed bugs or reports that are very likely to be bugs label Oct 29, 2017
@vfkomarov
Copy link

vfkomarov commented Nov 6, 2017

I have a similar problem on Windows 10 Creators Update (ver. 1703 build 15063.674). Reinstallation, clean installation - the result is the same. The process is displayed in the task manager, but there is no application on the taskbar, and accordingly there is no window.

So, perhaps this is a platform-independent problem.

Version 3.x.x and beta 4.0.0 start fine, I was sure of this by repeatedly reinstalling the application.

At the same time on another laptop with Windows 10 Fall Creators Update and other hardware, the application starts normally.

What I can say for sure, the first laptop is connected to the corporate network via BYOD and some rules of security policy are applied on it. The second laptop has easy access to the network by wifi. It is difficult to say on the other fundamental differences.

NB: JabRef x64

2017-11-06_15-08-21

@Siedlerchr
Copy link
Member

Could you try to start it from commandline?
java -jar JabRef.jar
Maybe it could be a dialog hidden in the background?

@vfkomarov
Copy link

2017-11-06_16-23-39

@tobiasdiez
Copy link
Member

@vfkomarov It looks like you are using Java 9. JabRef is not yet ready for this version #2594 and still needs Java 8.

@vfkomarov
Copy link

vfkomarov commented Nov 6, 2017

@tobiasdiez Thanks for the hint, I did not keep track version of Java since the operating system was updated, perhaps, for some reason I installed the 9th since have other applications on Java. Until recently I used the previous version of JabRef.

@DavidLP
Copy link

DavidLP commented Nov 6, 2017

The Java version does not seem to be the issue. I use Java 8 with Windows 7 and have the same issue.

@halirutan
Copy link
Collaborator

@DavidLP Can you please test as well from command-line and post if there is any exception when you run

java -jar JabRef.jar

@vfkomarov
Copy link

In my case the uninstallation of Java 9 really solved the problem (I remembered that relatively recently actually has installed Java 9 SE SDK with runtime). At the same time, Java 8 update 144 runtime was left in the system. Now JabRef starts normal.

@DavidLP
Copy link

DavidLP commented Nov 8, 2017

@halirutan: Sure

java -version:

java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

java -jar JabRef-4.0.jar:

11:06:50.891 [AWT-EventQueue-0] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[AWT-EventQueue-0,6,main]
java.lang.IllegalAccessError: tried to access method com.sun.javafx.css.parser.CSSParser.<init>()V from class de.jensd.fx.glyphs.GlyphIcon
        at de.jensd.fx.glyphs.GlyphIcon.<clinit>(GlyphIcon.java:48) ~[JabRef-4.0.jar:?]
        at org.jabref.gui.IconTheme$JabRefIcon.getGraphicNode(IconTheme.java:308) ~[JabRef-4.0.jar:?]
        at org.jabref.gui.search.SearchTextField.create(SearchTextField.java:16) ~[JabRef-4.0.jar:?]
        at org.jabref.gui.search.GlobalSearchBar.<init>(GlobalSearchBar.java:70) ~[JabRef-4.0.jar:?]
        at org.jabref.gui.JabRefFrame.<init>(JabRefFrame.java:168) ~[JabRef-4.0.jar:?]
        at org.jabref.JabRefGUI.openWindow(JabRefGUI.java:100) ~[JabRef-4.0.jar:?]
        at org.jabref.JabRefGUI.<init>(JabRefGUI.java:63) ~[JabRef-4.0.jar:?]
        at org.jabref.JabRefMain.lambda$start$1(JabRefMain.java:146) ~[JabRef-4.0.jar:?]
        at org.jabref.JabRefMain$$Lambda$82/2117354762.run(Unknown Source) ~[?:?]
        at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[?:1.8.0_31]
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_31]
        at java.awt.EventQueue.access$500(Unknown Source) ~[?:1.8.0_31]
        at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_31]
        at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_31]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_31]
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_31]
        at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_31]
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_31]
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_31]
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_31]
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_31]
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_31]
        at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_31]

@Siedlerchr
Copy link
Member

@DavidLP Your java version is outdated. Please update to the latest java 8 version. (should be 8u151)
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

@DavidLP
Copy link

DavidLP commented Nov 8, 2017

@Siedlerchr THX. Using newest Java8 makes JabRef work.

@LinusDietz LinusDietz removed the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs os: macOS
Projects
None yet
Development

No branches or pull requests

10 participants