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.
Build 011015_2 (trunk). When trying to set breakpoint in JSP I receive this exception: Tue Oct 16 14:02:30 PDT 2001: java.lang.NullPointerException: Posted StackTrace Annotation: Exception occurred in Request Processor org.openide.util.RequestProcessor$Holder: Posted StackTrace(task org.netbeans.core.ModuleActions$1@523fa1 [-2030, 1, -1]) at org.openide.util.RequestProcessor$Task.createHolder (RequestProcessor.java:322) at org.openide.util.RequestProcessor.post(RequestProcessor.java:100) at org.openide.util.RequestProcessor.post(RequestProcessor.java:73) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:98) at org.netbeans.core.windows.frames.NbFocusManager.processKeyStroke (NbFocusManager.java:241) at org.netbeans.core.windows.frames.NbFocusManager.processEvent (NbFocusManager.java:200) at org.netbeans.core.windows.frames.NbFocusManager$1.run (NbFocusManager.java:167) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) Tue Oct 16 14:02:30 PDT 2001: java.lang.NullPointerException: null java.lang.NullPointerException at org.netbeans.modules.debugger.support.BreakpointSupport.setLine (BreakpointSupport.java:377) at org.netbeans.modules.debugger.support.DebuggerSupport.createBreakpoint (DebuggerSupport.java:302) at org.netbeans.modules.web.debug.JspEditor$1.performAction (JspEditor.java:183) at org.openide.util.actions.CallbackSystemAction.performAction (CallbackSystemAction.java:102) at org.openide.util.actions.CallableSystemAction.actionPerformed (CallableSystemAction.java:66) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:85) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:611) Breakpoint is not set. Tried on Windows 98 with JDK 1.3.1b-24 and Windows 2000 with JDK 1.3.1_01.
Moving to debugger module.
Is it possible to reproduce this exception reliably ? (Trying it, I have not been successful.) If so, can you describe the needed steps in details, please ?
Even in current build: 1) have JSP with this content: <%@page contentType="text/html"%> <html> <head><title>JSP Page</title></head> <body> <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%> <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%> aaa <H1> bb </H1> <H2> ccc </H2> </body> </html> 2) go to <H1> line 3) press Shift-F8 That's it.
NPE fixed in main trunk.
Verified in Netbeans build 20011019.
Resolved for 3.3.x or earlier, no new info since then -> closing.