You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/01/29 07:39:00 UTC

[jira] [Created] (CAY-2401) Modeler: NPE in ObjEntity sync action

Nikita Timofeev created CAY-2401:
------------------------------------

             Summary: Modeler: NPE in ObjEntity sync action
                 Key: CAY-2401
                 URL: https://issues.apache.org/jira/browse/CAY-2401
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 4.1.M1, 4.0.B2
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.0.B3, 4.1.M2


Here is stack trace with the Exception:
{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)