Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-268

Support for importing all kinds of EOF inheritance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1 [LEGACY]
    • Undefined future
    • EOF integration
    • None
    • 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)

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--cay-268-patch.txt
          13 kB
          Andrus Adamchik
        2. ASF.LICENSE.NOT.GRANTED--Archive.zip
          42 kB
          Dov Rosenberg

        Activity

          People

            andrus Andrus Adamchik
            conviveon Dov Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: