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 166214

Summary: [67cat] NullPointerException at org.jdesktop.swingx.plaf.LookAndFeelAddons.getUI
Product: db Reporter: Michel Graciano <hmichel>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker CC: hmichel
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=151948
Issue Type: DEFECT Exception Reporter: 151948
Attachments: stacktrace
stacktrace
stacktrace

Description Michel Graciano 2009-05-28 20:03:21 UTC
Build: NetBeans IDE Dev (Build 200905250201)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-14-generic, i386

Stacktrace: 
java.lang.NullPointerException
        at org.jdesktop.swingx.plaf.LookAndFeelAddons.getUI(LookAndFeelAddons.java:313)
        at org.jdesktop.swingx.JXMonthView.updateUI(JXMonthView.java:768)
        at org.jdesktop.swingx.JXMonthView.<init>(JXMonthView.java:319)
        at org.jdesktop.swingx.JXMonthView.<init>(JXMonthView.java:259)
        at org.jdesktop.swingx.JXDatePicker.initMonthView(JXDatePicker.java:328)
        at org.jdesktop.swingx.JXDatePicker.init(JXDatePicker.java:320)
Comment 1 Michel Graciano 2009-05-28 20:03:28 UTC
Created attachment 82943 [details]
stacktrace
Comment 2 Michel Graciano 2009-05-28 20:05:17 UTC
I was just running an sql script... :(
Comment 3 Michel Graciano 2009-05-28 20:05:29 UTC
Build: NetBeans IDE Dev (Build 200905250201)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-14-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.jdesktop.swingx.plaf.LookAndFeelAddons.getUI(LookAndFeelAddons.java:313)
        at org.jdesktop.swingx.JXMonthView.updateUI(JXMonthView.java:768)
        at org.jdesktop.swingx.JXMonthView.<init>(JXMonthView.java:319)
        at org.jdesktop.swingx.JXMonthView.<init>(JXMonthView.java:259)
        at org.jdesktop.swingx.JXDatePicker.initMonthView(JXDatePicker.java:328)
        at org.jdesktop.swingx.JXDatePicker.init(JXDatePicker.java:320)
Comment 4 Michel Graciano 2009-05-28 20:05:38 UTC
Created attachment 82944 [details]
stacktrace
Comment 5 Michel Graciano 2009-05-28 20:11:31 UTC
Ok... I restarted the IDE and everything is back to normal. Any idea what was wrong?
Comment 6 Michel Graciano 2009-08-26 15:24:59 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-15-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.jdesktop.swingx.plaf.LookAndFeelAddons.getUI(LookAndFeelAddons.java:313)
        at org.jdesktop.swingx.JXMonthView.updateUI(JXMonthView.java:768)
        at org.jdesktop.swingx.JXMonthView.<init>(JXMonthView.java:319)
        at org.jdesktop.swingx.JXMonthView.<init>(JXMonthView.java:259)
        at org.jdesktop.swingx.JXDatePicker.initMonthView(JXDatePicker.java:328)
        at org.jdesktop.swingx.JXDatePicker.init(JXDatePicker.java:320)
Comment 7 Michel Graciano 2009-08-26 15:25:03 UTC
Created attachment 86694 [details]
stacktrace
Comment 8 Jiri Rechtacek 2009-09-25 08:52:51 UTC
A bug in org.jdesktop.swingx.JXTable, not part of DB tools in IDE, but a workaround was added in core-main/rev/7c1184300c92
Comment 9 Quality Engineering 2009-09-26 21:12:31 UTC
Integrated into 'main-golden', will be available in build *200909251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7c1184300c92
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #166214: workaround NPE at org.jdesktop.swingx.plaf.LookAndFeelAddons.getUI