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 200801201200) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 55301 [details] stacktrace
Build: NetBeans IDE Dev (Build 200801201200) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments: Pressed Shift-Ctrl-I to fix imports where nothing was to fix
Created attachment 55302 [details] stacktrace
Build: NetBeans IDE Dev (Build 200801220000) VM: Java HotSpot(TM) Client VM, 1.5.0_13-121 OS: Mac OS X, 10.4.11, ppc User Comments: I'm trying to learn about the Swing Application Framework. For some reason when I start a new package and choose Desktop Application (the the database example) it will not run. It gives me a NullPointerException, always at the line that is trying to get the interger value for the message timer. I downloaded the latest build on the morning of Jan 24, 2008, Build 6.1 200801220000. I tried making a new application with the name TestApplication, didn't work, same error. I tried building an application using the supplied name DeskTopApplication1 when I got the error that I'm reporting. The really funny thing about this is that I do have one Desktop Application that does work that I created about 2 weeks ago. I ran into problems getting that to work, but it at least runs. My problems were with trying to use the resources. I went back to trying to read more about the application framework to see if I could figure out those problems when I ran into this problem where I can't get it to
Created attachment 55500 [details] stacktrace
*** Issue 126029 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE Dev (Build 200801280931) VM: Java HotSpot(TM) Client VM, 1.5.0_13-121 OS: Mac OS X, 10.4.11, i386 User Comments: Created a new JFrame form.
Created attachment 55915 [details] stacktrace
Build: NetBeans IDE 6.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 1.5.0_06-b05 OS: Linux, 2.6.9-42.ELsmp, i386 User Comments:
Created attachment 57665 [details] stacktrace
This issue has already 10 duplicates
moving opened issues from TM <= 6.1 to TM=Dev
Created attachment 61395 [details] stacktrace
Created attachment 62535 [details] stacktrace
Created attachment 62695 [details] stacktrace
I was changing code in the JUnit module. I pasted part of code from one class to another class - I got the exception. Then I quit NetBeans and started it again - it opened the same file (automatically at startup) and I got the exception again. All the modified sources were within a single package of the JUnit module. I will attach all source files from the package.
Created attachment 62698 [details] zip-file containing sources of package org.netbeans.modules.junit.output
I forgot to note the file that was active in the editor was "OutputUtils.java".
Build: NetBeans IDE Dev (Build 200807231346) VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Windows Vista, 6.0, amd64 User Comments: Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.tree.TreeInfo$1DeclScanner.visitTypeParameter(TreeInfo.java:503) at com.sun.tools.javac.tree.JCTree$JCTypeParameter.accept(JCTree.java:1874) at com.sun.tools.javac.tree.TreeInfo$1DeclScanner.scan(TreeInfo.java:484) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) at com.sun.tools.javac.tree.TreeScanner.visitMethodDef(TreeScanner.java:86) at com.sun.tools.javac.tree.TreeInfo$1DeclScanner.visitMethodDef(TreeInfo.java:496)
Created attachment 65447 [details] stacktrace
Build: NetBeans IDE 6.5 Beta (Build 200808111757) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Linux, 2.6.24-19-generic, i386 User Comments: Anytime I paste code snippet below to JaxWsDataObject constructor I get this NPE. getCookieSet().add(BaseJspEditorSupport.class, new CookieSet.Factory() { public <T extends Cookie> T createCookie(Class<T> klass) { return klass.cast(getJspEditorSupport()); } }); Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.tree.TreeInfo$1DeclScanner.visitTypeParameter(TreeInfo.java:503) at com.sun.tools.javac.tree.JCTree$JCTypeParameter.accept(JCTree.java:1874) at com.sun.tools.javac.tree.TreeInfo$1DeclScanner.scan(TreeInfo.java:484) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) at com.sun.tools.javac.tree.TreeScanner.visitMethodDef(TreeScanner.java:86) at com.sun.tools.javac.tree.TreeInfo$1DeclScanner.visitMethodDef(TreeInfo.java:496)
Created attachment 68760 [details] stacktrace
This problem when it happens makes editor unusable - anytime you type something the NPE is thrown. Always reproducible for me. In NB6.5Beta open for example JavaDataObject.java (java.source) and remove "import org.openide.nodes.CookieSet;" text. Operating System = Linux version 2.6.24-19-generic running on i386 Java; VM; Vendor = 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22; Sun Microsystems Inc.
Yes. It is reproducible. Thanks for test case.
Fixed. changeset b7f766741e14 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=b7f766741e14 changeset 4afda16ac585 in main details: http://hg.netbeans.org/main?cmd=changeset;node=4afda16ac585
Integrated into 'main-golden', will be available in build *200809091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4afda16ac585 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #125644, #144176, and #144555 fixed.
it still falling
salimafiune: could you please provide some more information, e.g. on what build do you see the exception, attach the exception's stack trace, what are the steps to reproduce, etc. Thanks. Looking at the reports on statistics, I do not see any reports from builds after the bug was fixed. The last build mentioned on statistics in 080828.
Looking at the exception report statistics, I do not see any reports from builds after the bug was fixed. Closing as FIXED.