I have now reverted rev 16597 to stop these exceptions, so that I can complete my merging work.
Tom, please feel free to re-commit your changes, but please test by placing edges on the diagram... I don't think many classes have implemented the Clarifiable interface yet, which could be the problem. Regards, Dave Dave Thompson wrote: > Hi All, > > Anyone else having the same problem? > > I draw two classes, and when I draw an association between them, I get this... > > Regards, > > Dave > > > > Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: > org.argouml.uml.diagram.ui.FigAssociation cannot be cast to > org.argouml.uml.diagram.ui.Clarifiable > at > org.argouml.uml.diagram.ui.SelectionEdgeClarifiers.paint(SelectionEdgeClarifiers.java:66) > at org.tigris.gef.base.SelectionManager.paint(SelectionManager.java:412) > at org.tigris.gef.base.Editor.paint(Editor.java:615) > at > org.tigris.gef.graph.presentation.JGraphInternalPane.paintComponent(JGraph.java:622) > at javax.swing.JComponent.paint(Unknown Source) > at javax.swing.JComponent.paintToOffscreen(Unknown Source) > at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) > at javax.swing.RepaintManager.paint(Unknown Source) > at javax.swing.JComponent._paintImmediately(Unknown Source) > at javax.swing.JComponent.paintImmediately(Unknown Source) > at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) > at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) > at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) > at > javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown > Source) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: > org.argouml.uml.diagram.ui.FigAssociation cannot be cast to > org.argouml.uml.diagram.ui.Clarifiable > at > org.argouml.uml.diagram.ui.SelectionEdgeClarifiers.paint(SelectionEdgeClarifiers.java:66) > at org.tigris.gef.base.SelectionManager.paint(SelectionManager.java:412) > at org.tigris.gef.base.Editor.paint(Editor.java:615) > at > org.tigris.gef.graph.presentation.JGraphInternalPane.paintComponent(JGraph.java:622) > at javax.swing.JComponent.paint(Unknown Source) > at javax.swing.JComponent.paintToOffscreen(Unknown Source) > at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) > at javax.swing.RepaintManager.paint(Unknown Source) > at javax.swing.JComponent._paintImmediately(Unknown Source) > at javax.swing.JComponent.paintImmediately(Unknown Source) > at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) > at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) > at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) > at > javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown > Source) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > > ------------------------------------------------------ > http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1024707 > > To unsubscribe from this discussion, e-mail: > [[email protected]]. ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1024737 To unsubscribe from this discussion, e-mail: [[email protected]].
