[Issue 6444] New - IllegalArgumentException with an empty tag name

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6444
                 Issue #|6444
                 Summary|IllegalArgumentException with an empty tag name
               Component|argouml
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Model/MDR
             Assigned to|tfmorris
             Reported by|baonn






------- Additional comments from [email protected] Thu Oct 18 20:38:47 -0700 2012 -------
The following steps will print an IllegalArgumentException in revision 19902

1. Start ArgoUML 
2. Creat a Class diagram 
3. Add a Class object 
4. Select the Class object to enable the Tagged Value tab
5. Leave the Tag column blank and add some text to the Value field

Exception trace 

java.lang.IllegalArgumentException:
at 
org.argouml.model.mdr.ExtensionMechanismsHelperMDRImpl.setType(ExtensionMechanis
msHelperMDRImpl.java:496)
	at 
org.argouml.uml.ui.TabTaggedValuesModel.addRow(TabTaggedValuesModel.java:318)
	at 
org.argouml.uml.ui.TabTaggedValuesModel.setValueAt(TabTaggedValuesModel.java:250
)
	at javax.swing.JTable.setValueAt(JTable.java:2744)
	at javax.swing.JTable.editingStopped(JTable.java:4726)
	at 
javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
	at 
javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.j
ava:368)
	at 
javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:233)
	at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:5481)
	at 
javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:49
6)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2870)
	at javax.swing.JTable.processKeyBinding(JTable.java:5262)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2931)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2833)
	at java.awt.Component.processEvent(Component.java:6282)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4861)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
	at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManage
r.java:762)
	at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusMan
ager.java:1027)
	at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusMan
ager.java:899)
	at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.j
ava:727)
	at java.awt.Component.dispatchEventImpl(Component.java:4731)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:682)
	at java.awt.EventQueue$3.run(EventQueue.java:680)
	at java.security.AccessController.doPrivileged(Native Method)
	at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:7
6)
	at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:8
7)
	at java.awt.EventQueue$4.run(EventQueue.java:696)
	at java.awt.EventQueue$4.run(EventQueue.java:694)
	at java.security.AccessController.doPrivileged(Native Method)
	at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:7
6)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
	at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244
)
	at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151
)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=3021863

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.