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 173484

Summary: [68cat] NullPointerException at org.netbeans.lib.editor.util.swing.DocumentUtilities.addPriorityDocumentListener
Product: contrib Reporter: Michel Graciano <hmichel>
Component: CodeAssignee: Michel Graciano <hmichel>
Status: NEW ---    
Severity: blocker CC: akobberup, deep_pl, kawazu428, misterm, tnleeuw, zdenek.rod
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=159368
Issue Type: DEFECT Exception Reporter: 159368
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Michel Graciano 2009-10-01 13:26:56 UTC
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)
Comment 1 Michel Graciano 2009-10-01 13:27:00 UTC
Created attachment 88663 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-10-01 15:45:59 UTC
Most likely org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.attachTo(TodoAnnotationProvider.java:164)
 passing in doc == null.
Comment 3 Michel Graciano 2009-10-01 17:11:57 UTC
I will take a look. Thanks
Comment 4 kawazu428 2010-04-06 10:59:13 UTC
Created attachment 96756 [details]
stacktrace
Comment 5 Milutin Kristofic 2013-01-21 16:40:45 UTC
*** Bug 224717 has been marked as a duplicate of this bug. ***
Comment 6 akobberup 2015-03-16 11:03:19 UTC
Created attachment 152645 [details]
stacktrace

Closed all open documents
Comment 7 akobberup 2015-08-06 07:24:42 UTC
Created attachment 155191 [details]
stacktrace

Closed all tabs
Comment 8 akobberup 2016-02-18 08:01:50 UTC
Created attachment 158548 [details]
stacktrace

Closed all tabs. Both Java and SQL tabs