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

Summary: [NIMBUS] NPE at javax.swing.JSplitPane.setUIProperty(JSplitPane.java:1061)
Product: platform Reporter: mslama <mslama>
Component: ExplorerAssignee: mslama <mslama>
Status: RESOLVED FIXED    
Severity: blocker CC: saubrecht
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 120656    
Attachments: NPE when opening Proeperties view

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.