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 225222 - NullPointerException at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.paint
Summary: NullPointerException at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: L&F
: 194685 233128 233177 233185 233228 233322 234431 (view as bug list)
Depends on:
Blocks: 232916
  Show dependency tree
 
Reported: 2013-01-23 10:20 UTC by betovilela
Modified: 2013-08-22 14:17 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197891


Attachments
stacktrace (5.04 KB, text/plain)
2013-01-23 10:20 UTC, betovilela
Details
stacktrace (3.66 KB, text/plain)
2013-07-23 11:09 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description betovilela 2013-01-23 10:20:15 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
betovilela: Efetuando  checkout SVN




Stacktrace: 
java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.paint(WindowsTableHeaderUI.java:170)
   at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:151)
   at javax.swing.plaf.basic.BasicTableHeaderUI.paintCell(BasicTableHeaderUI.java:710)
   at javax.swing.plaf.basic.BasicTableHeaderUI.paint(BasicTableHeaderUI.java:652)
   at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
   at javax.swing.JComponent.paintComponent(JComponent.java:778)
Comment 1 betovilela 2013-01-23 10:20:17 UTC
Created attachment 130515 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2013-01-23 16:07:17 UTC
It's very likely a problem in Plugin Manager UI caused by this JDK bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429812

All tables in Plugin Manager window use custom table header renders to paint sort icons when necessary. I suggest using RowSorter support introduced in JDK 1.6. It might remove some code that must be maintained now.
Comment 3 Libor Fischmeistr 2013-06-25 11:06:41 UTC
Hello, unfortunately I was not able to reproduce this bug. If it still appears to you, please repopen this issue with full IDE log (http://wiki.netbeans.org/FaqLogMessagesFile) and step by step description how to reproduce it.

Thanks
Comment 4 Marian Mirilovic 2013-07-22 15:37:08 UTC
*** Bug 194685 has been marked as a duplicate of this bug. ***
Comment 5 Marian Mirilovic 2013-07-22 15:38:15 UTC
*** Bug 233128 has been marked as a duplicate of this bug. ***
Comment 6 Marian Mirilovic 2013-07-22 15:47:15 UTC
*** Bug 233185 has been marked as a duplicate of this bug. ***
Comment 7 Marian Mirilovic 2013-07-22 15:49:19 UTC
*** Bug 233177 has been marked as a duplicate of this bug. ***
Comment 8 Exceptions Reporter 2013-07-23 07:27:44 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=197891
Comment 9 Jiri Rechtacek 2013-07-23 08:43:13 UTC
*** Bug 233228 has been marked as a duplicate of this bug. ***
Comment 10 Marian Mirilovic 2013-07-23 09:35:30 UTC
10 dups in 3 days ... P2
Comment 11 Milos Kleint 2013-07-23 11:09:44 UTC
Created attachment 137613 [details]
stacktrace

opened plugins dialog
Comment 12 Jiri Rechtacek 2013-07-23 11:26:49 UTC
We are going to try some workaround of JDK bug -http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429812. The frequency of NPE has been increased after changeset http://hg.netbeans.org/main-silver/rev/c6c99ec43804
Comment 13 Jiri Rechtacek 2013-07-23 13:51:46 UTC
(In reply to comment #12)
> We are going to try some workaround of JDK bug
> -http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429812. The frequency of
> NPE has been increased after changeset
> http://hg.netbeans.org/main-silver/rev/c6c99ec43804

The changeset was rolled back. We can decrease the priority back to P3.
Comment 14 Quality Engineering 2013-07-24 02:35:49 UTC
Integrated into 'main-silver', will be available in build *201307232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/be4490baf1c7
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: rollback c6c99ec43804 (see #225222)
Comment 15 Marian Mirilovic 2013-07-24 15:03:16 UTC
*** Bug 233322 has been marked as a duplicate of this bug. ***
Comment 16 Libor Fischmeistr 2013-08-13 12:20:35 UTC
Fixed in changeset: http://hg.netbeans.org/core-main/rev/9c73b339ebde
Comment 17 Quality Engineering 2013-08-14 14:38:54 UTC
Integrated into 'main-silver', will be available in build *201308141142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9c73b339ebde
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #225222: NullPointerException at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.paint
Comment 18 Marian Mirilovic 2013-08-22 14:17:25 UTC
*** Bug 234431 has been marked as a duplicate of this bug. ***