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 221090 - NullPointerException at com.sun.tools.javac.tree.TreeInfo.getStartPos
Summary: NullPointerException at com.sun.tools.javac.tree.TreeInfo.getStartPos
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 13:29 UTC by bitter_fox
Modified: 2012-11-14 15:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 194265


Attachments
stacktrace (2.38 KB, text/plain)
2012-10-30 13:29 UTC, bitter_fox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bitter_fox 2012-10-30 13:29:47 UTC
Build: NetBeans IDE Dev (Build jdk8lambda-1572-on-20121024)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b13, Java(TM) SE Runtime Environment, 1.8.0-ea-b43
OS: Windows 7

User Comments:
bitter_fox: class C
{
static <
}

This code makes the NPE.

I'm sorry if this report would be resent.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.tree.TreeInfo.getStartPos(TreeInfo.java:426)
   at com.sun.tools.javac.api.JavacTrees$1.getStartPosition(JavacTrees.java:147)
   at org.netbeans.api.java.source.TreeUtilities$1PathFinder.scan(TreeUtilities.java:274)
   at org.netbeans.api.java.source.TreeUtilities$1PathFinder.scan(TreeUtilities.java:263)
   at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:80)
   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90)
Comment 1 bitter_fox 2012-10-30 13:29:48 UTC
Created attachment 126776 [details]
stacktrace