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 100204-20b1dfd90f45) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Linux User Comments: jglick: FU on createLayerPresenterComboModel. Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1179) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1155) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:473) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:452) at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:582) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:353)
Created attachment 93882 [details] stacktrace
Created attachment 93952 [details] stacktrace Ctrl+Click on class
Created attachment 93982 [details] stacktrace
Created attachment 94213 [details] stacktrace
Created attachment 94214 [details] Requested dump file
Created attachment 94331 [details] stacktrace performed find usages
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=164892
Created attachment 94581 [details] stacktrace
Created attachment 94686 [details] stacktrace opened java fiel
Created attachment 94726 [details] stacktrace Just tried code complition, may be related with annotation processing for entity A2173028
Created attachment 94727 [details] dump
Created attachment 95037 [details] stacktrace All steps in just build ide: Create EJb Module Project on gf3 Add entity class to some package (New|Entity Class) with all default except datasource for pu (it's better to select something) Turn on support for annotation processing in editor Create plain java class (new|java class) in some package Invoke Autocompletion in this class body I first types 'New' and press ctrl-space, no entity yet then add 'E' button And got this exception
Sergey, are you able to reproduce the issue with the above steps?
I can try tomorrow, but with almost the same steps in app client project I got the same exception today. But as it was first reported on 0204, not sure now if it's somehow related with annotations support as I said above.
can't reproduce today, but also ap in editor support seems broken.
Please do something with it, the outcome for me is that hyperlink sometimes does not work. Second attempt is usually successful. Raising priority.
Created attachment 96498 [details] stacktrace fresh ide create j2se project with main class create entity from db switch to jdk6 source create jpa controller in main class in main method declare jpa controller and try to call constructor with autocomplition. npe is thrwn
Unfortunately, I still cannot reproduce the issue. Additional logging added. http://hg.netbeans.org/jet-main/rev/fee4600e382f changeset 8cb139773b62 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=8cb139773b62
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fee4600e382f User: Dusan Balek <dbalek@netbeans.org> Log: Logging added (see issue #180295).
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=164892
Created attachment 96710 [details] stacktrace Code completion on Templates.getTemplate in SimpleTargetChooserPanel.
Created attachment 96711 [details] Dump file as requested
Created attachment 96854 [details] latest log
Created attachment 96855 [details] latest dump
First attempt to fix. http://hg.netbeans.org/jet-main/rev/fe245fd6cb6c changeset 9cf2630bb5a8 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=9cf2630bb5a8
Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fe245fd6cb6c User: Dusan Balek <dbalek@netbeans.org> Log: Issue #180295: the first attempt to fix.
Created attachment 97145 [details] stacktrace
Created attachment 97400 [details] New dump file from 100414
Fix cont. http://hg.netbeans.org/jet-main/rev/9cf392b56deb
Created attachment 97456 [details] stacktrace
Integrated into 'main-golden', will be available in build *201004160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9cf392b56deb User: Dusan Balek <dbalek@netbeans.org> Log: Issue #180295 - fix cont.
*** Bug 183394 has been marked as a duplicate of this bug. ***
*** Bug 184981 has been marked as a duplicate of this bug. ***
*** Bug 185396 has been marked as a duplicate of this bug. ***