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.
Build: NetBeans IDE Dev (Build 200809290201) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1930) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1655) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:391) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:408) at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1329) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
Created attachment 70906 [details] stacktrace
Created attachment 70907 [details] The File where the NPE occured
The Error occured at the following Code-Line: ... F_nad.setC080_3045(Cs_gln); , ... I think the problem was, that I typed a Comma (in the second line) and then I called the Code-Completion with Ctrl-Space (in the first line).
Reassigning to java.
Is it reproducible on your sources or is it just random?
Sorry but I can´t reproduce.
Build: NetBeans IDE Dev (Build 200902270313) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: using generics Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1922) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1655) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:389) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:413) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1713) at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1543)
Created attachment 77498 [details] stacktrace
Should be already fixed. *** This issue has been marked as a duplicate of 163989 ***