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

Modeler: NPE in ObjEntity sync action

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.B2, 4.1.M1
    • 4.0.RC1, 4.1.M2
    • Modeler
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: