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.
Profiler 070205 NetBeans IDE Dev (Build 200702011900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 This issue is similar to issue 92458 but is not always reproducible. I've got the exception three times while right-clicking the script file for more than 20 times. Steps to reproduce: - Create JMeter script file in Enterprise Application project folder - Right-click it in Files view - RESULT: Exception is sometimes thrown: java.lang.reflect.UndeclaredThrowableException at $Proxy10.resultChanged(Unknown Source) <snip/> Caused by: java.lang.NullPointerException at org.apache.jmeter.module.JMeterRunAction.enable(JMeterRunAction.java:72) at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:589) at org.openide.util.actions.CookieAction$CookieDelegateAction.superResultChanged(CookieAction.java:308)
Created attachment 38163 [details] Exception
i couldn't reproduce the described behavior. however, i added a sanity check for NULL before attempting to use a DataObject extracted from the JMeter script node. this should at least prevent throwing NPE
Verified with Profiler 070219 NetBeans IDE Dev (Build 200702182300) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251