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.
Product Version: NetBeans IDE Dev (Build 201306181109) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 During installation Netbeans showed a short error dialog, which I could barely read. Looking at the .nbi/ logs I found this:b 2013-06-19 21:27:16.368]: [stderr]: org.netbeans.modules.junitlib [1.1 nbms-and-javadoc-11156-on-20130619] [2013-06-19 21:27:18.577]: [stdout]: Downloading JavaScript2 Editor [2013-06-19 21:27:20.986]: [stderr]: WARNING [org.netbeans.core.modules] [2013-06-19 21:27:20.986]: [stderr]: java.lang.NullPointerException [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.modules.css.visual.CssStylesTCController$ShutdownHook.beforeSave(CssStylesTCController.java:211) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.windows.WindowManagerImpl.fireEvent(WindowManagerImpl.java:2037) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.windows.WindowSystemImpl.save(WindowSystemImpl.java:91) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.NbLifeExit.doStopInfra(NbLifeExit.java:147) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:97) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.startup.ModuleSystem$2.run(ModuleSystem.java:343) [2013-06-19 21:27:20.986]: [stderr]: [catch] at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:1973) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:349) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:134) [2013-06-19 21:27:20.986]: [stderr]: at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:94) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventQueue.access$200(EventQueue.java:103) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventQueue$3.run(EventQueue.java:694) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventQueue$3.run(EventQueue.java:692) [2013-06-19 21:27:20.986]: [stderr]: at java.security.AccessController.doPrivileged(Native Method) [2013-06-19 21:27:20.986]: [stderr]: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [2013-06-19 21:27:20.986]: [stderr]: at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) [2013-06-19 21:27:20.986]: [stderr]: INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.8.0.v20120529-1548 256 [2013-06-19 21:27:20.986]: [stderr]: INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.8.0.v20120529-1548 stopped [2013-06-19 21:27:20.987]: [stderr]: INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.8.0.v20120529-1548 stopped [2013-06-19 21:27:21.689]: [stderr]: Diagnostic information
It's reproducible also if you run IDE from command line with options: ./bin/netbeans -J-Dnetbeans.close=true --nosplash -J-Dorg.netbeans.core.WindowSystem.show=false --userdir /tmp/newud, then NPE java.lang.NullPointerException at org.netbeans.modules.css.visual.CssStylesTCController$ShutdownHook.beforeSave(CssStylesTCController.java:211)
*** Bug 231607 has been marked as a duplicate of this bug. ***
fixed in web-main#598ef9387bc2 The author of the erroneous code is petrk@netbeans.org but I have no idea who he is :-)
Integrated into 'main-golden', will be available in build *201306252301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/598ef9387bc2 User: Marek Fukala <mfukala@netbeans.org> Log: #231544 - java.lang.NullPointerException at org.netbeans.modules.css.visual.CssStylesTCController$ShutdownHook.beforeSave(CssStylesTCController.java:211)
> fixed in web-main#598ef9387bc2 > > The author of the erroneous code is petrk@netbeans.org but I have no idea who > he is :-) Probably my nick is there because of a merge - I have never touched code not related to CND. Sorry anyway :)
(In reply to comment #5) > > fixed in web-main#598ef9387bc2 > > > > The author of the erroneous code is petrk@netbeans.org but I have no idea who > > he is :-) > > Probably my nick is there because of a merge - I have never touched code not > related to CND. Sorry anyway :) I'm sorry Petr ... too rushy evaluation :-)