#1
|
|||
|
|||
New update - java error!
Edit by Jiaz:
Please see here for the solution https://board.jdownloader.org/showpo...1&postcount=24 With new update I've got java error and JD doesn't work! Why? Thanks Last edited by Jiaz; 23.12.2021 at 18:25. |
#2
|
|||
|
|||
Same Problem here. Update does not work.
|
#3
|
|||
|
|||
Code:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.jdownloader.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:152) at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:8) 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:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25) 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:498) at org.jdownloader.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:148) ... 8 more Caused by: java.lang.ExceptionInInitializerError at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:118) at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10) ... 13 more Caused by: java.lang.IllegalStateException: You cannot init the configinterface interface org.appwork.utils.logging2.LogConfig twice at org.appwork.storage.config.handler.StorageHandler.addStorageHandler(StorageHandler.java:453) at org.appwork.storage.config.handler.StorageHandler.<init>(StorageHandler.java:346) at org.appwork.storage.config.JsonConfig.create(JsonConfig.java:121) at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:139) at org.jdownloader.logging.LogController.<init>(LogController.java:53) at org.jdownloader.logging.LogController.<clinit>(LogController.java:26) ... 15 more |
#4
|
|||
|
|||
Confirmed, same for me.
Tried everything up to complete un- and re-install; to no avail. Error on startup: Quote:
|
#5
|
|||
|
|||
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.jdownloader.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:152) at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:8) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jdownloader.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:148) ... 8 more Caused by: java.lang.ExceptionInInitializerError at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:118) at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10) ... 13 more Caused by: java.lang.IllegalStateException: You cannot init the configinterface interface org.appwork.utils.logging2.LogConfig twice at org.appwork.storage.config.handler.StorageHandler.addStorageHandler(StorageHandler.java:453) at org.appwork.storage.config.handler.StorageHandler.<init>(StorageHandler.java:346) at org.appwork.storage.config.JsonConfig.create(JsonConfig.java:121) at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:139) at org.jdownloader.logging.LogController.<init>(LogController.java:53) at org.jdownloader.logging.LogController.<clinit>(LogController.java:26) ... 15 more |
#6
|
||||
|
||||
I'm working on it but yet failed to reproduce the issue
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
What OS are you using?
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
W10 or W7 both the same error....
|
#9
|
|||
|
|||
I am using Windows11 x64 with the same error.
|
#10
|
|||
|
|||
Windows 11 x64
|
#11
|
|||
|
|||
|
#12
|
|||
|
|||
I am personally getting this error when I try and update on Windows 10
org.jdownloader.update.SelfUpdateException: Selftest has been terminated unexpectedly at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:353) at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(UpdateManager.java:951) at org.jdownloader.update.DefaultCallbackHandler.onResults(DefaultCallbackHandler.java:309) at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1036) at org.jdownloader.update.UpdateManager$8.run(UpdateManager.java:411) at java.lang.Thread.run(Unknown Source) |
#13
|
|||
|
|||
Same error to me, when i try to update (Windows 11 x64):
org.jdownloader.update.SelfUpdateException: Selftest has been terminated unexpectedly at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:353) at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(UpdateManager.java:951) at org.jdownloader.update.DefaultCallbackHandler.onResults(DefaultCallbackHandler.java:309) at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1036) at org.jdownloader.update.UpdateManager$8.run(UpdateManager.java:411) at java.lang.Thread.run(Unknown Source) |
#14
|
|||
|
|||
Thank you for your job
|
#15
|
|||
|
|||
Here also :-(
Code:
org.jdownloader.update.SelfUpdateException: Selftest has been terminated unexpectedly at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:353) at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(UpdateManager.java:950) at org.jdownloader.update.UpdateManager$12.run(UpdateManager.java:865) at org.jdownloader.update.UpdateManager.installPendingUpdates(UpdateManager.java:885) at org.jdownloader.updatev2.UpdateController.installUpdates(UpdateController.java:536) at org.jdownloader.updatev2.UpdateController.onResults(UpdateController.java:408) at org.jdownloader.update.UpdateManager$21.onResults(UpdateManager.java:1487) at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1033) at org.jdownloader.update.PendingUpdate.run(PendingUpdate.java:19) at org.jdownloader.update.UpdateManager$23.run(UpdateManager.java:1666) at java.base/java.lang.Thread.run(Thread.java:833) Code:
org.jdownloader.update.launcher.JDLauncherFailedException: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(SecondLevelLauncher.java:679) at org.jdownloader.update.launcher.SecondLevelLauncher.init(SecondLevelLauncher.java:457) at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:224) 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:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.jdownloader.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:132) at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:8) Caused by: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main at org.jdownloader.launcher.StandaloneLauncher.launchJDownloader(StandaloneLauncher.java:131) at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(SecondLevelLauncher.java:633) ... 9 more Caused by: java.lang.ClassNotFoundException: org.jdownloader.startup.Main at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587) at org.jdownloader.updatev2.JDClassLoaderLauncher$JDCustomRootClassLoader.loadClass(JDClassLoaderLauncher.java:54) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ... 11 more Code:
java version "17.0.1" 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing) Code:
Microsoft Windows 11 Enterprise (21H2) Build:22000.348 |
#16
|
|||
|
|||
Same for me :(
Win 10 x64 Worked fine until new update came along. First tried deleting the folders logs, tmp and update and the file Core.jar but no success. Downloaded new updated installer, reinstalled, still getting error. Then uninstalled and reinstalled, still getting error. Code:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.jdownloader.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:152) at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:8) 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 com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25) Caused by: 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.updatev2.JDClassLoaderLauncher.main(JDClassLoaderLauncher.java:148) ... 8 more Caused by: java.lang.ExceptionInInitializerError at org.jdownloader.update.launcher.SecondLevelLauncher.<clinit>(SecondLevelLauncher.java:118) at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10) ... 13 more Caused by: java.lang.IllegalStateException: You cannot init the configinterface interface org.appwork.utils.logging2.LogConfig twice at org.appwork.storage.config.handler.StorageHandler.addStorageHandler(StorageHandler.java:453) at org.appwork.storage.config.handler.StorageHandler.<init>(StorageHandler.java:346) at org.appwork.storage.config.JsonConfig.create(JsonConfig.java:121) at org.appwork.utils.logging2.LogSourceProvider.<init>(LogSourceProvider.java:139) at org.jdownloader.logging.LogController.<init>(LogController.java:53) at org.jdownloader.logging.LogController.<clinit>(LogController.java:26) ... 15 more |
#17
|
|||
|
|||
I feel lost without JD!!!
|
#18
|
||||
|
||||
update is on the way
__________________
JD-Dev & Server-Admin |
#19
|
||||
|
||||
Update is live! In case your JDownloader installatin cannot fix itself, please see https://support.jdownloader.org/Know...r-installation
__________________
JD-Dev & Server-Admin |
#20
|
|||
|
|||
Ok looks like my JDownloader fixed itself and I am now on the latest update
|
#21
|
|||
|
|||
Thank you! I'll wait for new update. Will we need to download it manually or will the internal updater be able to grab it and install the fix? Hopefully I didn't mess anything up doing uninstall and reinstall as I have a custom theme and lots of scripts. Luckily I did take a backup before doing so (copied entire JD folder). |
#22
|
|||
|
|||
Update now works. Thank you.
|
#23
|
||||
|
||||
Quote:
__________________
JD-Dev & Server-Admin |
#24
|
||||
|
||||
Hi,
The update with bugfix is live. In case your JDownloader cannot fix itself, please see https://support.jdownloader.org/Know...r-installation Important! 1.) You also need to replace the delete/replace JDownloader.jar , see step 4! Please download JDownloader.jar from mega.nz/file/bFdkyJhK#hogzJrXXII4AjA7vBeHcT4XSLqajaB7x6AJXJ_ie0wQ and place it in the folder. 2.) Then delete the Core.jar file and the tmp and update folder like explained in the article! I'm very sorry for the inconvenience! best regards jiaz
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 23.12.2021 at 20:18. |
#25
|
|||
|
|||
Mine is working again as well (yay!) but it did not fix itself and even the suggested removal of some folders did not work!
I had to uninstall and reinstall and now it's working again. Anyway, I'm glad you guys sorted it so fast so THANK YOU I did mess up my theme but that's my own fault lol. I'll fix it again. Happy holidays to all EDIT: Shoot, not only did I mess up my theme, my scripts are gone as well! I deleted the entire JD folder and replaced it with my backup. Upon launching it updated itself correctly and now I've got a working version again including all my scripts and theme. Nice! Ah, the importance of backups! Last edited by Vjeetn; 23.12.2021 at 18:24. |
#26
|
|||
|
|||
@jiaz
Many thanks for the fix. You are the best as always |
#27
|
|||
|
|||
All is ok, now, thanks!
|
#28
|
|||
|
|||
Just plain uninstalling and reinstalling the app with a freshly downloaded installer keeps the "file not found" problem and replacing the JAR file with the one from the Mega link leads to JD2 starting up to the "building menus/plugincache" stage and then popping up the following error:
Code:
java.lang.ClassCastException: java.lang.NoSuchMethodError cannot be cast to java.lang.Exception at org.appwork.utils.NonInterruptibleThread.execute(NonInterruptibleThread.java:146) at org.appwork.utils.NonInterruptibleRunnable.startAndWait(NonInterruptibleRunnable.java:41) at org.jdownloader.plugins.controller.host.HostPluginController.init(HostPluginController.java:244) at org.jdownloader.plugins.controller.host.HostPluginController.ensureLoaded(HostPluginController.java:489) at jd.SecondLevelLaunch$9$1.run(SecondLevelLaunch.java:735) Last edited by Iskelderon; 23.12.2021 at 19:45. |
#29
|
|||
|
|||
Quote:
Got another Error although JD seemed to open but stuck on rebuilding cache. This never seems to finish for some reason. The error was: java.lang.ClassCastException: java.lang.NoSuchMethodError cannot be cast to java.lang.Exception at org.appwork.utils.NonInterruptibleThread.execute(NonInterruptibleThread.java:146) at org.appwork.utils.NonInterruptibleRunnable.startAndWait(NonInterruptibleRunnable.java:41) at org.jdownloader.plugins.controller.host.HostPluginController.init(HostPluginController.java:244) at org.jdownloader.plugins.controller.host.HostPluginController.ensureLoaded(HostPluginController.java: 489) at jd.SecondLevelLaunch$9$1.run(SecondLevelLaunch.java:735) I can at least open Preferences but it is not completely finished either per the screen shots, and I was forced to close JD. So something with the replacement JDownloader.jar was breaking my JD it seemed. Fortunately I had zipped up the previous JDownloader.jar, I trashed the replacement JDownloader.jar, and extracted the previous zipped JDownloader.jar to the JDownloader 2.0 directory and restarted and my JD was back as before.
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse) OS X 10.13.6 MBP Intel 17" (Secondary) OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed) |
#30
|
||||
|
||||
@Iskelderon: replace JDownloader.jar with the one from the link and delete Core.jar file and tmp and update folder!
__________________
JD-Dev & Server-Admin |
#31
|
||||
|
||||
@Statter: did you remove Core.jar file AND tmp and update folder like explained in the article?
__________________
JD-Dev & Server-Admin |
#32
|
|||
|
|||
Sorry at first I didn't follow all the steps as I could not find where or how to do step 2. [Optional] Backup your settings/downloadlist
Where exactly or how is this done out of curiosity? I then went back made zipped up my whole current JD 2.0 folder then went in and folloed all the steps provided and did Step 3. Delete the following files/folders in your JD installation directory: Files: Core.jar Folders: tmp, update I also deleted the previous JDownloader.jar also and re-downloaded the JDownloader.jar (MULTIOS JAR without Installer) and put it into the JD 2.0 folder. I then restarted JD and it appeared to work it downloaded the updates needed it appeared and JD restarted and my settings and downloads showed up properly also. IT appears for now at least JD is updated properly now to take some time to see what new links and dl's if any I will have problems with. I hope none of course and again Sorry I didn't follow all the steps previously but at least for now things seem to be updated properly. Try not to spend too much more time away from your family and the upcoming holidays of course. Thanks again for all you and other programmers do for us all. Happy Holidays
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse) OS X 10.13.6 MBP Intel 17" (Secondary) OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed) |
#33
|
|||
|
|||
Confirmed: Fix handles it.
|
#34
|
|||
|
|||
Why I can't see Statter's screenshots?
It says me vBulletin Message angiotell, you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. |
#35
|
||||
|
||||
@angiotell which post are you referring to? keep in mind that only forum support can see any attachments due to privacy reasons.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#36
|
|||
|
|||
this one
|
#37
|
||||
|
||||
Sorry I assumed screenshots where uploaded and presented within bbcode and I saw none. I didn't look for attachment with filenames of screenshot*. So you can not view attachments uploaded to the forum or images/urls for the reasons I gave above.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#38
|
|||
|
|||
I'm using jaymoulin/jdownloader docker image on a raspberry pi2.
I followed the guide, stop jdwonloader, remove Core.jar, tmp, update. Replaced JDownloader.jar but no luck...a lot of update log lines and after again the same error. |
#39
|
|||
|
|||
Quote:
You should replace the JDownloader.jar with the JDownloader.jar (MULTIOS JAR without Installer) after you are able to follow the steps properly, remove Core.jar, tmp, update, and yes I did also delete the previous JDownloader.jar when I replaced it to make sure there were no issues after I backed up the JD 2.0 Folder first of course. See my previous post maybe on my error and fix posted earlier on 23.12.2021 Good luck
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse) OS X 10.13.6 MBP Intel 17" (Secondary) OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed) Last edited by Statter; 28.12.2021 at 08:39. |
#40
|
||||
|
||||
@mcgyver83: the way to fix the installation is the same on every JDownloader installation. so you must have done something wrong or forget something with your docker setup. How did you stop JDownloader and then join the container and do the changes to filesystem?
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|