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.
Summary: | [65cat] NullPointerException at org.openide.text.Annotation.attach | ||
---|---|---|---|
Product: | python | Reporter: | rajivderas <rajivderas> |
Component: | Debugger | Assignee: | jymen <jymen> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mslama, rajivderas, sunbiz |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=128658 | ||
Issue Type: | DEFECT | Exception Reporter: | 128658 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
rajivderas
2008-10-16 07:16:04 UTC
Created attachment 71930 [details]
stacktrace
Build: NetBeans IDE Dev (Build 20081015193613) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.openide.text.Annotation.attach(Annotation.java:117) at org.netbeans.modules.python.debugger.DebuggerAnnotation.<init>(DebuggerAnnotation.java:60) at org.netbeans.modules.python.debugger.breakpoints.BreakpointAnnotationListener.addAnnotation(BreakpointAnnotationListener.java:81) at org.netbeans.modules.python.debugger.breakpoints.BreakpointAnnotationListener.breakpointAdded(BreakpointAnnotationListener.java:52) at org.netbeans.api.debugger.DebuggerManager.fireBreakpointCreated(DebuggerManager.java:791) at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:939) Created attachment 71938 [details]
stacktrace
Build: NetBeans IDE 6.5 RC1 (Build 20081016235259) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: was trying to debug a py file Stacktrace: java.lang.NullPointerException at org.openide.text.Annotation.attach(Annotation.java:117) at org.netbeans.modules.python.debugger.DebuggerAnnotation.<init>(DebuggerAnnotation.java:60) at org.netbeans.modules.python.debugger.breakpoints.BreakpointAnnotationListener.addAnnotation(BreakpointAnnotationListener.java:81) at org.netbeans.modules.python.debugger.breakpoints.BreakpointAnnotationListener.breakpointAdded(BreakpointAnnotationListener.java:52) at org.netbeans.api.debugger.DebuggerManager.fireBreakpointCreated(DebuggerManager.java:791) at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:939) Created attachment 72119 [details]
stacktrace
Build: NetBeans IDE 6.5 RC2 (Build 20081024150422) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32 OS: Windows Vista, 6.0, x86 User Comments: Clicked on the line numbers to add a breakpoint after debugging finished and got this exception Stacktrace: java.lang.NullPointerException at org.openide.text.Annotation.attach(Annotation.java:117) at org.netbeans.modules.python.debugger.DebuggerAnnotation.<init>(DebuggerAnnotation.java:60) at org.netbeans.modules.python.debugger.breakpoints.BreakpointAnnotationListener.addAnnotation(BreakpointAnnotationListener.java:81) at org.netbeans.modules.python.debugger.breakpoints.BreakpointAnnotationListener.breakpointAdded(BreakpointAnnotationListener.java:52) at org.netbeans.api.debugger.DebuggerManager.fireBreakpointCreated(DebuggerManager.java:791) at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:939) Created attachment 72671 [details]
stacktrace
reassigning to python, you are probably passing null to org.openide.text.Annotation.attach and then it fails on attached.addAnnotation(this); Null parameter is not allowed in Annotation.attach. fixed build #109 has already verified in EA testing. |