Thread: [Solved] Unexpected error in Ubuntu
View Single Post
  #1  
Old 09.03.2017, 10:33
G0M G0M is offline
Baby Loader
 
Join Date: Jun 2015
Posts: 5
Default Unexpected error in Ubuntu

Hi Guys,

Just made a fresh install of a Jdownloader 2 on my Ubuntu Server (16.04) and it won't launch because of those errors:
Code:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:82)
	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 com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
	at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
Caused by: 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 org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:78)
	... 6 more
Caused by: org.appwork.storage.StorageException: Can not write to /opt/jd2/cfg/org.jdownloader.update.lastchance.LastChanceConfig.json.tmp
	at org.appwork.storage.JSonStorage.saveTo(JSonStorage.java:515)
	at org.appwork.storage.JsonKeyValueStorage$1.run(JsonKeyValueStorage.java:540)
	at org.appwork.storage.config.handler.StorageHandler.enqueueWrite(StorageHandler.java:227)
	at org.appwork.storage.JsonKeyValueStorage.save(JsonKeyValueStorage.java:544)
	at org.appwork.storage.config.handler.StorageHandler.write(StorageHandler.java:1081)
	at org.jdownloader.update.lastchance.LastChanceManager.run(LastChanceManager.java:132)
	at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:240)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10)
	... 11 more
Caused by: java.io.IOException: Permission non accordée
	at java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.io.File.createNewFile(File.java:1012)
	at org.appwork.utils.IO.writeToFile(IO.java:711)
	at org.appwork.utils.IO.writeToFile(IO.java:699)
	at org.appwork.storage.JSonStorage.saveTo(JSonStorage.java:501)
	... 18 more
Any help please :D
Reply With Quote