You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a slightly modified implementation of PailStructure where i store some state (say myvar) in the Implemented Object which is used for Ser/De.
So my code looks something like
pail = Pail.create(path,new MyPailStructure(myvar))
os = pail.openWrite
os.writeObject(o)
But the problem is that this throws exception because myvar is null. I would like to ask what is the use of passing a MyPailStructure instance here if the internal api create its own instance?
Can i workaround this?
Thanks
The text was updated successfully, but these errors were encountered:
Looking at this #17 it seems like parameters should ideally be serialized into pail.meta. But opening pail.meta shows just classname. "myvar" in above code is a String and should be serializable. What am i doing wrong here?
Seems like out of 5, 3 pull requests are to work around this, #17#33#36. I will close this as duplicate but would be nice to hear what repo owners plan to do.
I have a slightly modified implementation of PailStructure where i store some state (say myvar) in the Implemented Object which is used for Ser/De.
So my code looks something like
pail = Pail.create(path,new MyPailStructure(myvar))
os = pail.openWrite
os.writeObject(o)
But the problem is that this throws exception because myvar is null. I would like to ask what is the use of passing a MyPailStructure instance here if the internal api create its own instance?
Can i workaround this?
Thanks
The text was updated successfully, but these errors were encountered: