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.
I have selected my Web Project (Blue Sphere) and click "Attach Profiler", then I select "Analyze Performance", check "Entire Application", uncheck "Profile application server code" and then click Attach (the Exception only occurs when "Profile application server code" is unchecked). This happens next: java.lang.NullPointerException at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getServletDefinedMethodsSignatures(WebProjectUtils.java:219) at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getServletDefinedMethodsSignatures(WebProjectUtils.java:230) at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getServletMethodSignatures(WebProjectUtils.java:237) at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getServletRootMethods(WebProjectUtils.java:242) at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.getDefaultRootMethods(J2EEProjectTypeProfiler.java:391) at org.netbeans.modules.profiler.ui.panels.CpuPerformanceConfigPanelLarge.getSettings(CpuPerformanceConfigPanelLarge.java:164) at org.netbeans.modules.profiler.ui.SelectTaskPanel.getProfilingSettings(SelectTaskPanel.java:205) at org.netbeans.modules.profiler.actions.ProfilingSupport.selectTaskForAttach(ProfilingSupport.java:222) at org.netbeans.modules.profiler.actions.ProfilingSupport.doAttach(ProfilingSupport.java:284) at org.netbeans.modules.profiler.actions.AttachAction.actionPerformed(AttachAction.java:50) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Jirko, please take a look at this for M10
The reason of this problem is that the deployment descriptor (web.xml) contains definition of a servlet for which the IDE is unable to find the source - most likely already deleted servlet or mistyped <servlet-class> entry. Also invalid project (directories) layout could cause this problem. To be able to profile your webapp using Profiler M9, fix the deployment descriptor. For M10 the NPE is fixed, a warning silently occurs in NB logfile.
Verification of old issues.
Closing old issues
Reverting to original Target Milestone value changed by mistake. Sorry for inconvenience.