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 243661 - NullPointerException at com.sun.tools.javac.api.JavacTrees.getElement
Summary: NullPointerException at com.sun.tools.javac.api.JavacTrees.getElement
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Wicket (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 13:41 UTC by naamanm
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206440


Attachments
stacktrace (6.17 KB, text/plain)
2014-04-08 13:41 UTC, naamanm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description naamanm 2014-04-08 13:41:11 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
naamanm: Start of netbeans with wicket 6.0 project

GUEST: I tried to open an Java class by click on classname in Projects.
The class opened for a short time and closed immediately.
I have this Problem since NetBeans 7.4.

My System is SuSe 12.1




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.api.JavacTrees.getElement(JavacTrees.java:336)
   at com.sun.tools.javac.api.JavacTrees.getElement(JavacTrees.java:124)
   at org.netbeans.modules.web.wicket.tree.AssignmentTracer.visitReturn(AssignmentTracer.java:63)
   at org.netbeans.modules.web.wicket.tree.AssignmentTracer.visitReturn(AssignmentTracer.java:31)
   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1390)
   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:77)
Comment 1 naamanm 2014-04-08 13:41:13 UTC
Created attachment 146625 [details]
stacktrace
Comment 2 Dusan Balek 2014-04-11 17:25:35 UTC
AssignmentTracer should not pass null value to the Trees.getElement(...) call.
Comment 3 Martin Balin 2016-07-07 08:53:22 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss