[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

again BRIDGE:nukeObjcObject & Co. troubles?!? (with WO 3.5.1 2nd Java Patch)



Hello,

(We use WO 3.5.1 and the 2nd Java Patch)

Here are some randomly generated WebObjects Java errors that I really
don't understand...
and I don't know what to do...please help!

1) NSJavaHandleToId(): the Objective C instance of class
EOMyCustomObject associated with the Java object 0x11ada20 of class
EOMyCustomObject has been prematurely dealloc'd.  This indicates
-release was sent to the Objective C object too many times.

2) Dec 21 11:50:04 Application[180] ObjCJava: no java object for
<EOMyCustomObject: 0x4989b0>
3) Dec 21 11:50:04 Application[180] ObjCJava: can't forward method
valueForKey:
4) Dec 21 11:50:04 Application[180] BRIDGE: warning: nukeObjcObject
assertion failed - java class EOMyCustomObject, objective c class
EOMyCustomObject, retain count 4, 0x552150 <-> 0x11c64d8

I've read about caching DisplayGroup.allObject() in this mailing-list
but I don't succeed (I don't understand it either).
Is this a problem of synchronisation between objC and Java or do I use
illegal code?!
(Does the objC part hold a reference for each Java Object?)

How to prevent this error?  (Especially error nr.4)

ps.
I use popupbuttons to display displayGroup.allObjects and
displayGroup.displayedObjects!

Thanks
peter