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.

Bug 213901 - NullPointerException at org.netbeans.core.windows.WindowSystemImpl.load
Summary: NullPointerException at org.netbeans.core.windows.WindowSystemImpl.load
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-10 09:31 UTC by Exceptions Reporter
Modified: 2013-05-31 01:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189280


Attachments
stacktrace (1.25 KB, text/plain)
2012-06-10 09:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-10 09:31:04 UTC
This bug was originally marked as duplicate of bug 210279, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows 7

User Comments:
gilbertoca: Today, the update icon appers. After install all the plugins updates and click on Restart IDE I get this nullpointexceptions

GUEST: ??????????, ? ?????? ????? ??????????




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:79)
   at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:234)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
   at java.awt.EventQueue.access$000(EventQueue.java:102)
   at java.awt.EventQueue$3.run(EventQueue.java:662)
Comment 1 Exceptions Reporter 2012-06-10 09:31:09 UTC
Created attachment 120612 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-06-11 08:59:56 UTC

*** This bug has been marked as a duplicate of bug 210279 ***
Comment 3 _ wadechandler 2013-05-01 17:59:26 UTC
This is not a duplicate. This is caused by Nimbus and thread safety and NB not following the Swing guidelines. This should at least be looked at to determine if it can be solved. This still affects at least 7.2.1, and I imagine 7.3, but have yet to confirm that. I can cause this to happen in the NB IDE 7.2.1 and an RCP app using 7.2.1 platform. There should be some way to annotate a class to have the system spawn off to the EDT with invokeAndWait or invokeLater with a callback to cause the thread to wake backup and continue working.
Comment 4 Stanislav Aubrecht 2013-05-30 13:04:47 UTC
Actually the original bug was a duplicate of #210279

Only this report points to problem with Nimbus l&f: http://statistics.netbeans.org/exceptions/exception.do?id=589094
And that particular case is fixed in core-main 7f26464bc0de
Comment 5 Quality Engineering 2013-05-31 01:20:48 UTC
Integrated into 'main-golden', will be available in build *201305302301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7f26464bc0de
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #213901 - updateUI in EDT