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 20140203-7c5a1816bfeb) VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: SunOS User Comments: alexvsimon: build project in console GUEST: I opened a class in the editor by clicking on a line in a stack trace. But I've seen the same NullPointer when opening a project so it seems related to some class scanning rather than any action in the IDE. Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Check.checkHideClashes(Check.java:2492) at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:919) at org.netbeans.lib.nbjavac.services.NBAttr.visitMethodDef(NBAttr.java:76) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:602) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:671)
Created attachment 144819 [details] stacktrace
Created attachment 150644 [details] stacktrace Compiled some JDK7 NB8.0.2(?) code with JDK8 (accidently by providing a wrong path in property nbjdk.home in ~/.nbbuild.properties, NBs ignores the property and uses the default JDK8)
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=206861
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=206861
Created attachment 153116 [details] stacktrace do refactoring
Created attachment 153826 [details] stacktrace Referencing an annotation-processor-generated class from another project..
Created attachment 154714 [details] stacktrace editing an OSGI activator
Created attachment 155451 [details] stacktrace FindUsages during clean&build
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=206861
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/14e8f7ad1e4b http://hg.netbeans.org/main/nb-javac/rev/8eb9b2bf4d70
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/14e8f7ad1e4b User: Dusan Balek <dbalek@netbeans.org> Log: Issues #241425, #254332, #254333, and #254875 - fixed.