Werner
you are falling over the fact that you cannot store an object pointer
in a persistent structure
Background
set x=##class(SomeClass).%OpenId(123)
w x
[EMAIL PROTECTED]
but x is actually an object pointer
write $IsObject(x)
1
The internal structure of an object pointer is different from when you
write it or save it to a persistent store
when you do this the object nature is destroyed and it becomes a plain
string
set ^fred=x
kill x
set x=^fred
write $IsObject(x)
0 !!!!!
===
but looking at your code this is what looks to be happening - so I am
stumped, well too short of time right now :{
Peter