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 201402120001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b128 OS: Windows 7 User Comments: MackSix: 1. Running Nimbus L&F. 2. Switched back to Windows L&F. 3. Restarted NetBeans. 4. Already had a Java project open looking for Junit and got the Project Problem dialog to Resolve Problems. This Exception happened. This is possibly an issue with "feature on demand" automatic deactivation of PHP improperly. I see those sorts of problems occationally. Stacktrace: java.lang.ClassNotFoundException: org.netbeans.modules.php.smarty.editor.gsf.TplLanguage at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Created attachment 145068 [details] stacktrace
The PHP module was deactivated on this restart. So it must be "feature on demand" deactivation that caused it. The PHP button is missing from the Options dialog box too. That should not happen. I have seen buttons missing in options after failed deactivation of modules before. See screenshot.
It looks like C/C++ deactivated at the same time and it's button is missing in options too. This should not happen.
Created attachment 145069 [details] Screenshot
Check out all the weird stuff going on in the log file.
Created attachment 145070 [details] Log File
The report is from dev. build, I expect some problem in versioning. PHP guys please evaluate.
Created attachment 145071 [details] Other Log Files and Screenshots Here is a zip file with log files and corresponding screenshots of 3 failed deactivation when I was testing one day. (See A, B, C in the file names to match them up.) I forgot about them and did not file an issue. They appear to be the same issue.
Created attachment 145073 [details] Screenshot of plugin manager after restart. Restarted NetBeans and Java shows deactivated in Plugin Manager now, although it is activated. See other screenshot that shows it is activated if "Show details" is checked.
Created attachment 145074 [details] Screenshot of plugin manger with "Show details" checked This shows Java is activated when "Show details" is checked.
Martine, please look at it. Thanks.
(In reply to Jaroslav Tulach from comment #7) > The report is from dev. build, I expect some problem in versioning. PHP guys > please evaluate. Sorry, I'm afraid that it isn't an versioning issue of the php.smarty module. org.netbeans.modules.php.smarty.editor.gsf.TplLanguage class exists in that package at least for 4 releases. Reassigning back.
The system tries to load CND action: INFO [org.netbeans.core.startup.layers.BinaryFS] java.lang.ClassNotFoundException: org.netbeans.modules.cnd.remote.projectui.actions.ConnectionStatusAction at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222) Caused: java.lang.ClassNotFoundException: org.netbeans.modules.cnd.remote.projectui.actions.ConnectionStatusAction starting from SystemClassLoader[446 modules] with possible defining loaders null and declared parents [org.netbeans.MainImpl$BootClassLoader@7cd84586, ModuleCL@299a4cc8[org.netbeans.api.annotations.common], ModuleCL@47f20118[org.openide.awt], ModuleCL@506758ad[org.netbeans.api.progress], but no CND modules are enabled.
Happened at the same time as bug 242177 and not since then. If you are having problems with feature on demand often, consider enabling more logging -J-Dorg.netbeans.modules.ide.ergonomics.level=FINE and hopefully we will know more next time the failure happens again. *** This bug has been marked as a duplicate of bug 242177 ***