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 200709200000) VM: Java HotSpot(TM) Client VM, 11.0-b06 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 49399 [details] stacktrace
Created attachment 49400 [details] stacktrace
*** Issue 116775 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE Dev (Build 200710020000) VM: Java HotSpot(TM) Client VM, 11.0-b07 OS: Windows XP, 5.1, x86 User Comments: in a java source, clicked a hint for auto-fixing some javadocs
Created attachment 50063 [details] stacktrace
Build: NetBeans IDE Dev (Build 200710081200) VM: Java HotSpot(TM) Client VM, 11.0-b07 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 50462 [details] stacktrace
I made some testing with build 200710211200. The issue occurs with JDK 1.7 b22, but not JDK 1.6 u3. - open a java source file - add an 'un-used' import - click the quick fix icon (remove unsued import) --> OK with JDK 1.6, NPE with JDK 1.7
Seems to be a JDK bug: http://bugs.sun.com/view_bug.do?bug_id=6612531
*** Issue 123044 has been marked as a duplicate of this issue. ***
*** Issue 124958 has been marked as a duplicate of this issue. ***
This seems to be an issue again with JDK 1.7 and NB 6.0.1. If it actually is a JDK issue and not one with NB, I'd like to suppose a feature that would it make easier to get around buggy JDK versions: By now it is only posible to change the default JDK in the netbeans.conf. You cannot change it in the Java platform manager. Changing it in the project properties does not cure the issue. Many users do not know about editing the netbeans.conf - posts in various forums can be found via google. Please provide a means to change the DEFAULT java platform from within the java platforms manager dialogue. Thank you very much in advance!
Build: NetBeans IDE 6.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 12.0-b01 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 56568 [details] stacktrace
This is a JDK bug, and I hope it will be fixed in final JDK release. IMO there is enough info about changing the jdk for running IDE + there already enhancement asking for such change: #89304 FAQ page: http://wiki.netbeans.org/FaqJdkHome
Created attachment 59823 [details] OpenJDK Fix
Hi, in the patch for OpenJdk is the GTKComboBox-patch included too. It's rendered correctly witch this fix. This patches are in the net long time don't understand why not in openjdk repo.
*** Issue 134257 has been marked as a duplicate of this issue. ***
The bug occurs in a 6.1 again. See my bug reports and log files I submitted. Thanks.
Which jdk version do you use? This is not problem in Netbeans code but issue in jdk, so if you're using older jdk than jdk7 (b27) or openjdk6 (b04) you'll see this bug.
Created attachment 61742 [details] stacktrace
Created attachment 61743 [details] stacktrace
I'm sorry, but the provided stack trace does not contain requested, can you provide the whole messages.log please? It's located in ${userdir}/var .
Created attachment 62715 [details] stacktrace
Created attachment 62716 [details] stacktrace
Build: NetBeans IDE 6.1 (Build 200805300101) VM: Java HotSpot(TM) Client VM, 12.0-b01, Java(TM) SE Runtime Environment, 1.7.0-ea-b24 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 63918 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807040005) VM: IcedTea Client VM, 1.7.0-b21, IcedTea Runtime Environment, 1.7.0-b21 OS: Linux, 2.6.22-15-generic, i386 User Comments: Clicking yellow bulb in groovy class, inside a grails project.
Created attachment 63973 [details] stacktrace
Build: NetBeans IDE 6.1 (Build 200805300101) VM: IcedTea Client VM, 1.7.0-b21, IcedTea Runtime Environment, 1.7.0-b21 OS: Linux, 2.6.25.10-47.fc8, i386 User Comments: Stacktrace: java.lang.NullPointerException at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:495) at java.awt.Container.preferredSize(Container.java:1670) at java.awt.Container.getPreferredSize(Container.java:1655) at javax.swing.JComponent.getPreferredSize(JComponent.java:1646) at org.netbeans.modules.editor.hints.borrowed.ScrollCompletionPane.<init>(ScrollCompletionPane.java:104) at org.netbeans.modules.editor.hints.HintsUI.showPopup(HintsUI.java:284)
Created attachment 66118 [details] stacktrace
Build: NetBeans IDE 6.1 (Build 200805300101) VM: IcedTea Client VM, 1.7.0-b21, IcedTea Runtime Environment, 1.7.0-b21 OS: Linux, 2.6.25.10-47.fc8, i386 User Comments: this happens on a fedora 8 machine when i click on the hint icon Stacktrace: java.lang.NullPointerException at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:495) at java.awt.Container.preferredSize(Container.java:1670) at java.awt.Container.getPreferredSize(Container.java:1655) at javax.swing.JComponent.getPreferredSize(JComponent.java:1646) at org.netbeans.modules.editor.hints.borrowed.ScrollCompletionPane.<init>(ScrollCompletionPane.java:104) at org.netbeans.modules.editor.hints.HintsUI.showPopup(HintsUI.java:284)
Created attachment 66239 [details] stacktrace
Build: NetBeans IDE Dev (Build 20080808175500) VM: Java HotSpot(TM) Client VM, 12.0-b01, Java(TM) SE Runtime Environment, 1.7.0-ea-b24 OS: Windows XP, 5.1, x86 User Comments: Clicking on quick fix Stacktrace: java.lang.NullPointerException at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:494) at java.awt.Container.preferredSize(Container.java:1669) at java.awt.Container.getPreferredSize(Container.java:1654) at javax.swing.JComponent.getPreferredSize(JComponent.java:1645) at org.netbeans.modules.editor.hints.borrowed.ScrollCompletionPane.<init>(ScrollCompletionPane.java:110) at org.netbeans.modules.editor.hints.HintsUI.showPopup(HintsUI.java:277)
Created attachment 66968 [details] stacktrace
140 duplicates so far ... reported also against NB 6.5 Beta
Guys, this bug is fixed in JDK 7.0 b27. If you are running an older version (and I see many of you are) then you absolutely must upgrade. There is no point fixing anything in Netbeans if your JDK is out of date. Please upgrade and let us know if you can still reproduce this issue. The latest JDK version is b33: http://download.java.net/jdk7/binaries/
Ok, Gili thanks for additional informations -> Candidate for NB 6.5 Release Notes