FAQ
Hello,

I want to run the no_xml_example of A.Rothe:
https://cwiki.apache.org/CAY/no-xml-example.html.

But I get the following Exceptions:

org.apache.cayenne.CayenneRuntimeException: [v.3.1M3 Sep 13 2011 19:17:16]
Commit Exception
at
org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:846)
at
org.apache.cayenne.access.DataContext.commitChanges(DataContext.java:757)
at info.phosco.test.cayenne.dynamic.App.createProjects(App.java:121)
at info.phosco.test.cayenne.dynamic.App.main(App.java:144)
Caused by: java.lang.NullPointerException
at
org.apache.cayenne.access.DataDomainInsertBucket.appendQueriesInternal(DataDomainInsertBucket.java:57)
at
org.apache.cayenne.access.DataDomainSyncBucket.appendQueries(DataDomainSyncBucket.java:78)
at
org.apache.cayenne.access.DataDomainFlushAction.preprocess(DataDomainFlushAction.java:192)
at
org.apache.cayenne.access.DataDomainFlushAction.flush(DataDomainFlushAction.java:144)
at org.apache.cayenne.access.DataDomain.onSyncFlush(DataDomain.java:803)
at org.apache.cayenne.access.DataDomain$2.transform(DataDomain.java:767)
at
org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:828)
at
org.apache.cayenne.access.DataDomain.onSyncNoFilters(DataDomain.java:764)
at
org.apache.cayenne.access.DataDomain$DataDomainSyncFilterChain.onSync(DataDomain.java:980)
at org.apache.cayenne.access.DataDomain.onSync(DataDomain.java:735)
at
org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:818)
... 3 more


--
View this message in context: http://cayenne.195.n3.nabble.com/run-no-xml-example-tp3821753p3821753.html
Sent from the Cayenne - User mailing list archive at Nabble.com.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupuser @
categoriescayenne
postedMar 13, '12 at 10:10a
activeMar 14, '12 at 8:28a
posts3
users2
websitecayenne.apache.org

2 users in discussion

Sheldon: 2 posts Andrus Adamchik: 1 post

People

Translate

site design / logo © 2022 Grokbase