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 69488 - NPE when trying to profile single file of a WebProject
Summary: NPE when trying to profile single file of a WebProject
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 18:12 UTC by Jiri Sedlacek
Modified: 2007-02-20 18:08 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 Jiri Sedlacek 2005-11-28 18:12:45 UTC
When trying to profile single .jsp file from /dist/*.war archive, NPE is thrown:

java.lang.NullPointerException
	at org.netbeans.modules.profiler.actions.AntActions.doProfileProject
(AntActions.java:383)
	at org.netbeans.modules.profiler.actions.AntActions.access$000
(AntActions.java:47)
	at org.netbeans.modules.profiler.actions.AntActions$1.perform
(AntActions.java:99)
	at 
org.netbeans.modules.profiler.actions.FileSensitiveAction.actionPerformed
(FileSensitiveAction.java:51)
	at 
org.netbeans.modules.profiler.actions.ProjectSensitiveAction.actionPerformed
(ProjectSensitiveAction.java:95)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	...

When trying to profile single .jsp file from /build/web folder, NPE is thrown:

ava.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:396)
	at 
org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.configurePropertiesFo
rProfiling(J2EEProjectTypeProfiler.java:348)
	at org.netbeans.modules.profiler.actions.AntActions.doProfileProject
(AntActions.java:464)
	at org.netbeans.modules.profiler.actions.AntActions.access$000
(AntActions.java:47)
	at org.netbeans.modules.profiler.actions.AntActions$1.perform
(AntActions.java:99)
	at 
org.netbeans.modules.profiler.actions.FileSensitiveAction.actionPerformed
(FileSensitiveAction.java:51)
	at 
org.netbeans.modules.profiler.actions.ProjectSensitiveAction.actionPerformed
(ProjectSensitiveAction.java:95)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	...
Comment 1 Jiri Sedlacek 2005-11-28 18:18:13 UTC
Profile single for a WebProject can now be performed on files only from /web 
or /src directories.

Fixed for M11.
Comment 2 ehucka 2006-10-09 12:08:55 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:20:59 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:08:52 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.