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 204248 - [71cat] NullPointerException at org.netbeans.beaninfo.editors.ColorEditor$NbColorChooserPanel.updateChooser
Summary: [71cat] NullPointerException at org.netbeans.beaninfo.editors.ColorEditor$NbC...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 179243 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-26 04:28 UTC by MackSix
Modified: 2012-09-27 13:08 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182311


Attachments
stacktrace (5.80 KB, text/plain)
2011-10-26 04:28 UTC, MackSix
Details
stacktrace (5.80 KB, text/plain)
2012-05-21 09:15 UTC, asenk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-10-26 04:28:03 UTC
This bug was originally marked as duplicate of bug 179243, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201110240600)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows Vista

User Comments:
MackSix: Changed foreground color on jTree to Button.foreground in AWT (Swing?) palatte and then when I clicke on the ... button to open up the palatte again, this Exception it thrown.

GUEST: selecione la opcion para desplegar el menu que me permitiera buscar en otra fuente y cambiar la que tengo

GUEST: Tryed to open the propertyeditor of a buttons foreground color in GUI-Designer.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.beaninfo.editors.ColorEditor$NbColorChooserPanel.updateChooser(ColorEditor.java:741)
   at javax.swing.plaf.basic.BasicColorChooserUI.selectionChanged(BasicColorChooserUI.java:224)
   at javax.swing.plaf.basic.BasicColorChooserUI.access$100(BasicColorChooserUI.java:47)
   at javax.swing.plaf.basic.BasicColorChooserUI$Handler.stateChanged(BasicColorChooserUI.java:236)
   at javax.swing.colorchooser.DefaultColorSelectionModel.fireStateChanged(DefaultColorSelectionModel.java:149)
   at javax.swing.colorchooser.DefaultColorSelectionModel.setSelectedColor(DefaultColorSelectionModel.java:99)
Comment 1 MackSix 2011-10-26 04:28:08 UTC
Created attachment 112438 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-10-26 05:49:00 UTC
*** Bug 179243 has been marked as a duplicate of this bug. ***
Comment 3 Exceptions Reporter 2012-02-23 02:11:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182311
Comment 4 asenk 2012-05-21 09:15:09 UTC
Created attachment 119675 [details]
stacktrace

1) Create JFrame Form and add JButton
2) Select jButton and click on model property of type Color -. background
3) Click on '...' button - use customizer
4) Select some collor from AWT Palette and click on OK button
5) The color is set
6) Click on '...' button - use customizer again

The exception is thrown
Comment 5 Stanislav Aubrecht 2012-09-27 13:08:13 UTC
Cannot reproduce in 
Product Version: NetBeans IDE Dev (Build 20120926-82453ecb70d7)
Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)

Also no exception reports from NB 7.2