Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: OptionalDataException while reading from Gemfire cache

$
0
0

Thanks Barry for replying. The stacktrace which I printed uses a gemfire query, but it does not matter which query i use, even if i just do "select * from" on that region, it gives me same issue. When I tried to iterate through all objects in that region by just calling entrySet() and iterting on it, deserialization failed on one particular record everytime, I'm not sure what was wrong with that object.

 

I'm not able to replicate this everytime, it happens occasionally

 

 

public class TestEntity implements Serializable {

 

private String key;

 

private List<TestObj> test = new LinkedList<TestObj>();

 

}

 

This TestObj is an abstract class which extends another abstract class and there are two concrete sublcasses extending TestObj which will be stored in LinkedList shown above. The class hierarchy is very complex and has many attributes, so won't be able to post here.


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>