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 - [68cat] NullPointerException at org.netbeans.lib.editor.util.swing.DocumentUtilities.addPriorityDocumentListener
Summary: [68cat] NullPointerException at org.netbeans.lib.editor.util.swing.DocumentUt...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Michel Graciano
URL: http://statistics.netbeans.org/except...
Keywords:
: 224717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-01 13:26 UTC by Michel Graciano
Modified: 2016-02-18 08:01 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159368


Attachments
stacktrace (5.54 KB, text/plain)
2009-10-01 13:27 UTC, Michel Graciano
Details
stacktrace (4.86 KB, text/plain)
2010-04-06 10:59 UTC, kawazu428
Details
stacktrace (1.29 KB, text/plain)
2015-03-16 11:03 UTC, akobberup
Details
stacktrace (1.29 KB, text/plain)
2015-08-06 07:24 UTC, akobberup
Details
stacktrace (1.29 KB, text/plain)
2016-02-18 08:01 UTC, akobberup
Details

Note You need to log in before you can comment on or make changes to this bug.
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