[OS-JIRA] Created: (CAY-153) Can't save model

From: jir..bjectstyle.org
Date: Sat Jun 26 2004 - 18:58:46 EDT


Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-153

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: CAY-153
    Summary: Can't save model
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: Cayenne
 Components:
             CayenneModeler GUI
   Versions:
             1.1 [DEV]

   Assignee: Andrus Adamchik
   Reporter: Rodrigo Mendoza

    Created: Sat, 26 Jun 2004 6:58 PM
    Updated: Sat, 26 Jun 2004 6:58 PM

Description:
CayenneModeler Info

Version: 1.1M7

Build Date: June 14 2004

Exception:

=================================

java.lang.ClassCastException

        at org.objectstyle.cayenne.map.ObjRelationship.getValidRelationshipPath(ObjRelationship.java:449)

        at org.objectstyle.cayenne.map.ObjRelationship.encodeAsXML(ObjRelationship.java:143)

        at org.objectstyle.cayenne.util.XMLEncoder.print(XMLEncoder.java:115)

        at org.objectstyle.cayenne.map.DataMap.encodeOBJRelationshipsAsXML(DataMap.java:249)

        at org.objectstyle.cayenne.map.DataMap.encodeAsXML(DataMap.java:226)

        at org.objectstyle.cayenne.map.DataMap.encodeAsXML(DataMap.java:175)

        at org.objectstyle.cayenne.project.DataMapFile.save(DataMapFile.java:98)

        at org.objectstyle.cayenne.project.ProjectFile.saveTemp(ProjectFile.java:183)

        at org.objectstyle.cayenne.project.Project.processSave(Project.java:448)

        at org.objectstyle.cayenne.project.Project.save(Project.java:375)

        at org.objectstyle.cayenne.modeler.action.SaveAction.saveAll(SaveAction.java:116)

        at org.objectstyle.cayenne.modeler.action.SaveAction.performAction(SaveAction.java:137)

        at org.objectstyle.cayenne.modeler.action.SaveAction.performAction(SaveAction.java:126)

        at org.objectstyle.cayenne.modeler.action.CayenneAction.actionPerformed(CayenneAction.java:184)

        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

        at java.awt.Component.processMouseEvent(Component.java:5100)

        at java.awt.Component.processEvent(Component.java:4897)

        at java.awt.Container.processEvent(Container.java:1569)

        at java.awt.Component.dispatchEventImpl(Component.java:3615)

        at java.awt.Container.dispatchEventImpl(Container.java:1627)

        at java.awt.Component.dispatchEvent(Component.java:3477)

        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

        at java.awt.Container.dispatchEventImpl(Container.java:1613)

        at java.awt.Window.dispatchEventImpl(Window.java:1606)

        at java.awt.Component.dispatchEvent(Component.java:3477)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://objectstyle.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



This archive was generated by hypermail 2.0.0 : Sat Jun 26 2004 - 18:58:48 EDT