cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1806) Error importing eomodel
Date Thu, 11 Apr 2013 18:56:13 GMT

     [ https://issues.apache.org/jira/browse/CAY-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-1806.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2M1
                   3.1B3

Fixed. The culprit was of course an invalid flattened relationship path in the eomodel, but
Cayenne should've just skipped it and continued with import. Which it does now.
                
> Error importing eomodel
> -----------------------
>
>                 Key: CAY-1806
>                 URL: https://issues.apache.org/jira/browse/CAY-1806
>             Project: Cayenne
>          Issue Type: Bug
>            Reporter: Simon
>             Fix For: 3.1B3, 3.2M1
>
>
> CayenneModeler Info
> Version: 3.1B2
> Build Date: Feb 05 2013 20:48:18
> Exception: 
> =================================
> org.apache.cayenne.exp.ExpressionException: [v.3.1B2 Feb 05 2013 20:48:18] Can't resolve
path component: [xactivitytag.tag].
> 	at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java:419)
> 	at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java:366)
> 	at org.apache.cayenne.map.ObjRelationship.refreshFromPath(ObjRelationship.java:660)
> 	at org.apache.cayenne.map.ObjRelationship.setDbRelationshipPath(ObjRelationship.java:573)
> 	at org.apache.cayenne.wocompat.EOModelProcessor.makeFlatRelationships(EOModelProcessor.java:651)
> 	at org.apache.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModelProcessor.java:169)
> 	at org.apache.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModelProcessor.java:115)
> 	at org.apache.cayenne.modeler.action.ImportEOModelAction.importEOModel(ImportEOModelAction.java:122)
> 	at org.apache.cayenne.modeler.action.ImportEOModelAction.performAction(ImportEOModelAction.java:86)
> 	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162)
> 	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
> 	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
> 	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
> 	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> 	at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
> 	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
> 	at java.awt.MenuItem.processActionEvent(MenuItem.java:650)
> 	at java.awt.MenuItem.processEvent(MenuItem.java:609)
> 	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:343)
> 	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:331)
> 	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:713)
> 	at java.awt.EventQueue.access$400(EventQueue.java:82)
> 	at java.awt.EventQueue$2.run(EventQueue.java:669)
> 	at java.awt.EventQueue$2.run(EventQueue.java:667)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
> 	at java.awt.EventQueue$3.run(EventQueue.java:683)
> 	at java.awt.EventQueue$3.run(EventQueue.java:681)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message