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 133852 - [NIMBUS] NPE at javax.swing.JSplitPane.setUIProperty(JSplitPane.java:1061)
Summary: [NIMBUS] NPE at javax.swing.JSplitPane.setUIProperty(JSplitPane.java:1061)
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 118059 (view as bug list)
Depends on:
Blocks: 120656
  Show dependency tree
 
Reported: 2008-04-24 17:12 UTC by mslama
Modified: 2008-12-22 14:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE when opening Proeperties view (4.00 KB, text/plain)
2008-04-24 17:21 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2008-04-24 17:12:33 UTC
I will attach call stack. It happens on Nimbus L&F when Properties view is opened. Reason is that we set custom UI class
extending from BasicSplitPaneUI. Our subclass calls BasicSplitPaneUI.installDefaults() (by super.installDefaults()). And
this code relay on property UIManager.get("SplitPane.dividerSize") but it is not set on Nimbus. Fix is probably not use
our custom UI on Nimbus. I must check how it will look like.
Comment 1 mslama 2008-04-24 17:21:23 UTC
Created attachment 60661 [details]
NPE when opening Proeperties view
Comment 2 mslama 2008-04-29 09:34:01 UTC
Fixed a991b363c381
Comment 3 mslama 2008-04-29 12:13:05 UTC
*** Issue 118059 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2008-04-29 15:56:01 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #165 build
Changeset: http://hg.netbeans.org/main/rev/a991b363c381
User: Marek Slama <mslama@netbeans.org>
Log: #133852: Do not set our custom UI for JSplitPane on Nimbus L&F.