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

Modeler: NPE in ObjEntity sync action

    Details

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

      Description

      Here is stack trace with the Exception:

      CayenneModeler Info
      Version: 4.1.M1
      Build Date: Oct 06 2017 09:23:31
      Exception: 
      =================================
      java.lang.NullPointerException
          at org.apache.cayenne.dbsync.merge.context.EntityMergeSupport.isSameAttributes(EntityMergeSupport.java:432)
          at org.apache.cayenne.dbsync.merge.context.EntityMergeSupport.objRelationshipHasDbRelationship(EntityMergeSupport.java:404)
          at org.apache.cayenne.dbsync.merge.context.EntityMergeSupport.shouldAddToObjEntity(EntityMergeSupport.java:387)
          at org.apache.cayenne.dbsync.merge.context.EntityMergeSupport.getRelationshipsToAdd(EntityMergeSupport.java:464)
          at org.apache.cayenne.dbsync.merge.context.EntityMergeSupport.addMissingRelationships(EntityMergeSupport.java:183)
          at org.apache.cayenne.dbsync.merge.context.EntityMergeSupport.synchronizeWithDbEntity(EntityMergeSupport.java:148)
          at org.apache.cayenne.modeler.action.ObjEntitySyncAction.syncObjEntity(ObjEntitySyncAction.java:85)
          at org.apache.cayenne.modeler.action.ObjEntitySyncAction.performAction(ObjEntitySyncAction.java:67)
          at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:165)
          at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: