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 223018 - NullPointerException at com.sun.tools.javac.comp.Repair.translateClass
Summary: NullPointerException at com.sun.tools.javac.comp.Repair.translateClass
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-11-29 22:30 UTC by Exceptions Reporter
Modified: 2012-11-30 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 195895


Attachments
stacktrace (8.18 KB, text/plain)
2012-11-29 22:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-11-29 22:30:11 UTC
This bug was originally marked as duplicate of bug 214712, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build jdk8lambda-1572-on-20121024)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: SunOS

User Comments:
GUEST: scanning




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Repair.translateClass(Repair.java:411)
   at com.sun.tools.javac.comp.Repair.visitClassDef(Repair.java:190)
   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:647)
   at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
   at com.sun.tools.javac.comp.Repair.translate(Repair.java:130)
   at com.sun.tools.javac.tree.TreeTranslator.visitNewClass(TreeTranslator.java:281)
Comment 1 Exceptions Reporter 2012-11-29 22:30:14 UTC
Created attachment 128614 [details]
stacktrace
Comment 2 Dusan Balek 2012-11-30 09:14:56 UTC
Fixed in jet-main.

https://hg.kenai.com/hg/pelmel~nblambda-nb-javac/rev/d6e9e775d629