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 177770 - Exception when "Manage Devices" dialog is called again
Summary: Exception when "Manage Devices" dialog is called again
Status: VERIFIED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 11:01 UTC by vitalys
Modified: 2010-01-22 02:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vitalys 2009-11-27 11:01:35 UTC
When "Manage Device" dialog is invoked, called, and invoked again, there is an exception thrown.
The dialog is invoked via "Services" (main navigation
panel)-> "Java Card Runtimes" -> "Bundled Java Card 3.0.2 Runtime" ->
"Customize" -> "Manage Devices..." button.

There is an exception trace below:

java.lang.IllegalStateException: Cannot add to a group that has already been added to another group
	at org.netbeans.validation.api.ui.ValidationGroupImpl.addValidationGroup(ValidationGroupImpl.java:584)
	at org.netbeans.validation.api.ui.ValidationGroup.addValidationGroup(ValidationGroup.java:388)
	at org.netbeans.modules.javacard.ri.platform.installer.ServersPanel.propertyChange(ServersPanel.java:326)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at org.openide.explorer.ExplorerManager$2.run(ExplorerManager.java:865)
	at org.openide.util.Mutex.doEvent(Mutex.java:1335)
	at org.openide.util.Mutex.readAccess(Mutex.java:345)
	at org.openide.explorer.ExplorerManager.fireInAWT(ExplorerManager.java:862)
	at org.openide.explorer.ExplorerManager$1AtomicSetSelectedNodes.fire(ExplorerManager.java:282)
	at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:293)
	at org.netbeans.modules.javacard.ri.platform.installer.ServersPanel.<init>(ServersPanel.java:99)
	at org.netbeans.modules.javacard.ri.platform.loader.DevicesForm.jButton1ActionPerformed(DevicesForm.java:135)
...
Comment 1 _ tboudreau 2009-11-27 13:08:46 UTC
Workaround in place;  will be fixed by upgrade of SimpleValidation library