[JIRA] Created: (CAY-769) crash in modeler

From: edgar grimberg (JIRA) ("edgar)
Date: Wed Mar 14 2007 - 09:54:43 EDT

  • Next message: Mike Kienenberger: "Re: Another bad Maven day"

    crash in modeler
    ----------------

                     Key: CAY-769
                     URL: https://issues.apache.org/cayenne/browse/CAY-769
                 Project: Cayenne
              Issue Type: Bug
              Components: Cayenne Core Library
                Reporter: edgar grimberg
             Assigned To: Andrus Adamchik

    CayenneModeler Info
    Version: 1.2.2
    Build Date: January 10 2007
    Exception:
    =================================
    java.lang.ClassCastException: org.objectstyle.cayenne.map.DbAttribute
            at org.objectstyle.cayenne.map.ObjRelationship.refreshFromPath(ObjRelationship.java:549)
            at org.objectstyle.cayenne.map.ObjRelationship.getDbRelationships(ObjRelationship.java:215)
            at org.objectstyle.cayenne.project.validator.ObjRelationshipValidator.validateObject(ObjRelationshipValidator.java:124)
            at org.objectstyle.cayenne.project.validator.TreeNodeValidator.validate(TreeNodeValidator.java:162)
            at org.objectstyle.cayenne.project.validator.Validator.validate(Validator.java:204)
            at org.objectstyle.cayenne.project.validator.Validator.validate(Validator.java:190)
            at org.objectstyle.cayenne.modeler.action.ValidateAction.performAction(ValidateAction.java:99)
            at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:199)
            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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            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:1778)
            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)

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Wed Mar 14 2007 - 09:55:17 EDT