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 153279 - [65cat] NullPointerException at com.sun.tools.javac.comp.MemberEnter.initEnv
Summary: [65cat] NullPointerException at com.sun.tools.javac.comp.MemberEnter.initEnv
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-16 15:43 UTC by dcorsaut
Modified: 2012-05-23 14:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 139933


Attachments
stacktrace (1.74 KB, text/plain)
2008-11-16 15:43 UTC, dcorsaut
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dcorsaut 2008-11-16 15:43:36 UTC
Build: NetBeans IDE Dev (Build 200811131401)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.27.4-desktop586-2mnb, i386

User Comments:
dcorsaut: I was typing "session.getAttribute("messages"); on this line 
ResourceBundle messages = (ResourceBundle) session.getAttribute(null)



Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.MemberEnter.initEnv(MemberEnter.java:755)
        at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:759)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:713)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:391)
        at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:428)
        at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:444)
Comment 1 dcorsaut 2008-11-16 15:43:41 UTC
Created attachment 73796 [details]
stacktrace
Comment 2 Peter Pis 2008-11-17 18:53:31 UTC
Reassigning to java.
Comment 3 Dusan Balek 2008-11-28 09:59:18 UTC
Seems like a race condition in reparseMethod().
Comment 4 Dusan Balek 2012-05-23 14:01:30 UTC
No exception reports from the recent builds, closing as WORKSFORME.