Failed to convert entry to pojo exception
Hello all, seem to be getting an exception below...
My setup is as follows. I have two spaces, one default and one persistent with an external hibernate datasource. The webapp writes into the default space and then a separate worker gets the entry out of the space. It then, based on info contained in the entry queries the persistent space for an object and attaches it to the original entry, which is then written back into the event space. So the object which is originally received from the persistent space is now attached to the entry in the default space. The error below is generated. Any ideas?
SEVERE [com.gigaspaces.pojo]: Failed to convert the Entry to POJO :com.bazumedia.race.domain.Person due to : java.lang.ArrayIndexOutOfBoundsException: 0 at com.gigaspaces.converter.pojo.Pojo2ExternalEntryConverter.toPojoFromIGSEntry(SourceFile:726) at com.j_spaces.obf.z.toObject(SourceFile:59) at com.j_spaces.sadapter.datasource.EntryAdapter.toObject(SourceFile:99) at com.j_spaces.sadapter.datasource.DataAdapter.makeEntriesIter(SourceFile:861) at com.j_spaces.obf.cj.E(SourceFile:242) at com.j_spaces.obf.cj.next(SourceFile:27) at com.j_spaces.obf.ko.a(SourceFile:4157) at com.j_spaces.obf.hj.a(SourceFile:667) at com.j_spaces.obf.ko.b(SourceFile:1528) at com.j_spaces.obf.ko.a(SourceFile:1408) at com.j_spaces.core.JSpaceImpl.read(SourceFile:493) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.j_spaces.obf.iw.a(SourceFile:333) at com.j_spaces.obf.fh.b(SourceFile:292) at com.j_spaces.obf.fh.a(SourceFile:358) at com.j_spaces.obf.jk.dispatch(SourceFile:118) at com.j_spaces.obf.ca.run(SourceFile:62) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613)
{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=1959]{quote}