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

Summary: NullPointerException at org.netbeans.modules.showtodos.TodoSourceParsing.parseForAnnotatable
Product: contrib Reporter: ieising <ieising>
Component: CodeAssignee: Michel Graciano <hmichel>
Status: NEW ---    
Severity: blocker CC: akobberup, athompson, karel_barel, misterm, mklaehn, mps77, paolosca, rozwell, sreimers
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=156528
Issue Type: DEFECT Exception Reporter: 156528
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

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