[OS-JIRA] Created: (CAY-415) CayenneModeler ClassCastException on save

From: jira-norepl..bjectstyle.org
Date: Thu Jan 05 2006 - 17:20:37 EST

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-416) batch updated -1 rows"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-415
        Summary: CayenneModeler ClassCastException on save
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 CayenneModeler GUI
       Fix Fors:
                 1.2 [DEV]
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Andrus Adamchik

        Created: Thu, 5 Jan 2006 5:20 PM
        Updated: Thu, 5 Jan 2006 5:20 PM
    Environment: CayenneModeler M10, Mac OS X

    Description:
    Happened during save:

    CayenneModeler Info
    Version: 1.2M10
    Build Date: January 5 2006
    Exception:
    =================================
    java.lang.ClassCastException
            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:357)
            at org.objectstyle.cayenne.map.DataMap.encodeAsXML(DataMap.java:334)
            at org.objectstyle.cayenne.map.DataMap.encodeAsXML(DataMap.java:258)
            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:1819)
            at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
            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:247)
            at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
            at java.awt.Component.processMouseEvent(Component.java:5166)
            at java.awt.Component.processEvent(Component.java:4963)
            at java.awt.Container.processEvent(Container.java:1613)
            at java.awt.Component.dispatchEventImpl(Component.java:3681)
            at java.awt.Container.dispatchEventImpl(Container.java:1671)
            at java.awt.Component.dispatchEvent(Component.java:3543)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
            at java.awt.Container.dispatchEventImpl(Container.java:1657)
            at java.awt.Window.dispatchEventImpl(Window.java:1606)
            at java.awt.Component.dispatchEvent(Component.java:3543)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
            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 : Thu Jan 05 2006 - 17:20:38 EST