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.

Bug 250746 - Breakpoints are not visible & NullPointerException: null AnnotationType for:org-netbeans-modules-editor-annotations-has_implementations
Summary: Breakpoints are not visible & NullPointerException: null AnnotationType for:o...
Status: RESOLVED DUPLICATE of bug 250675
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 16:22 UTC by NukemBy
Modified: 2015-03-02 14:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
BreakpointIsNoVisible.png (51.67 KB, image/png)
2015-02-26 16:22 UTC, NukemBy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2015-02-26 16:22:14 UTC
Created attachment 152261 [details]
BreakpointIsNoVisible.png

Problem appears since Dev Build 20150225. Does not appear in 20150223.

Similar (but seems to be different) bug is here: https://netbeans.org/bugzilla/show_bug.cgi?id=245327 

Steps to reproduce:
- Click on the line number to set break point in java file. Breakpoint appears in "Breakpoints" window - is not displayed in text editor
- Mouse-scroll text up/down - the text below is logged into IDE log
- Text bookmarks are also not visible, yet it is possible to set and navigate them using keyboard

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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:242)
	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:1386)
	at org.openide.text.DocumentLine.addAnnotation(DocumentLine.java:340)
	at org.openide.text.Annotation.attach(Annotation.java:120)
	at org.netbeans.modules.debugger.jpda.projectsui.DebuggerBreakpointAnnotation.<init>(DebuggerBreakpointAnnotation.java:76)
	at org.netbeans.modules.debugger.jpda.projectsui.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:442)
	at org.netbeans.modules.debugger.jpda.projectsui.BreakpointAnnotationProvider.addAnnotationTo(BreakpointAnnotationProvider.java:416)
	at org.netbeans.modules.debugger.jpda.projectsui.BreakpointAnnotationProvider.access$500(BreakpointAnnotationProvider.java:92)
	at org.netbeans.modules.debugger.jpda.projectsui.BreakpointAnnotationProvider$AnnotationRefresh.refreshAnnotation(BreakpointAnnotationProvider.java:215)
	at org.netbeans.modules.debugger.jpda.projectsui.BreakpointAnnotationProvider$AnnotationRefresh.run(BreakpointAnnotationProvider.java:195)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:294)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
Comment 1 Milutin Kristofic 2015-03-02 14:57:45 UTC

*** This bug has been marked as a duplicate of bug 250675 ***