org.apache.cayenne.exp.ExpressionException: [v.2.0.4 October 8 2007] Can't resolve path component: [account.mail]. at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java: 363) at org .apache.cayenne.map.ObjAttribute.getDbAttribute(ObjAttribute.java: 147) at org .apache .cayenne .util.EntityMergeSupport.getMeaningfulFKs(EntityMergeSupport.java: 173) at org .apache .cayenne .modeler .dialog .objentity .EntitySyncController.createMerger(EntitySyncController.java:69) at org .apache .cayenne .modeler .action.DbEntitySyncAction.synchDbEntity(DbEntitySyncAction.java: 75) at org .apache .cayenne .modeler .action.DbEntitySyncAction.performAction(DbEntitySyncAction.java: 60) at org .apache .cayenne .modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)

cayenne-user | Andrus Adamchik | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Modeler Exception for using dots on attributes

    cayenne-user | 8 years ago | Andrus Adamchik
    org.apache.cayenne.exp.ExpressionException: [v.2.0.4 October 8 2007] Can't resolve path component: [account.mail]. at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java: 363) at org .apache.cayenne.map.ObjAttribute.getDbAttribute(ObjAttribute.java: 147) at org .apache .cayenne .util.EntityMergeSupport.getMeaningfulFKs(EntityMergeSupport.java: 173) at org .apache .cayenne .modeler .dialog .objentity .EntitySyncController.createMerger(EntitySyncController.java:69) at org .apache .cayenne .modeler .action.DbEntitySyncAction.synchDbEntity(DbEntitySyncAction.java: 75) at org .apache .cayenne .modeler .action.DbEntitySyncAction.performAction(DbEntitySyncAction.java: 60) at org .apache .cayenne .modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
  2. 0

    RE: Modeler Exception for using dots on attributes

    cayenne-user | 8 years ago | Javi Peter
    org.apache.cayenne.exp.ExpressionException: [v.2.0.4 October 8 2007] Can't resolve path component: [account.mail]. at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java: 363) at org .apache.cayenne.map.ObjAttribute.getDbAttribute(ObjAttribute.java: 147) at org .apache .cayenne .util.EntityMergeSupport.getMeaningfulFKs(EntityMergeSupport.java: 173) at org .apache .cayenne .modeler .dialog .objentity .EntitySyncController.createMerger(EntitySyncController.java:69) at org .apache .cayenne .modeler .action.DbEntitySyncAction.synchDbEntity(DbEntitySyncAction.java: 75) at org .apache .cayenne .modeler .action.DbEntitySyncAction.performAction(DbEntitySyncAction.java: 60) at org .apache .cayenne .modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)

    Root Cause Analysis

    1. org.apache.cayenne.exp.ExpressionException

      [v.2.0.4 October 8 2007] Can't resolve path component: [account.mail]. at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java: 363) at org .apache.cayenne.map.ObjAttribute.getDbAttribute(ObjAttribute.java: 147) at org .apache .cayenne .util.EntityMergeSupport.getMeaningfulFKs(EntityMergeSupport.java: 173) at org .apache .cayenne .modeler .dialog .objentity .EntitySyncController.createMerger(EntitySyncController.java:69) at org .apache .cayenne .modeler .action.DbEntitySyncAction.synchDbEntity(DbEntitySyncAction.java: 75) at org .apache .cayenne .modeler .action.DbEntitySyncAction.performAction(DbEntitySyncAction.java: 60) at org .apache .cayenne .modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)

      at javax.swing.AbstractButton.fireActionPerformed()
    2. Java RT
      DefaultButtonModel.setPressed
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      4 frames