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

Exception when attempting to "Infer Relationships"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0RC2
    • 3.0RC3
    • None
    • Ubuntu 9.1
      java -version
      java version "1.6.0_0"
      OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
      OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)

      Cayenne 3.0RC2 (Jan 30 2010..)

    Description

      CayenneModeler Error Please copy the message below and report this error by going to http://issues.apache.org/cayenne/

      CayenneModeler Info
      Version: cayenne.version
      Build Date: cayenne.build.date
      Exception:
      =================================
      java.lang.NullPointerException
      at org.apache.cayenne.modeler.dialog.autorelationship.InferRelationshipsControllerBase.createJoin(InferRelationshipsControllerBase.java:157)
      at org.apache.cayenne.modeler.dialog.autorelationship.InferRelationshipsControllerBase.setRelationships(InferRelationshipsControllerBase.java:71)
      at org.apache.cayenne.modeler.dialog.autorelationship.InferRelationshipsController.<init>(InferRelationshipsController.java:65)
      at org.apache.cayenne.modeler.action.InferRelationshipsAction.performAction(InferRelationshipsAction.java:47)
      at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
      at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
      at java.awt.Component.processMouseEvent(Component.java:6108)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:5873)
      at java.awt.Container.processEvent(Container.java:2105)
      at java.awt.Component.dispatchEventImpl(Component.java:4469)
      at java.awt.Container.dispatchEventImpl(Container.java:2163)
      at java.awt.Component.dispatchEvent(Component.java:4295)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
      at java.awt.Container.dispatchEventImpl(Container.java:2149)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4295)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

      Attachments

        1. CDB.map.xml
          582 kB
          Allan Emord

        Activity

          People

            andrus Andrus Adamchik
            allan Allan Emord
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: