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 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)
Created attachment 38544 [details] Exception
This exception is also thrown if user tries to Run Profiler for Enterprise Application or EJB Module. Reproduced on WinXP and Solaris.
This almost blocks ability to profile Enterprise Applications and EJB modules. Raising to P2.
confirmed
fixed in trunk corrected handling of deployment descriptor collection process
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