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 171972 - NullPointerException at org.netbeans.modules.showtodos.TodoSourceParsing.parseForAnnotatable
Summary: NullPointerException at org.netbeans.modules.showtodos.TodoSourceParsing.pars...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Michel Graciano
URL: http://statistics.netbeans.org/except...
Keywords:
: 178309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-10 19:39 UTC by ieising
Modified: 2012-11-05 20:17 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 156528


Attachments
stacktrace (1.70 KB, text/plain)
2009-09-10 19:39 UTC, ieising
Details
stacktrace (1.70 KB, text/plain)
2009-10-21 07:09 UTC, Exceptions Reporter
Details
stacktrace (4.03 KB, text/plain)
2012-10-22 14:33 UTC, sreimers
Details
stacktrace (4.12 KB, text/plain)
2012-10-22 17:00 UTC, sreimers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2009-09-10 19:39:40 UTC
Build: NetBeans IDE Dev (Build 200909081533)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments:
javierav: start netbeans after update and close an open php file

ieising: I did a clean-rebuild and closed (CTRL-W) all my editor windows.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.showtodos.TodoSourceParsing.parseForAnnotatable(TodoSourceParsing.java:132)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.parse(TodoAnnotationProvider.java:121)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.annotate(TodoAnnotationProvider.java:107)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.access$300(TodoAnnotationProvider.java:80)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.run(TodoAnnotationProvider.java:187)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
Comment 1 ieising 2009-09-10 19:39:45 UTC
Created attachment 87462 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-06 14:23:51 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156528
Comment 3 Exceptions Reporter 2009-10-21 07:09:14 UTC
Build: NetBeans IDE Dev (Build 200910170201)
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: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.showtodos.TodoSourceParsing.parseForAnnotatable(TodoSourceParsing.java:132)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.parse(TodoAnnotationProvider.java:121)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.annotate(TodoAnnotationProvider.java:107)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.access$300(TodoAnnotationProvider.java:80)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider$ScanningListener.run(TodoAnnotationProvider.java:187)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
Comment 4 Exceptions Reporter 2009-10-21 07:09:17 UTC
Created attachment 89815 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-10-21 07:09:22 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156528
Comment 6 Michel Graciano 2011-10-25 15:48:47 UTC
*** Bug 178309 has been marked as a duplicate of this bug. ***
Comment 7 sreimers 2012-10-22 14:33:11 UTC
Created attachment 126336 [details]
stacktrace

Regenerating files outsie of NetBeans IDE
Comment 8 Exceptions Reporter 2012-10-22 14:33:21 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156528
Comment 9 sreimers 2012-10-22 17:00:14 UTC
Created attachment 126347 [details]
stacktrace

Regenerating source outside of NetBeans