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.
both nb 7.2 and Product Version: NetBeans IDE Dev (Build 201209240001) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\a-gbello\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\a-gbello\AppData\Local\NetBeans\Cache\dev when debugging - a good half the time when hit a breakpoint it is not shown in the editor -- but cntl-f8 2 times shows it as set, the breakpoints pane also shows the line highlighted where the breakpoint is located, but no red square appears in the editor.
Any screenshot Gary?
Some steps to reproduce are welcome. I'm not able to reproduce...
i will later today when get to work attach some screen shots. i am using nb7.2 currently - too many issues with 7.3beta or last couple of dev builds i was using. 99% of my debugging is remote attach to tomcat - where there are usually hundreds of files or perhaps a 1000+ of sources. i still see this problem every day -- its not 100% of the time, and i dont know how to write steps to reproduce.
Created attachment 126415 [details] shows missing breakpoint
line 96 is missing a break point indicator.
to add 2 more jpeg files; these from nb7.3beta2, Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211062253) Updates: NetBeans IDE is updated to version , NetBeans 7.3 Beta 2 Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 Runtime: Java(TM) SE Runtime Environment 1.7.0_06-b24 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\a-gbello\AppData\Roaming\NetBeans\7.3beta2 Cache directory: C:\Users\a-gbello\AppData\Local\NetBeans\Cache\7.3beta2
Created attachment 127664 [details] another jpeg
Created attachment 127665 [details] another example
Some problem with breakpoint annotation. It's hard to find the cause without being able to reproduce this...
The debugger is also duplicating breakpoints in the breakpoint window. I'm using Windows XP. Attached is a screen print of the issue.
Created attachment 133461 [details] Shows multiple entries in breakpoint pane Shows multiple entries in breakpoint pane and the editor does not show the line highlighted.
*** Bug 228978 has been marked as a duplicate of this bug. ***
IMHO this is fixed by http://hg.netbeans.org/core-main/rev/e31643bbec8c and http://hg.netbeans.org/core-main/rev/bce8a8ccb74e. There was a race-condition in add/remove of annotations.
Created attachment 147786 [details] Screenshot Netbeans does not shows breakpoints in editor v 8.0
NB 8.0 Release JDK 8.0_u5 INFO [org.netbeans.editor] java.lang.NullPointerException: null AnnotationType for:DisabledBreakpoint at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:325) at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:192) at org.netbeans.modules.editor.NbEditorDocument$AnnotationDescDelegate.<init>(NbEditorDocument.java:320) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:238) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$1.run(DocumentLine.java:349) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.debugger.jpda.projects.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:443) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:417) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:93) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:216) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:196) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) INFO [org.netbeans.editor] java.lang.NullPointerException: null AnnotationType for:DisabledBreakpoint at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:325) at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:192) at org.netbeans.editor.AnnotationDesc.isVisible(AnnotationDesc.java:135) at org.netbeans.editor.Annotations$LineAnnotations.refreshAnnotations(Annotations.java:1301) at org.netbeans.editor.Annotations$LineAnnotations.addAnnotation(Annotations.java:982) at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:261) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:240) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$1.run(DocumentLine.java:349) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.debugger.jpda.projects.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:443) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:417) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:93) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:216) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:196) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) INFO [org.netbeans.editor] java.lang.NullPointerException: null AnnotationType for:DisabledBreakpoint at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:325) at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:192) at org.netbeans.editor.AnnotationDesc.isVisible(AnnotationDesc.java:135) at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:291) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:240) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$1.run(DocumentLine.java:349) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.debugger.jpda.projects.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:443) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:417) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:93) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:216) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:196) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) INFO [org.netbeans.editor] java.lang.NullPointerException: null AnnotationType for:Breakpoint at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:325) at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:192) at org.netbeans.modules.editor.NbEditorDocument$AnnotationDescDelegate.<init>(NbEditorDocument.java:320) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:238) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$1.run(DocumentLine.java:349) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.debugger.jpda.projects.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:443) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:417) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:93) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:216) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:196) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) INFO [org.netbeans.editor] java.lang.NullPointerException: null AnnotationType for:Breakpoint at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:325) at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:192) at org.netbeans.editor.AnnotationDesc.isVisible(AnnotationDesc.java:135) at org.netbeans.editor.Annotations$LineAnnotations.refreshAnnotations(Annotations.java:1301) at org.netbeans.editor.Annotations$LineAnnotations.addAnnotation(Annotations.java:982) at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:261) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:240) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$1.run(DocumentLine.java:349) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.debugger.jpda.projects.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:443) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:417) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:93) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:216) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:196) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) INFO [org.netbeans.editor] java.lang.NullPointerException: null AnnotationType for:Breakpoint at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:325) at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:192) at org.netbeans.editor.AnnotationDesc.isVisible(AnnotationDesc.java:135) at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:291) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:240) at org.openide.text.NbDocument.addAnnotation(NbDocument.java:518) at org.openide.text.DocumentLine$1.run(DocumentLine.java:349) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340) at org.openide.text.Annotation.attach(Annotation.java:120) at org.netbeans.modules.debugger.jpda.projects.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:443) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:417) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:93) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:216) at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:196) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
I've submitted issue #245327 for that. I believe that on debugger side this is fixed. Providing full thread dump into issue #245327 might help.