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 175940 - NullPointerException at javax.swing.border.CompoundBorder.getBorderInsets
Summary: NullPointerException at javax.swing.border.CompoundBorder.getBorderInsets
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Becicka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 14:32 UTC by joao_neto
Modified: 2010-02-17 01:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150396


Attachments
stacktrace (2.67 KB, text/plain)
2009-11-02 14:32 UTC, joao_neto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joao_neto 2009-11-02 14:32:00 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: OpenJDK Client VM, 14.0-b15, OpenJDK Runtime Environment, 1.6.0_0-b16
OS: Linux, 2.6.30.8-64.fc11.i686.PAE, i386

User Comments:
GUEST: from the Kenai tab i was trying to expand "NetBeans IDE Samples Catalog". It would not expand.

GUEST: clicked on online user from Kenai project



Stacktrace: 
java.lang.NullPointerException
        at javax.swing.border.CompoundBorder.getBorderInsets(CompoundBorder.java:135)
        at javax.swing.border.CompoundBorder.getBorderInsets(CompoundBorder.java:157)
        at javax.swing.JComponent.setBorder(JComponent.java:1777)
        at org.netbeans.modules.kenai.ui.treelist.RendererPanel.configure(RendererPanel.java:151)
        at org.netbeans.modules.kenai.ui.treelist.TreeListNode.getRenderer(TreeListNode.java:162)
        at org.netbeans.modules.kenai.ui.treelist.TreeList$TreeListRenderer.getListCellRendererComponent(TreeList.java:249)
Comment 1 joao_neto 2009-11-02 14:32:05 UTC
Created attachment 90430 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-11-02 14:32:11 UTC
This issue already has 14 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150396
Comment 3 Jan Becicka 2009-11-03 11:19:27 UTC
Stando, any idea? It is OpenJDK specific. Thanks
Comment 4 Stanislav Aubrecht 2009-11-03 11:31:16 UTC
could be a bug in openjdk - the reports are from jdk 1.6 update "0". on the other hand we're abusing swing a little as
well because we're using 'list' borders from UIManager for non-list component.
Comment 5 Jan Becicka 2009-11-03 14:21:25 UTC
I implemented workaround. Exception will be just logged. border will not be set on openjdk.
Comment 6 Quality Engineering 2009-11-04 10:50:45 UTC
Integrated into 'main-golden', will be available in build *200911040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7eeea6d10f7c
User: Jan Becicka <jbecicka@netbeans.org>
Log: #175940: NullPointerException at javax.swing.border.CompoundBorder.getBorderInsets