Can I see some more of the code here, to get a bit more of a clue. Would be good to see the listAll action, the class definition, the choices method etc
Thx Dan On 13 March 2014 16:42, Matthias Held <[email protected]> wrote: > Hi, > I ' m sorry , I'm real ly a ll out of goo d ideas. I will use a > calculated list of objects (containing a String key and a String name) as > list > of choices. The object is annotated with @NotPersistable. There is a > AbstractFactoryAndRepository for this object with a method "listAll" which > produce the objects. The UI choice is rendered correctly but on exit: > > Caused by: > org.apache.isis.core.runtime.persistence.ObjectNotFoundException: > Object not found in store with oid > ... > > Caused by: java.lang.NullPointerException > > at > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusObjectStore.clsOf(DataNucleusObjectStore.java:699) > > at > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusObjectStore.loadPojo(DataNucleusObjectStore.java:399) > > > > at > > org.apache.isis.objectstore.jdo.datanucleus.persistence.adaptermanager.DataNucleusPojoRecreator.recreatePojo(DataNucleusPojoRecreator.java:38) > > Is it not possible by design? > > Have someone a good tip for me? > > Thanks >
