No. Has your model changed and the Java not been regenerated? The only other thing I can think of is a bad call to takeValueForKey on this EO that is overwriting sessions() with something else. Try overriding setSessions to log a stack trace if the value is not instanceof NSArray.

Chuck

On Jul 27, 2007, at 12:43 AM, Lachlan Deck wrote:

Hi there,

anyone seen something similar to the below before?

with regards,
--

Lachlan Deck
[EMAIL PROTECTED]

java.lang.IllegalArgumentException: removeObjectToPropertyWithKey: the key sessions is not a Array or one of its subclasses - unable to remove the value. at com.webobjects.eocontrol.EOCustomObject.excludeObjectFromPropertyWithK ey(EOCustomObject.java:987) at com.ish.willow.eoaccess.model._CourseClass.removeFromSessions (_CourseClass.java:560)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects.foundation.NSSelector._safeInvokeMethod (NSSelector.java:120) at com.webobjects.eocontrol.EOCustomObject.removeObjectFromPropertyWithKe y(EOCustomObject.java:1011) at com.webobjects.eocontrol.EOCustomObject.addObjectToBothSidesOfRelation shipWithKey(EOCustomObject.java:1066)

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to