JDownloader Community - Appwork GmbH
 

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 30.11.2020, 13:03
melasso melasso is offline
Baby Loader
 
Join Date: Nov 2020
Posts: 6
Default Jdownloader2 doesn't start - illegal reflective access

The issue started after openjdk update today.

Fedora Linux 33 x64 (Linux Dragon.lan 5.9.10-200.fc33.x86_64)

Code:
java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment 18.9 (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+1, mixed mode, sharing)
Code:
java -jar JDownloader.jar -console
JarHandlerWorkaroundOracle:setURLStreamHandlerFactory
java.lang.NoClassDefFoundError: sun/misc/Launcher
	at org.appwork.utils.JarHandlerWorkaroundOracle.init(JarHandlerWorkaroundOracle.java:72)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.appwork.utils.JarHandlerWorkaround.init(JarHandlerWorkaround.java:56)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:9)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:63)
Caused by: java.lang.ClassNotFoundException: sun.misc.Launcher
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at org.jdownloader.update.launcher.JDLauncher$JDLauncherClassLoader.loadClass(JDLauncher.java:27)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 12 more
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.appwork.shutdown.ShutdownController (file:/home/bonk/JDownloader2/JDownloader.jar) to field java.lang.ApplicationShutdownHooks.hooks
WARNING: Please consider reporting this to the maintainers of org.appwork.shutdown.ShutdownController
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
java.lang.NoClassDefFoundError: Could not initialize class org.appwork.utils.os.CrossSystem
	at org.appwork.utils.logging.LogFormatter.<init>(LogFormatter.java:57)
	at org.appwork.utils.logging2.LogConsoleHandler$1.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogConsoleHandler.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:137)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<init>(LoggerFactory.java:149)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.initialize(LoggerFactory.java:101)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<clinit>(LoggerFactory.java:57)
	at org.appwork.utils.logging2.LogSourceRedirector.getDefaultLogger(LogSourceRedirector.java:64)
	at org.appwork.loggingv3.LogV3.info(LogV3.java:101)
	at org.appwork.utils.Application.setApplication(Application.java:864)
	at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:98)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:63)
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:63)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.appwork.utils.os.CrossSystem
	at org.appwork.utils.logging.LogFormatter.<init>(LogFormatter.java:57)
	at org.appwork.utils.logging2.LogConsoleHandler$1.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogConsoleHandler.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:137)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<init>(LoggerFactory.java:149)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.initialize(LoggerFactory.java:129)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<clinit>(LoggerFactory.java:57)
	at org.appwork.utils.logging2.LogSourceRedirector.getDefaultLogger(LogSourceRedirector.java:64)
	at org.appwork.loggingv3.LogV3.info(LogV3.java:101)
	at org.appwork.utils.Application.setApplication(Application.java:864)
	at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:98)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10)
	... 5 more
java.lang.Error: factory already defined
	at java.base/java.net.URL.setURLStreamHandlerFactory(URL.java:1207)
	at org.appwork.utils.JarHandlerWorkaroundOracle.init(JarHandlerWorkaroundOracle.java:56)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.appwork.utils.JarHandlerWorkaround.init(JarHandlerWorkaround.java:56)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:9)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:79)
java.lang.NoClassDefFoundError: Could not initialize class org.appwork.utils.os.CrossSystem
	at org.appwork.utils.logging.LogFormatter.<init>(LogFormatter.java:57)
	at org.appwork.utils.logging2.LogConsoleHandler$1.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogConsoleHandler.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:137)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<init>(LoggerFactory.java:149)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.initialize(LoggerFactory.java:101)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<clinit>(LoggerFactory.java:57)
	at org.appwork.utils.logging2.LogSourceRedirector.getDefaultLogger(LogSourceRedirector.java:64)
	at org.appwork.loggingv3.LogV3.info(LogV3.java:101)
	at org.appwork.utils.Application.setApplication(Application.java:864)
	at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:98)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:79)
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:79)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.appwork.utils.os.CrossSystem
	at org.appwork.utils.logging.LogFormatter.<init>(LogFormatter.java:57)
	at org.appwork.utils.logging2.LogConsoleHandler$1.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogConsoleHandler.<init>(LogConsoleHandler.java:54)
	at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:137)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<init>(LoggerFactory.java:149)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.initialize(LoggerFactory.java:129)
	at org.appwork.utils.logging2.extmanager.LoggerFactory.<clinit>(LoggerFactory.java:57)
	at org.appwork.utils.logging2.LogSourceRedirector.getDefaultLogger(LogSourceRedirector.java:64)
	at org.appwork.loggingv3.LogV3.info(LogV3.java:101)
	at org.appwork.utils.Application.setApplication(Application.java:864)
	at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:98)
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10)
	... 5 more

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
[1/3|Priority: 10000]ShutdownController: start item->flushing logs to disk
[1/3|Priority: 10000]ShutdownController: item ended after->5
[Done:1/3]
[2/3|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[ShutdownController,5,main] - org.appwork.shutdown.ShutdownController Priority: -2147483648
[1/3|Priority: 10000]ShutdownController: start item->flushing logs to disk
[1/3|Priority: 10000]ShutdownController: item ended after->4
[Done:1/3]
[2/3|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[Logging-Cleaner,5,main] - java.util.logging.LogManager$Cleaner Priority: -2147483648
[2/3|Priority: -2147483648]ShutdownController: item ended after->1
[Done:2/3]
[3/3|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[Logging-Cleaner,5,main] - java.util.logging.LogManager$Cleaner Priority: -2147483648
[3/3|Priority: -2147483648]ShutdownController: item ended after->1
[Done:3/3]
Shutdown Hooks Finished
[2/3|Priority: -2147483648]ShutdownController: item ended after->6
[Done:2/3]
[3/3|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[Logging-Cleaner,5,main] - java.util.logging.LogManager$Cleaner Priority: -2147483648
[3/3|Priority: -2147483648]ShutdownController: item ended after->1
[Done:3/3]
Shutdown Hooks Finished
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 03:15.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.