Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

com.j_spaces.core.EntrySerializationException

Hi,

have problem with 7.0.0m4 version of XAP. When I deploy service on version 6.6.1 everything works okay but with version 7m4 service throws this exception even if class implements Serializable. I changed pu directory structure to 7.0 it means with lib directory.

Can you give me some advices? Below exception from version 7.0.0m4

Best regards, Mateusz

SEVERE [com.gigaspaces.query]: Failed to execute readMultiple: com.j_spaces.core.EntrySerializationException: Failed to deserialize Entry com.uuu.reporting.RawDcm java.sql.SQLException: Failed to execute readMultiple: com.j_spaces.core.EntrySerializationException: Failed to deserialize Entry com.uuu.reporting.RawDcm at com.j_spaces.jdbc.executor.QueryExecutor.executeTemplate(QueryExecutor.java:344) at com.j_spaces.jdbc.executor.QueryExecutor.execute(QueryExecutor.java:266) at com.j_spaces.jdbc.parser.AndNode.accept(AndNode.java:69) at com.j_spaces.jdbc.executor.QueryExecutor.traverseExpressionTree(QueryExecutor.java:691) at com.j_spaces.jdbc.SelectQuery.executeQuery(SelectQuery.java:391) at com.j_spaces.jdbc.SelectQuery.executeOnSpace(SelectQuery.java:221) at com.j_spaces.core.client.sql.QueryManager.executeSqlStatment(QueryManager.java:196) at com.j_spaces.core.client.sql.QueryManager.executeSQLQuery(QueryManager.java:277) at com.j_spaces.core.client.sql.QueryManager.readMultiple(QueryManager.java:360) at com.j_spaces.core.cluster.action.ClusterSpaceReadMultipleProxyAction.readMultiple(ClusterSpaceReadMultipleProxyAction.java:42) at com.j_spaces.core.cluster.action.ClusterSpaceReadMultipleProxyAction.execute(ClusterSpaceReadMultipleProxyAction.java:29) at com.j_spaces.core.client.AbstractSpaceProxyActionManager.readMultiple(AbstractSpaceProxyActionManager.java:161) at com.j_spaces.core.client.AbstractSpaceProxy.readMultiple(AbstractSpaceProxy.java:234) at org.openspaces.core.DefaultGigaSpace.readMultiple(DefaultGigaSpace.java:425) at org.openspaces.core.DefaultGigaSpace.readMultiple(DefaultGigaSpace.java:419) at com.wdc.embeddedservices.commons.ProcedureUtilities.getRawDcm(ProcedureUtilities.java:207) at com.wdc.embeddedservices.procedures.olapreplmitecdcm.OlapReplMitecDcmService.transform(OlapReplMitecDcmService.java:116) at com.wdc.embeddedservices.procedures.olapreplmitecdcm.OlapReplMitecDcmService.eventListener(OlapReplMitecDcmService.java:87) at com.wdc.embeddedservices.procedures.olapreplmitecdcm.OlapReplMitecDcmServiceGigaspacesMethodinternalInvoke4.internalInvoke(Unknown Source) at com.gigaspaces.reflect.fast.AbstractMethod.invoke(AbstractMethod.java:34) at org.openspaces.events.adapter.AbstractReflectionEventListenerAdapter.onEventWithResult(AbstractReflectionEventListenerAdapter.java:170) at org.openspaces.events.adapter.AbstractResultEventListenerAdapter.onEvent(AbstractResultEventListenerAdapter.java:79) at org.openspaces.events.AbstractEventListenerContainer.invokeListener(AbstractEventListenerContainer.java:136) at org.openspaces.events.polling.AbstractPollingEventListenerContainer.doReceiveAndExecute(AbstractPollingEventListenerContainer.java:273) at org.openspaces.events.polling.AbstractPollingEventListenerContainer.receiveAndExecute(AbstractPollingEventListenerContainer.java:258) at org.openspaces.events.polling.SimplePollingEventListenerContainer$AsyncEventListenerInvoker.invokeListener(SimplePollingEventListenerContainer.java:690) at org.openspaces.events.polling.SimplePollingEventListenerContainer$AsyncEventListenerInvoker.run(SimplePollingEventListenerContainer.java:631) at java.lang.Thread.run(Thread.java:619) Caused by: com.j_spaces.core.EntrySerializationException: Failed to deserialize Entry com.uuu.reporting.RawDcm at com.j_spaces.core.EntryPacket.readExternal(EntryPacket.java:653) at com.j_spaces.core.ExternalEntryPacket.readExternal(ExternalEntryPacket.java:171) at com.j_spaces.core.ExternalTemplatePacket.readExternal(ExternalTemplatePacket.java:122) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at com.gigaspaces.io.IOUtils.unmarshalValue(IOUtils.java:231) at com.gigaspaces.lrmi.nio.RequestPacket.readExternal(RequestPacket.java:162) at com.gigaspaces.lrmi.nio.Reader.unmarshall(Reader.java:451) at com.gigaspaces.lrmi.nio.Reader.unmarshallRequest(Reader.java:370) at com.gigaspaces.lrmi.nio.ChannelEntry.unmarshall(ChannelEntry.java:125) at com.gigaspaces.lrmi.nio.Pivot$ChannelEntryTask.run(Pivot.java:141) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) ... 1 more Caused by: java.lang.NullPointerException at com.j_spaces.core.introspect.PojoIntrospector.init(PojoIntrospector.java:388) at com.j_spaces.core.introspect.PojoIntrospector.readExternal(PojoIntrospector.java:381) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at com.j_spaces.core.AbstractTypeDescriptor.readExternalV1(AbstractTypeDescriptor.java:395) at com.j_spaces.core.AbstractTypeDescriptor.readExternal(AbstractTypeDescriptor.java:379) at com.j_spaces.core.client.TypeTableEntry.readExternalV1(TypeTableEntry.java:116) at com.j_spaces.core.client.TypeTableEntry.readExternal(TypeTableEntry.java:102) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at com.j_spaces.core.EntryPacket.readExternal(EntryPacket.java:634) ... 18 more

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2863]{quote}

asked 2009-02-10 09:18:13 -0500

mnemos gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Are you sure this works with 6.6.3? Shay

answered 2009-02-11 14:15:04 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Yes, just downloaded 6.6.3 version and deployed everything exactly the same way. I can confirm that on version 6.6.3 everything works. Only change in deployed directories is that in one version I have shared-lib/ and in second lib/

Regards, Mateusz

mnemos gravatar imagemnemos ( 2009-02-12 08:41:58 -0500 )edit

I experienced similar problem on 7.0.0-m3 (<os-sla:sla cluster-schema="partitioned-sync2backup" number-of-instances="1" number-of-backups="1"/>) during standalone deployment mvn os:deploy but not with Eclipse runner. So I test it and used old PU jar structure with shared-lib and lib which worked on 6.6.X and my project worked ok. I guess the "backup" classloader probably doesn't like a new PU structure and it might be a bug in the new GS.

j.

palka gravatar imagepalka ( 2009-02-21 08:24:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-02-10 09:18:13 -0500

Seen: 70 times

Last updated: Feb 11 '09