[OS-JIRA] Created: (CAY-268) Import EOModel with Flattened Relationships Fails

From: jir..bjectstyle.org
Date: Sat Feb 05 2005 - 23:08:58 EST

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-269) DB2 throws when there are line breaks in SQLTemplate"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-268
        Summary: Import EOModel with Flattened Relationships Fails
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
       Versions:
                 1.1

       Assignee: Andrus Adamchik
       Reporter: Dov Rosenberg

        Created: Sat, 5 Feb 2005 11:08 PM
        Updated: Sat, 5 Feb 2005 11:08 PM
    Environment: Mac OSX 10.3.7, Java 1.4.2, WO 5.2.3

    Description:
    Trying to import EOModel with flattened relationships, throws error below.

    CayenneModeler ver. 1.1
    Build Dec 6 2004

    dov:~/cayenne/bin dov$ java.lang.NullPointerException
            at org.objectstyle.cayenne.wocompat.EOModelProcessor.makeFlatRelationshi
    ps(EOModelProcessor.java:697)
            at org.objectstyle.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModel
    Processor.java:207)
            at org.objectstyle.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModel
    Processor.java:134)
            at org.objectstyle.cayenne.modeler.action.ImportEOModelAction.importEOMo
    del(ImportEOModelAction.java:155)
            at org.objectstyle.cayenne.modeler.action.ImportEOModelAction.performAct
    ion(ImportEOModelAction.java:119)
            at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(Ca
    yenneAction.java:188)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
    19)
            at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1872)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
    )
            at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
    113)
            at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
    d(BasicMenuItemUI.java:943)
            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:456)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:234)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.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 : Sat Feb 05 2005 - 23:09:00 EST