On 7/4/2013 4:20 PM, Richard Eckart de Castilho wrote: > Hi Marshall, > > I'd like to try out the new CAS (de)serialization stuff you did recently. Great! > > I try serialization with three approaches: > > case 0: Serialization.serializeCAS(aJCas.getCas(), docOS); break; > case 4: Serialization.serializeWithCompression(aJCas.getCas(), docOS); break; > case 6: Serialization.serializeWithCompression(aJCas.getCas(), docOS, > aJCas.getTypeSystem()); break; > > Then I try to load the data back into a CAS (within a reader component) using > > Serialization.deserializeCAS(aCAS, is); > > For cases 0 and 4, this appears to work. But in case 6, the document text is > <null> after > deserializing. I'll take a look, maybe tomorrow...
-M > > Apparently, I'm doing something wrong - but I have no idea what. Can you give > me a hint? > > -- Richard > > >
