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 95678 - NPE on Enterprise Application and EJB Module Profiling
Summary: NPE on Enterprise Application and EJB Module Profiling
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 13:56 UTC by Alexander Kouznetsov
Modified: 2007-02-16 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (3.12 KB, text/plain)
2007-02-15 13:56 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-15 13:56:19 UTC
Profiler 070215
NetBeans IDE Dev (Build 200702141900)
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

Steps to reproduce:
- Create or Open Enterprise Application or EJB Module, set it as Main Project
- Click Attach Profiler
- RESULT: NPE is thrown:
java.lang.NullPointerException
	at
org.netbeans.modules.profiler.j2ee.WebProjectUtils.getDocumentBaseFileObject(WebProjectUtils.java:272)
Comment 1 Alexander Kouznetsov 2007-02-15 13:56:42 UTC
Created attachment 38544 [details]
Exception
Comment 2 Alexander Kouznetsov 2007-02-15 13:59:34 UTC
This exception is also thrown if user tries to Run Profiler for Enterprise
Application or EJB Module.

Reproduced on WinXP and Solaris.
Comment 3 Alexander Kouznetsov 2007-02-15 14:03:30 UTC
This almost blocks ability to profile Enterprise Applications and EJB modules.
Raising to P2.
Comment 4 J Bachorik 2007-02-15 14:04:31 UTC
confirmed
Comment 5 J Bachorik 2007-02-15 15:06:25 UTC
fixed in trunk
corrected handling of deployment descriptor collection process
Comment 6 Alexander Kouznetsov 2007-02-16 16:41:14 UTC
Verified with
Profiler 070216
NetBeans IDE Dev (Build 200702151900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251