cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Huber (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1690) Import EOModel, created with WOLips using comments
Date Wed, 28 Mar 2012 16:37:26 GMT

    [ https://issues.apache.org/jira/browse/CAY-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240521#comment-13240521
] 

Robert Huber commented on CAY-1690:
-----------------------------------

Hi Andrus

Thanks very much for your fast response! I tested and found the error (or at least one of
it). It's because I have new lines in the comments, i. e. using the <Return> key. I
also use <br /> for good looking HTML preview, as it shows in the Docs tab, which may
or may not cause problems.
I have made 2 .eomodels file I can send you, one having the error, the other one not having
it. Its because of the comment in the Docs tab of the first entity called Attribute (yes I
know a very strange name for an entity .-)
Where can I attach the files?
                
> Import EOModel, created with WOLips using comments
> --------------------------------------------------
>
>                 Key: CAY-1690
>                 URL: https://issues.apache.org/jira/browse/CAY-1690
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 3.1M3
>         Environment: Mac OS X 10.7.3
>            Reporter: Robert Huber
>
> CayenneModeler Info
> Version: 3.1M3
> Build Date: Sep 13 2011 18:52:59
> Exception: 
> =================================
> org.apache.cayenne.wocompat.parser.TokenMgrError: Lexical error at line 61, column 139.
 Encountered: "r" (114), after : "EACH Action Menu Access Right MUST BE access mode based
by ONE AND ONLY ONE Access Right Group<br />\\"
> 	at org.apache.cayenne.wocompat.parser.ParserTokenManager.getNextToken(ParserTokenManager.java:782)
> 	at org.apache.cayenne.wocompat.parser.Parser.jj_ntk(Parser.java:446)
> 	at org.apache.cayenne.wocompat.parser.Parser.object(Parser.java:73)
> 	at org.apache.cayenne.wocompat.parser.Parser.keyValuePair(Parser.java:167)
> 	at org.apache.cayenne.wocompat.parser.Parser.map(Parser.java:134)
> 	at org.apache.cayenne.wocompat.parser.Parser.object(Parser.java:79)
> 	at org.apache.cayenne.wocompat.parser.Parser.keyValuePair(Parser.java:167)
> 	at org.apache.cayenne.wocompat.parser.Parser.map(Parser.java:134)
> 	at org.apache.cayenne.wocompat.parser.Parser.object(Parser.java:79)
> 	at org.apache.cayenne.wocompat.parser.Parser.keyValuePair(Parser.java:167)
> 	at org.apache.cayenne.wocompat.parser.Parser.map(Parser.java:143)
> 	at org.apache.cayenne.wocompat.parser.Parser.object(Parser.java:79)
> 	at org.apache.cayenne.wocompat.parser.Parser.collection(Parser.java:183)
> 	at org.apache.cayenne.wocompat.parser.Parser.object(Parser.java:75)
> 	at org.apache.cayenne.wocompat.parser.Parser.keyValuePair(Parser.java:167)
> 	at org.apache.cayenne.wocompat.parser.Parser.map(Parser.java:143)
> 	at org.apache.cayenne.wocompat.parser.Parser.object(Parser.java:79)
> 	at org.apache.cayenne.wocompat.parser.Parser.propertyList(Parser.java:64)
> 	at org.apache.cayenne.wocompat.EOModelHelper.loadEntityIndex(EOModelHelper.java:372)
> 	at org.apache.cayenne.wocompat.EOModelHelper.<init>(EOModelHelper.java:86)
> 	at org.apache.cayenne.wocompat.EOModelProcessor.makeHelper(EOModelProcessor.java:216)
> 	at org.apache.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModelProcessor.java:128)
> 	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:627)
> 	at java.awt.MenuItem.processEvent(MenuItem.java:586)
> 	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337)
> 	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325)
> 	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
> 	at java.awt.EventQueue.access$000(EventQueue.java:85)
> 	at java.awt.EventQueue$1.run(EventQueue.java:638)
> 	at java.awt.EventQueue$1.run(EventQueue.java:636)
> 	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$2.run(EventQueue.java:652)
> 	at java.awt.EventQueue$2.run(EventQueue.java:650)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
> 	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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message