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 271127 - NullPointerException at com.sun.tools.javac.code.Symtab.lookupPackage
Summary: NullPointerException at com.sun.tools.javac.code.Symtab.lookupPackage
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 18:14 UTC by java1cprog
Modified: 2017-08-04 15:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229766


Attachments
stacktrace (3.65 KB, text/plain)
2017-07-19 18:14 UTC, java1cprog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description java1cprog 2017-07-19 18:14:07 UTC
Build: NetBeans IDE Dev (Build 201706240001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: Windows 7

User Comments:
java1cprog: I remove "m" from module keyword in generated module-info.java file.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Symtab.lookupPackage(Symtab.java:668)
   at com.sun.tools.javac.comp.Resolve.lookupPackage(Resolve.java:2069)
   at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2363)
   at com.sun.tools.javac.comp.Attr$IdentAttributer.visitIdentifier(Attr.java:372)
   at com.sun.tools.javac.comp.Attr$IdentAttributer.visitIdentifier(Attr.java:353)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2251)
Comment 1 java1cprog 2017-07-19 18:14:10 UTC
Created attachment 164793 [details]
stacktrace
Comment 2 Dusan Balek 2017-08-04 15:03:35 UTC
Fixed in jet-main.
http://hg.netbeans.org/jet-main/rev/a20925f3a9eb