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 103315 - NPE in Load Generator plugin when no Profiler installed
Summary: NPE in Load Generator plugin when no Profiler installed
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-04 13:24 UTC by Alexander Kouznetsov
Modified: 2007-07-09 17:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-05-04 13:24:35 UTC
NetBeans IDE Dev (Build 070504)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
SunOS version 5.10 running on x86
en (nb); ISO646-US

Steps to reproduce:
- Install NB 6.0 without Java IDE component
- Install Load Generator 1.1.3 module
- RESULT: NPE is thrown after the installation and each time on NB start. Even
installation of Java IDE doesn't help. User needs to uninstall Load Generator
module and install it again.

java.lang.NullPointerException
	at javax.swing.ImageIcon.<init>(ImageIcon.java:161)
	at
org.netbeans.modules.loadgenerator.actions.RemoveStoppedAction.<init>(RemoveStoppedAction.java:51)
	at
org.netbeans.modules.loadgenerator.nodes.EngineNode.setProvider(EngineNode.java:76)
	at
org.netbeans.modules.loadgenerator.nodes.ManagerChildren.createNodes(ManagerChildren.java:35)
	at
org.netbeans.modules.loadgenerator.nodes.ManagerChildren.createNodes(ManagerChildren.java:31)
...
Comment 1 J Bachorik 2007-06-19 14:24:13 UTC
fixed in version 1.2
removed a hidden dependency on J2EE and Java IDE
Comment 2 Alexander Kouznetsov 2007-07-09 17:00:39 UTC
Verified with Profiler 1.2 070706