Hi Alfonso, On Tue, Aug 5, 2014 at 1:47 AM, <dev-digest-h...@gora.apache.org> wrote:
> > I don't understand the fix :S > > The fix converts everything to ByteArray and not just simply casting the value to ByteBuffer... which is illegal. > getDirtyBytes was: > > private ByteBuffer getDirtyBytes() { > return (ByteBuffer) get(0); > } > > so, it was returning the content of the field __G__DIRTY(0, "__g__dirty"), > defined in the schema as type bytes. Why exactly is needed to convert to string, etc? > I don't think that anything is being converted to String! > > Have you applied GORA-326 [1] about removal of __g__dirty? (don't apply it > ;P) > Have you tried this patch Alfonso? It would be great if we could resolve the issue and move on witht he proposed release roadmap for 0.5. > > @Lewis: Can you send us you the java code of that class you talk about? The > generated class that has the "previewText" field. > Here is the code Alfonso https://github.com/MJJoyce/xdata-nba/blob/master/impoexpo/src/main/java/gov/nasa/jpl/xdata/nba/impoexpo/structs/Preview.java > > Thanks!! And so sorry for answering so late :( > > NP, thanks for answering. Lewis