[Issue 6397] New - Cannot add comment to association class

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6397
                 Issue #|6397
                 Summary|Cannot add comment to association class
               Component|argouml
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Diagrams
             Assigned to|bobtarling
             Reported by|bobtarling






------- Additional comments from [email protected] Sun Jan  8 15:24:02 -0800 2012 -------
Try and add a comment to an association class. The following stack trace is 
generated.

java.lang.ClassCastException: org.argouml.uml.diagram.ui.FigAssociationClass 
cannot be cast to org.tigris.gef.presentation.FigNode
	at 
org.argouml.uml.diagram.static_structure.ui.UMLClassDiagram.createDiagramElement
(UMLClassDiagram.java:867)
	at org.argouml.uml.diagram.ui.UMLDiagram.drop(UMLDiagram.java:648)
	at 
org.argouml.uml.diagram.static_structure.ui.ClassDiagramRenderer.getFigEdgeFor(C
lassDiagramRenderer.java:161)
	at 
org.tigris.gef.base.LayerPerspective.edgeAdded(LayerPerspective.java:259)
	at 
org.tigris.gef.graph.MutableGraphSupport.fireEdgeAdded(MutableGraphSupport.java:
320)
	at 
org.argouml.uml.diagram.static_structure.ClassDiagramGraphModel.addEdge(ClassDia
gramGraphModel.java:431)
	at 
org.argouml.uml.diagram.ui.ActionAddNote.actionPerformed(ActionAddNote.java:150)
	at 
org.argouml.uml.diagram.ui.RadioAction.actionPerformed(RadioAction.java:92)

I am leaving on holiday tomorrow so not likely to have a chance to resolve this 
in the short term so any other assistance would be appreciated.

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

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.