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

Crash when leveling up #279

Closed
giubil opened this issue Aug 2, 2016 · 2 comments
Closed

Crash when leveling up #279

giubil opened this issue Aug 2, 2016 · 2 comments
Labels

Comments

@giubil
Copy link

giubil commented Aug 2, 2016

Hello,

I am running pokemate with openjdk jre 8 headless, and even with show=false, whenever I pass a level, the program crash telling me that I don't have javafx installed:

Exception in thread "Timer-0" java.lang.NoClassDefFoundError: javafx/application/Application
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at dekk.pw.pokemate.tasks.ConsoleGUIUpdate.header(ConsoleGUIUpdate.java:69)
    at dekk.pw.pokemate.tasks.ConsoleGUIUpdate.run(ConsoleGUIUpdate.java:39)
    at dekk.pw.pokemate.tasks.TaskController$1.run(TaskController.java:57)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 17 more
kylestev added a commit that referenced this issue Aug 2, 2016
Should help users running on headless Java runtimes.

refs #279
@kylestev kylestev added the bug label Aug 2, 2016
@kylestev
Copy link
Collaborator

kylestev commented Aug 2, 2016

@giubil give 0.3.2.4 a try and let me know if your issue is resolved.

@giubil
Copy link
Author

giubil commented Aug 2, 2016

@kylestev seems fixed to me, thanks :)

@giubil giubil closed this as completed Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants