This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 201507160001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: Linux User Comments: alied: Run tests of a Gradle Java project. While ths is relateed to Gradle (a third party module); I'm reporting this way because There seems to be a classloader-related issue. The missing class is in the project's dependencies and is used in the plugin code. Stacktrace: java.lang.ClassNotFoundException: org.netbeans.modules.gsf.testrunner.ui.api.TestRunnerNodeFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Created attachment 154688 [details] stacktrace
There was some major refactoring that lead to splitting gsf.testrunner module and creating a new one, namely gsf.testrunner.ui. I am guessing that grandle module has not updated the dependencies? Please evaluate
(In reply to Theofanis Oikonomou from comment #2) > There was some major refactoring that lead to splitting gsf.testrunner > module and creating a new one, namely gsf.testrunner.ui. I am guessing that > grandle module has not updated the dependencies? Please evaluate There is a "NetBeans_nightly" branch which works with the current nightly. I wanted to build a release (for the nightly) yesterday but the NetBeans repository seems to be inaccessible.
The plugin works fine as long as I've tested it (and I'm using it for actual daily work) The only issue I've found so far with the "NetBeans_nightly" branch is this. This happens when I run the tests and tries to show the test results. So, the plugin can't fins the classes. Maybe some threading issue messing with the plugin classloader?
(In reply to alied from comment #4) > The plugin works fine as long as I've tested it (and I'm using it for actual > daily work) The only issue I've found so far with the "NetBeans_nightly" > branch is this. This happens when I run the tests and tries to show the test > results. So, the plugin can't fins the classes. Maybe some threading issue > messing with the plugin classloader? I don't think there is a threading issue but probably there might still be some missing dependencies. However, the NetBeans repo is still down, so I can't really test things reliably.
This is fixed in both the NetBeans_nightly and the NetBeans81 branch.