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

NullPointerException when saving

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1M3
    • 3.1B1
    • Modeler
    • None
    • Windows 7 Professional 64bit
      Java 1.6.27

    Description

      Stacktrace:

      CayenneModeler Info
      Version: 3.1M3
      Build Date: Sep 13 2011 19:17:16
      Exception:
      =================================
      java.lang.NullPointerException
      at org.apache.cayenne.project.validation.ObjRelationshipValidator.validate(ObjRelationshipValidator.java:140)
      at org.apache.cayenne.project.validation.DefaultProjectValidator$ValidationVisitor.visitObjRelationship(DefaultProjectValidator.java:221)
      at org.apache.cayenne.project.validation.DefaultProjectValidator$ValidationVisitor.visitObjEntity(DefaultProjectValidator.java:215)
      at org.apache.cayenne.project.validation.DefaultProjectValidator$ValidationVisitor.visitDataMap(DefaultProjectValidator.java:127)
      at org.apache.cayenne.project.validation.DefaultProjectValidator$ValidationVisitor.visitDataChannelDescriptor(DefaultProjectValidator.java:110)
      at org.apache.cayenne.project.validation.DefaultProjectValidator$ValidationVisitor.visitDataChannelDescriptor(DefaultProjectValidator.java:92)
      at org.apache.cayenne.configuration.DataChannelDescriptor.acceptVisitor(DataChannelDescriptor.java:112)
      at org.apache.cayenne.project.validation.DefaultProjectValidator.validate(DefaultProjectValidator.java:89)
      at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:186)
      at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:179)
      at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162)
      at org.apache.cayenne.modeler.action.ProjectAction.checkSaveOnClose(ProjectAction.java:99)
      at org.apache.cayenne.modeler.action.ExitAction.exit(ExitAction.java:47)
      at org.apache.cayenne.modeler.CayenneModelerController$1.windowClosing(CayenneModelerController.java:109)
      at java.awt.Window.processWindowEvent(Window.java:1865)
      at javax.swing.JFrame.processWindowEvent(JFrame.java:274)
      at java.awt.Window.processEvent(Window.java:1823)
      at java.awt.Component.dispatchEventImpl(Component.java:4651)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4481)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
      at java.awt.EventQueue.access$000(EventQueue.java:84)
      at java.awt.EventQueue$1.run(EventQueue.java:602)
      at java.awt.EventQueue$1.run(EventQueue.java:600)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:616)
      at java.awt.EventQueue$2.run(EventQueue.java:614)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

      Attachments

        Activity

          People

            Unassigned Unassigned
            joerg776 Joerg Schoenfisch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: