[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 --- Comment #11 from Commit Notification --- Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-7-3-4": https://git.libreoffice.org/core/commit/a994ee5b1f1270eefbe1b3e9b7a5cf866ba924d9 tdf#145527 Revert "Related tdf#116767: Call URLClassLoader.close" It will be available in 7.3.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Commit Notification changed: What|Removed |Added Whiteboard|target:7.4.0 target:7.3.5 |target:7.4.0 target:7.3.5 ||target:7.3.4 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Julien Nabet changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #10 from Julien Nabet --- Let's put this one to VERIFIED then. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Alex R changed: What|Removed |Added Regression By|Stephan Bergmann| --- Comment #9 from Alex R --- I just tried todays daily build and the issue is gone, it works as expected. Nice! Thank you very much! -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 --- Comment #8 from Commit Notification --- Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/f167224bd9643824393039a57b3d4cd6654dbb4c tdf#145527 Revert "Related tdf#116767: Call URLClassLoader.close" It will be available in 7.3.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Commit Notification changed: What|Removed |Added Whiteboard|target:7.4.0|target:7.4.0 target:7.3.5 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Stephan Bergmann changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 --- Comment #7 from Commit Notification --- Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2a263cbdaf16c723a93af020ebc11b3e07210242 tdf#145527 Revert "Related tdf#116767: Call URLClassLoader.close" It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Commit Notification changed: What|Removed |Added Whiteboard||target:7.4.0 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Stephan Bergmann changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from Stephan Bergmann --- (In reply to Samuel Mehrbrodt (allotropia) from comment #5) > This was broken by > > commit 418533f0af7cd303d559c8fb136c49e7e9fb0d79 > Author: Stephan Bergmann > Date: Thu Aug 8 11:33:16 2019 +0200 > > Related tdf#116767: Call URLClassLoader.close > > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=418533f0af7cd303d559c8fb136c49e7e9fb0d79 Indeed, that commit apparently didn't take into account that script code loaded through that class loader might want to load further classes through it. Will revert. Thanks for bibisecting! -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Samuel Mehrbrodt (allotropia) changed: What|Removed |Added Keywords||bibisected, regression Hardware|x86-64 (AMD64) |All OS|Windows (All) |All Version|7.1.6.2 release |6.4.0.3 release -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Samuel Mehrbrodt (allotropia) changed: What|Removed |Added CC||samuel.mehrbrodt@allotropia ||.de, sberg...@redhat.com Status|UNCONFIRMED |NEW Regression By||Stephan Bergmann See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||6767 Ever confirmed|0 |1 Blocks|127594 |107659 --- Comment #5 from Samuel Mehrbrodt (allotropia) --- This was broken by commit 418533f0af7cd303d559c8fb136c49e7e9fb0d79 Author: Stephan Bergmann Date: Thu Aug 8 11:33:16 2019 +0200 Related tdf#116767: Call URLClassLoader.close https://cgit.freedesktop.org/libreoffice/core/commit/?id=418533f0af7cd303d559c8fb136c49e7e9fb0d79 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=107659 [Bug 107659] [META] Macro bugs and enhancements https://bugs.documentfoundation.org/show_bug.cgi?id=127594 [Bug 127594] [META] Javascript Macro bugs -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Alex R changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 --- Comment #4 from Alex R --- (In reply to Julien Nabet from comment #3) > Could you give a try to LO 7.2.5? > Also if you installed LO 64 bits, could you check you got Java 64 bits. > (and if you have LO 32 bits, you must check you got Java 32 bits). > > Also, you can rename your LO profile (see > https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile). Thanks, I just tried with LO 7.2.5.2 (x64) Seems to behave the same for me, I still get An exception occurred while running the Java script org.libreoffice.example.java_scripts.HelloWorld.printHW. Type: java.lang.NoClassDefFoundError Message: java.lang.NoClassDefFoundError: org/libreoffice/example/java_scripts/LoadMe I also tried resetting the user profile, and I am fairly sure to have the right 64bit Java configured in Options -> Advanced. As mentioned, I can set breakpoints in the Macro and debug until the LoadMe class is called and loading fails. The first part of the Macro which writes Hello World also gets executed, so Java is working fine. When I exchange just ScriptProviderForJava.jar from LO 7.x with the version that was delivered with LO 5.x, everything works as expected also in LO 7. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 QA Administrators changed: What|Removed |Added Whiteboard| QA:needsComment| -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Julien Nabet changed: What|Removed |Added Ever confirmed|0 |1 CC||serval2...@yahoo.fr Status|UNCONFIRMED |NEEDINFO --- Comment #3 from Julien Nabet --- Could you give a try to LO 7.2.5? Also if you installed LO 64 bits, could you check you got Java 64 bits. (and if you have LO 32 bits, you must check you got Java 32 bits). Also, you can rename your LO profile (see https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile). -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 Dieter changed: What|Removed |Added CC||dgp-m...@gmx.de Component|Writer |LibreOffice Blocks||127594 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=127594 [Bug 127594] [META] Javascript Macro bugs -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 QA Administrators changed: What|Removed |Added Whiteboard|| QA:needsComment -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 --- Comment #2 from Alex R --- *** Bug 145526 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 145527] NoClassDefFound Error in Java Macro when trying to load another class
https://bugs.documentfoundation.org/show_bug.cgi?id=145527 --- Comment #1 from Alex R --- Java is Bellsoft 1.8_282, I also tried Azul (also 1.8) -- You are receiving this mail because: You are the assignee for the bug.