RE: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Claudiu Balciza
Anthony, I was able to reproduce the issue with a quite simple class https://github.com/claudiu-balciza/GeodeDeserializationErrorPOC/tree/develop the command line application above populates 3 entries of Class1 objects in the DeserializationErrorPOC region the region is created as follows: gfs

Re: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Anthony Baker
Thanks so much! The other thing that puzzles me here is that the value is being deserialized at all—I thought we could just stream the serialized form directly into the export file. Anthony On Oct 30, 2020, at 9:37 AM, Claudiu Balciza mailto:cbalc...@1wa.org>> wrote: Anthony Yes the class

RE: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Claudiu Balciza
Anthony Yes the class is present together with the subclasses. Long ago I have done something similar in geode 1.10 and had no problems I will write a simple example to reproduce the issue thanks Claudiu Balcîza From: Anthony Baker Sent: Friday, October 30, 2020 09:26 To: user@geode.apache.org

Re: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Anthony Baker
Is this class present in your deployed jar file? On Oct 30, 2020, at 9:01 AM, Claudiu Balciza mailto:cbalc...@1wa.org>> wrote: org.myApp.domain.myClass

RE: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Claudiu Balciza
This is geode 1.13 The org.myApp.domain.myClass has been deployed on the server in a jar Gfsh message: gfsh>export data --region=myregion --file=geode-storage/myregion.gfd --member=-server1 Member| Status | Message -- | -- | --

Re: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Anthony Baker
Can you share at the full stack trace? Thanks! What version is this? Anthony On Oct 30, 2020, at 7:01 AM, Claudiu Balciza mailto:cbalc...@1wa.org>> wrote: By exporting data I mean the gfsh command export data --region=myregion --file=geode-storage/myregion.gfd --member= server1 that’s use

RE: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Claudiu Balciza
By exporting data I mean the gfsh command export data --region=myregion --file=geode-storage/myregion.gfd --member= server1 that's useful for backups perhaps I should give PDX a try since it is enabled by default in spring boot for geode but I would still like to know why the data exporting d

RE: A ClassNotFoundException was thrown while trying to deserialize cached value

2020-10-30 Thread Rupert St John Webster
Hi, what do you mean by export the data... do you mean "get" ? I "get" domain arrays within arrays using a custom FromData method like this: public MyObject FromPdx(IPdxInstance pdx) { MyString = (string) pdx.GetField("MyType"); MyChar = Convert.ToChar(pdx.G