[OS-JIRA] Created: (CAY-445) Modeler fails to read DataNodes

From: jira-norepl..bjectstyle.org
Date: Mon Feb 13 2006 - 10:26:17 EST

  • Next message: Cris Daniluk: "Re: Caching update"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-445
        Summary: Modeler fails to read DataNodes
           Type: Bug

         Status: Assigned
       Priority: Critical

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

       Assignee: Andrus Adamchik
       Reporter: Cris Daniluk

        Created: Mon, 13 Feb 2006 10:25 AM
        Updated: Mon, 13 Feb 2006 10:25 AM

    Description:
    Received exception while saving map in 2/12 nightly version of modeler. On further investigation, my DataNode is not opened successfully either - the node is present in the tree view, but no data is populated. The same map opens fine in 1.2M10

    CayenneModeler Info
    Version: 1.2-dev-2006-2-12
    Build Date: February 12 2006
    Exception:
    =================================
    java.lang.ClassCastException: org.objectstyle.cayenne.access.DataNode$TransactionDataSource
            at org.objectstyle.cayenne.project.DataNodeFile.save(DataNodeFile.java:100)
            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(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

    ---------------------------------------------------------------------
    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 Feb 13 2006 - 10:26:18 EST