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 202695 - [71cat] NullPointerException: Colors cannot be null
Summary: [71cat] NullPointerException: Colors cannot be null
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 18:23 UTC by ytn01
Modified: 2011-10-04 14:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181413


Attachments
stacktrace (11.13 KB, text/plain)
2011-09-26 18:23 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2011-09-26 18:23:02 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3425
OS: Mac OS X

User Comments:
ytn01: Created a new Java Application project with an autogenerated main class.
Added a new JFrame dialog to the project via the project's tree context menu.
While the new JFrame document was loading, the excaption was generated.




Stacktrace: 
java.lang.NullPointerException: Colors cannot be null
   at java.awt.GradientPaint.<init>(GradientPaint.java:71)
   at org.netbeans.modules.palette.ui.PalettePanel$SearchPanel.paintComponent(PalettePanel.java:646)
   at javax.swing.JComponent.paint(JComponent.java:1029)
   at javax.swing.JComponent.paintChildren(JComponent.java:862)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:862)
Comment 1 ytn01 2011-09-26 18:23:06 UTC
Created attachment 111203 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2011-09-27 14:43:37 UTC
core-main db8b9435ad54
Comment 3 Quality Engineering 2011-10-04 14:10:16 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/db8b9435ad54
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #202695 - NPE