[OS-JIRA] Created: (CAY-434) Modeler exception

From: jira-norepl..bjectstyle.org
Date: Mon Jan 30 2006 - 08:07:37 EST

  • Next message: Andrus Adamchik: "Cayenne stack refactoring heads up"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-434
        Summary: Modeler exception
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne

       Assignee: Andrus Adamchik
       Reporter: weidox

        Created: Mon, 30 Jan 2006 8:06 AM
        Updated: Mon, 30 Jan 2006 8:06 AM
    Environment: winxp, modeler M7

    Description:
    Trying to save the model

    CayenneModeler Info
    Version: 1.2M7
    Build Date: November 7 2005
    Exception:
    =================================
    java.lang.ClassCastException: org.objectstyle.cayenne.map.DbAttribute
            at org.objectstyle.cayenne.map.ObjRelationship.getValidRelationshipPath(ObjRelationship.java:491)
            at org.objectstyle.cayenne.map.ObjRelationship.encodeAsXML(ObjRelationship.java:129)
            at org.objectstyle.cayenne.util.XMLEncoder.print(XMLEncoder.java:115)
            at org.objectstyle.cayenne.map.DataMap.encodeOBJRelationshipsAsXML(DataMap.java:346)
            at org.objectstyle.cayenne.map.DataMap.encodeAsXML(DataMap.java:323)
            at org.objectstyle.cayenne.map.DataMap.encodeAsXML(DataMap.java:247)
            at org.objectstyle.cayenne.project.DataMapFile.save(DataMapFile.java:98)
            at org.objectstyle.cayenne.project.ProjectFile.saveTemp(ProjectFile.java:187)
            at org.objectstyle.cayenne.project.Project.processSave(Project.java:456)
            at org.objectstyle.cayenne.project.Project.save(Project.java:382)
            at org.objectstyle.cayenne.modeler.action.SaveAsAction.saveAll(SaveAsAction.java:107)
            at org.objectstyle.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:141)
            at org.objectstyle.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:131)
            at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:188)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
            at java.awt.Component.processMouseEvent(Component.java:5488)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
            at java.awt.Component.processEvent(Component.java:5253)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1774)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    ---------------------------------------------------------------------
    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 : Mon Jan 30 2006 - 08:07:40 EST