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 200811300201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-10-generic, i386 User Comments: stefanv: i just started my application with the --laf Nimbus setting Stacktrace: java.lang.NullPointerException at org.netbeans.core.windows.view.ui.toolbars.ToolbarContainer.getName(ToolbarContainer.java:165) at com.sun.java.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1460) at com.sun.java.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1452) at com.sun.java.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1140) at com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel$.getStyle(NimbusLookAndFeel.java:88) at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:211)
Created attachment 74311 [details] stacktrace
Build: NetBeans IDE Dev (Build 200812010201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-10-generic, i386 User Comments: Unable to start IDE with Nimbus L&F. Stacktrace: java.lang.NullPointerException at org.netbeans.core.windows.view.ui.toolbars.ToolbarContainer.getName(ToolbarContainer.java:165) at com.sun.java.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1460) at com.sun.java.swing.plaf.nimbus.NimbusDefaults$LazyStyle.matches(NimbusDefaults.java:1452) at com.sun.java.swing.plaf.nimbus.NimbusDefaults.getStyle(NimbusDefaults.java:1140) at com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel$.getStyle(NimbusLookAndFeel.java:88) at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:211)
Created attachment 74327 [details] stacktrace
*** Issue 154118 has been marked as a duplicate of this issue. ***
fixed 23fc2a2c3bd2
Stando, where is the fix. I have updated trunk and still I can not start the ide due this NPE. Only one difference is that I use GTK. For the stacktrace see issue #154118 that was marked as duplicate of this issue.
it is fixed, i just didn't push my changes yet (the joy of hg versioning system:)
Please push the change set or attach the diff here at least. It is P1. The main window does not appear at all.
Please push the changes as soon as possible. It's show stopper to work on the trunk.
http://hg.netbeans.org/core-main/rev/23fc2a2c3bd2 workaround is switching to metal l&f
manually merged to main repo: a857560e4f74
Integrated into 'main-golden', will be available in build *200812020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/23fc2a2c3bd2 User: S. Aubrecht <saubrecht@netbeans.org> Log: #154164 - NPE
verified on both GTK and Nimbus L&F: Product Version: NetBeans IDE Dev (Build 200812030201) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Linux version 2.6.27-10-generic running on i386; UTF-8; en_US (nb) Userdir: /home/petr/.netbeans/dev
*** Bug 154118 has been marked as a duplicate of this bug. ***