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 090223) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-56, Java(TM) SE Runtime Environment, 1.6.0_07-b06-146 OS: Mac OS X, 10.5.6, x86_64 User Comments: yardus: Maven EJB. Trying to add a business method to stateless session bean tor: Just opened a new file Stacktrace: java.lang.NullPointerException at com.sun.tools.javadoc.JavadocEnter.visitClassDef(JavadocEnter.java:88) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:587) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:283) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:297) at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:348) at com.sun.tools.javadoc.JavadocEnter.visitTopLevel(JavadocEnter.java:77)
Created attachment 77256 [details] stacktrace
Build: NetBeans IDE Dev (Build 090223) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-56, Java(TM) SE Runtime Environment, 1.6.0_07-b06-146 OS: Mac OS X, 10.5.6, x86_64 User Comments: Just opened a class - I can mail the contents to you Stacktrace: java.lang.NullPointerException at com.sun.tools.javadoc.JavadocEnter.visitClassDef(JavadocEnter.java:88) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:587) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:283) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:297) at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:348) at com.sun.tools.javadoc.JavadocEnter.visitTopLevel(JavadocEnter.java:77)
Created attachment 77264 [details] stacktrace
I think this must be a new regression. This has started happening a lot today after I updated my build (my last build was from Friday I think where I wasn't hitting this.)
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=146621
It happens on all kinds of trivial files. I just created a new file and it popped up on that as well. And I noticed there are 33 duplicates already, starting from yesterday so it's clear it's affecting a lot of people. /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.tool.model; /** * * @author tor */ public class Transaction { }
Already fixed in jet-main (since Fri Feb 20), however it has not been propagated into the main repository yet ;-( See http://hg.netbeans.org/jet-main/rev/2d65ba2a6893
Build: NetBeans IDE Dev (Build 090223) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Linux, 2.6.27-11-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException at com.sun.tools.javadoc.JavadocEnter.visitClassDef(JavadocEnter.java:88) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:587) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:283) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:297) at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:348) at com.sun.tools.javadoc.JavadocEnter.visitTopLevel(JavadocEnter.java:77)
Created attachment 77369 [details] stacktrace
Build: NetBeans IDE Dev (Build 200902221401) VM: OpenJDK Server VM, 14.0-b10, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b01 OS: Linux, 2.6.27-11-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException at com.sun.tools.javadoc.JavadocEnter.visitClassDef(JavadocEnter.java:88) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:587) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:283) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:297) at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:348) at com.sun.tools.javadoc.JavadocEnter.visitTopLevel(JavadocEnter.java:77)
Created attachment 77468 [details] stacktrace
Works fine now, seems to be fixed properly.