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

CayenneModeler Error after save Project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.M1
    • Fix Version/s: 4.1.M2
    • Component/s: None
    • Labels:
      None

      Description

      CayenneModeler Info
      Version: 4.1.M1
      Build Date: Oct 06 2017 09:37:29
      Exception:
      =================================
      java.lang.NullPointerException
      at org.apache.cayenne.modeler.graph.BaseGraphBuilder.encodeAsXML(BaseGraphBuilder.java:571)
      at org.apache.cayenne.util.XMLEncoder.nested(XMLEncoder.java:287)
      at org.apache.cayenne.modeler.graph.extension.GraphSaverDelegate.printGraphs(GraphSaverDelegate.java:60)
      at org.apache.cayenne.modeler.graph.extension.GraphSaverDelegate.visitDataChannelDescriptor(GraphSaverDelegate.java:47)
      at org.apache.cayenne.modeler.graph.extension.GraphSaverDelegate.visitDataChannelDescriptor(GraphSaverDelegate.java:31)
      at org.apache.cayenne.configuration.DataChannelDescriptor.acceptVisitor(DataChannelDescriptor.java:99)
      at org.apache.cayenne.project.FileProjectSaver.saveToTempFile(FileProjectSaver.java:239)
      at org.apache.cayenne.project.FileProjectSaver.saveToTempFiles(FileProjectSaver.java:218)
      at org.apache.cayenne.project.FileProjectSaver.save(FileProjectSaver.java:120)
      at org.apache.cayenne.project.FileProjectSaver.save(FileProjectSaver.java:85)
      at org.apache.cayenne.modeler.action.SaveAction.saveAll(SaveAction.java:68)
      at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:165)
      at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:154)
      at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:165)
      at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
      at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.desktop/java.awt.Component.processEvent(Unknown Source)
      at java.desktop/java.awt.Container.processEvent(Unknown Source)
      at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
      at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
      at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
      at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
      at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              emecas Emerson Castaneda
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: