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 Dev (Build 200909221401) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, i386 User Comments: hmichel: Just closing an unsaved sql file Stacktrace: java.lang.NullPointerException at org.netbeans.lib.editor.util.swing.DocumentUtilities.addPriorityDocumentListener(DocumentUtilities.java:127) at org.netbeans.lib.editor.util.swing.DocumentUtilities.addDocumentListener(DocumentUtilities.java:105) at org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.attachTo(TodoAnnotationProvider.java:164) at org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.attachTo(TodoAnnotationProvider.java:173) at org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.access$000(TodoAnnotationProvider.java:136) at org.netbeans.modules.showtodos.TodoAnnotationProvider.annotate(TodoAnnotationProvider.java:92)
Created attachment 88663 [details] stacktrace
Most likely org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.attachTo(TodoAnnotationProvider.java:164) passing in doc == null.
I will take a look. Thanks
Created attachment 96756 [details] stacktrace
*** Bug 224717 has been marked as a duplicate of this bug. ***
Created attachment 152645 [details] stacktrace Closed all open documents
Created attachment 155191 [details] stacktrace Closed all tabs
Created attachment 158548 [details] stacktrace Closed all tabs. Both Java and SQL tabs