Skip to content

Instantly share code, notes, and snippets.

@kenetik
Last active October 12, 2015 15:36
Show Gist options
  • Save kenetik/6ed20c25a84d80943aef to your computer and use it in GitHub Desktop.
Save kenetik/6ed20c25a84d80943aef to your computer and use it in GitHub Desktop.
Aurous Error(s)

UPDATE - Scroll To Bottom

Running Arch Linux 64bit

[dlevey@antybeast] {aurous}$ uname -a
Linux khsupport 4.2.2-1-ARCH #1 SMP PREEMPT Tue Sep 29 22:21:33 CEST 2015 x86_64 GNU/Linux

Java8 installed

[dlevey@antybeast] {aurous}$ archlinux-java status
Available Java environments:
  java-7-openjdk (default)
  java-8-openjdk/jre

Using a "launch" script due to non-default JRE

[dlevey@antybeast] {aurous}$ cat launch.sh 
#!/bin/sh 
export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
exec java -jar Aurous.jar &

Running the launcher

[dlevey@antybeast] {aurous}$ ./launch.sh 
[dlevey@antybeast] {aurous}$ Update finished
Check finished
Launching aurous...

It just hangs here, nothing else.

dlevey   15288 10.9  1.3 5017360 105064 pts/3  Sl   10:25   0:01 java -jar Aurous.jar
[dlevey@antybeast] {aurous}$ sudo strace -p 15288
Process 15288 attached
futex(0x7fe8245b99d0, FUTEX_WAIT, 15291, NULL

Ran as sudo, got more detailed error.

[dlevey@antybeast] {aurous}$ sudo ./launch.sh 
[dlevey@antybeast] {aurous}$ Update finished
Check finished
Launching aurous...
Exception in Application start method
Oct 12, 2015 10:32:57 AM me.aurous.launchwrapper.Updater main
SEVERE: null
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at me.aurous.launchwrapper.AurousLoader.launchAurous(AurousLoader.java:39)
	at me.aurous.launchwrapper.Updater.main(Updater.java:32)
Caused by: java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$152(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: Failed to start IPC process.
    at com.teamdev.jxbrowser.chromium.internal.ipc.d.run(Unknown Source)
... 1 more
Caused by: java.lang.RuntimeException: java.io.IOException: Cannot run program "/home/dlevey/Downloads/aurous/linux/jxbrowser-chromium" (in directory "/home/dlevey/Downloads/aurous/linux"): error=13, Permission denied
at com.teamdev.jxbrowser.chromium.internal.ipc.ChromiumProcess.start(Unknown Source)
... 2 more
Caused by: java.io.IOException: Cannot run program "/home/dlevey/Downloads/aurous/linux/jxbrowser-chromium" (in directory "/home/dlevey/Downloads/aurous/linux"): error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
... 3 more
Caused by: java.io.IOException: error=13, Permission denied
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 3 more
    
Exception in thread "Thread-4" java.lang.NullPointerException
    at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.c(Unknown Source)
	at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.b(Unknown Source)
	at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.a(Unknown Source)
	at com.teamdev.jxbrowser.chromium.internal.ipc.b.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment