com.gemstone.gemfire.SerializationException: While deserializing query result

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

Solutions on the web

via pivotal.io by Unknown author, 2 years ago
via pivotal.io by Unknown author, 1 year ago
com.gemstone.gemfire.SerializationException: While deserializing query result
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.gemstone.gemfire.DataSerializer.readClass(DataSerializer.java:251)
at com.gemstone.gemfire.internal.InternalDataSerializer.readDataSerializable(InternalDataSerializer.java:1563)
at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:1899)
at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3056)
at com.gemstone.gemfire.DataSerializer.readObjectArray(DataSerializer.java:2025)
at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:1839)
at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3056)
at com.gemstone.gemfire.internal.util.BlobHelper.deserializeBlob(BlobHelper.java:69)
at com.gemstone.gemfire.internal.cache.tier.sockets.CacheServerHelper.deserialize(CacheServerHelper.java:53)
at com.gemstone.gemfire.internal.cache.tier.sockets.Part.getObject(Part.java:178)
at com.gemstone.gemfire.internal.cache.tier.sockets.Part.getObject(Part.java:182)
at com.gemstone.gemfire.cache.client.internal.QueryOp$QueryOpImpl$1.handle(QueryOp.java:87)
at com.gemstone.gemfire.cache.client.internal.AbstractOp.processChunkedResponse(AbstractOp.java:316)
at com.gemstone.gemfire.cache.client.internal.QueryOp$QueryOpImpl.processResponse(QueryOp.java:126)
at com.gemstone.gemfire.cache.client.internal.AbstractOp.attemptReadResponse(AbstractOp.java:150)
at com.gemstone.gemfire.cache.client.internal.AbstractOp.attempt(AbstractOp.java:363)
at com.gemstone.gemfire.cache.client.internal.ConnectionImpl.execute(ConnectionImpl.java:229)
at com.gemstone.gemfire.cache.client.internal.pooling.PooledConnection.execute(PooledConnection.java:321)
at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.executeWithPossibleReAuthentication(OpExecutorImpl.java:644)
at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:108)
at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:84)
at com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:610)
at com.gemstone.gemfire.cache.client.internal.QueryOp.execute(QueryOp.java:41)
at com.gemstone.gemfire.cache.client.internal.ServerProxy.query(ServerProxy.java:69)
at com.gemstone.gemfire.cache.query.internal.DefaultQuery.executeOnServer(DefaultQuery.java:227)
at com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:109)
at com.gemstone.gemfire.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:93)
at gemfire.run.RunGemFireProgram.main(RunGemFireProgram.java:23)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1421 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.