I am getting this error:
Uncaught exception from servlet
java.lang.ArrayIndexOutOfBoundsException: 8
at
org.datanucleus.state.AbstractStateManager.getFlagsSetTo(AbstractStateManager.java:1455)
at
org.datanucleus.state.JDOStateManagerImpl.initialiseForCachedPC(JDOStateManagerImpl.java:592)
at
org.datanucleus.state.StateManagerFactory.newStateManagerForCachedPC(StateManagerFactory.java:216)
at
org.datanucleus.ObjectManagerImpl.getObjectFromCache(ObjectManagerImpl.java:3647)
at
org.datanucleus.ObjectManagerImpl.findObject(ObjectManagerImpl.java:2302)
at
org.datanucleus.jdo.JDOPersistenceManager.getObjectById(JDOPersistenceManager.java:1671)
at
org.datanucleus.jdo.JDOPersistenceManager.getObjectById(JDOPersistenceManager.java:1767)
at
org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.getObjectById(DatastoreJDOPersistenceManager.java:73)
at
org.springframework.orm.jdo.JdoTemplate$2.doInJdo(JdoTemplate.java:272)
at org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:205)
at
org.springframework.orm.jdo.JdoTemplate.getObjectById(JdoTemplate.java:270)
...
>From simple code like:
return jdoTemplate.getObjectById(Account.class,
KeyFactory.stringToKey(accountKey));
When I enable JDO cache like this in jdoconfig.xml:
<property name="datanucleus.cache.level2.type" value="javax.cache" />
<property name="datanucleus.cache.level2.cacheName" value="jdocache" />
The same code was working fine in App Engine 1.5.2, but now on 1.5.3 SDK
this is happening, could it be related?
Does anyone know if datanucleus.cache officially supported? More importantly
if this is a bug, is it one for the GAE/J team or for DataNucleus, I get
confused as to who is building/maintaining that part of the functionality.
Thanks,
Ashley
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/FFheDbv5bXkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.