Its a problem with one of the instances of my domain object. When I
make a bunch of fake users and wipe out the real ones they serialize and
materialize just fine.
I'll try to set a halt for the serializedHash I mentioned earlier to see
what's going on in the real object.
Thanks
On 06/07/2012 01:18 PM, Mariano Martinez Peck wrote:
On Thu, Jun 7, 2012 at 10:12 PM, Paul DeBruicker <[email protected]
<mailto:[email protected]>> wrote:
I'm trying to serialize and materialize some domain objects. If I
run this:
FLSerializer serialize: users toFileNamed: 'users.fuel'.
The file users.fuel is created.
If in the same workspace in the same Pharo 1.3 image on Cog 2550 /
Linux 64 bit I subsequently run:
FLMaterializer materialzeFromFileNamed: 'users.fuel'
I get an FLMethodChanged error.
that looks weird, because you are materializng in the SAME image ...
If I just serialize and materialize strings, numbers, and
DateAndTime objects to files everything works fine and all 248 Fuel
tests pass no problem.
The incoming method it has a problem with is an #initialize method.
which class is the one that contains that #initialize?
do you have an #initialize in your image that uses pragmas?
The serializeHash is 15407 and the result of 'method bytecodesHash'
is 30998.
can you try closing all opened ssytem browsers (nautilus windows or
wharever)?
What should I check to diagnose/fix this problem?
is your data private or you can provide an image with "users" so that we
can test?
Thanks
--
Mariano
http://marianopeck.wordpress.com