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: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: adam_myatt: opened a java web project, then a class file in source editor adam_myatt: set a debug breakpoint in a Java source file (not a JSP) Stacktrace: java.lang.NullPointerException: jspResourcePath at org.netbeans.modules.j2ee.deployment.devmodules.api.JSPServletFinder.getServletResourcePath(JSPServletFinder.java:158) at org.netbeans.modules.web.debug.util.Utils.getServletClass(Utils.java:164) at org.netbeans.modules.web.debug.util.Utils.getClassFilter(Utils.java:176) at org.netbeans.modules.web.debug.breakpoints.JspLineBreakpoint.<init>(JspLineBreakpoint.java:100) at org.netbeans.modules.web.debug.breakpoints.JspLineBreakpoint.create(JspLineBreakpoint.java:130) at org.netbeans.modules.web.debug.actions.JspToggleBreakpointActionProvider.doAction(JspToggleBreakpointActionProvider.java:132)
Created attachment 81970 [details] stacktrace
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: set a debug breakpoint in a Java source file (not a JSP) Stacktrace: java.lang.NullPointerException: jspResourcePath at org.netbeans.modules.j2ee.deployment.devmodules.api.JSPServletFinder.getServletResourcePath(JSPServletFinder.java:158) at org.netbeans.modules.web.debug.util.Utils.getServletClass(Utils.java:164) at org.netbeans.modules.web.debug.util.Utils.getClassFilter(Utils.java:176) at org.netbeans.modules.web.debug.breakpoints.JspLineBreakpoint.<init>(JspLineBreakpoint.java:100) at org.netbeans.modules.web.debug.breakpoints.JspLineBreakpoint.create(JspLineBreakpoint.java:130) at org.netbeans.modules.web.debug.actions.JspToggleBreakpointActionProvider.doAction(JspToggleBreakpointActionProvider.java:132)
Created attachment 81971 [details] stacktrace
I don't think this can happen again with fixes made by mentlicher in issue 147776.