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.

Bug 94823 - [jmeter] Script files popup menu sometimes throws exception
Summary: [jmeter] Script files popup menu sometimes throws exception
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-02-07 10:20 UTC by Alexander Kouznetsov
Modified: 2007-02-19 13:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (3.62 KB, text/plain)
2007-02-07 10:21 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-02-07 10:20:48 UTC
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)
Comment 1 Alexander Kouznetsov 2007-02-07 10:21:28 UTC
Created attachment 38163 [details]
Exception
Comment 2 J Bachorik 2007-02-16 13:43:34 UTC
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
Comment 3 Alexander Kouznetsov 2007-02-19 13:11:16 UTC
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