Re: JC client side EO encoding problem
Re: JC client side EO encoding problem
- Subject: Re: JC client side EO encoding problem
- From: Mike Schrag <email@hidden>
- Date: Fri, 24 Apr 2009 11:05:04 -0400
this happens when
NSCoding.Support.supportForClass(anObject.getClass()); returns null,
btw .. if that helps at all
ms
On Apr 24, 2009, at 11:02 AM, Stamenkovic Florijan wrote:
Has anyone seen anything like this before:
[Apr 23, 2009 21:03:31 -0400] Exception thrown:
java.lang.IllegalArgumentException: encodeObject: unable to encode
object of class com.havaso.dvis.client.eof.eo.UserGroup
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObject(_EOReferenceRecordingCoder.java:348)
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObjects(_EOReferenceRecordingCoder.java:375)
at com.webobjects.foundation.NSArray.encodeWithCoder(NSArray.java:
1330)
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObject(_EOReferenceRecordingCoder.java:344)
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObjects(_EOReferenceRecordingCoder.java:375)
at
com
.webobjects
.eodistribution
.common._EOServerInvocation.encodeWithCoder(_EOServerInvocation.java:
79)
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObject(_EOReferenceRecordingCoder.java:344)
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObjects(_EOReferenceRecordingCoder.java:375)
at com.webobjects.foundation.NSArray.encodeWithCoder(NSArray.java:
1330)
at
com
.webobjects
.eodistribution
.common
._EOReferenceRecordingCoder
.encodeObject(_EOReferenceRecordingCoder.java:344)
at
com
.webobjects
.eodistribution
.client.EOHTTPChannel._responseToMessage(EOHTTPChannel.java:542)
at
com
.webobjects
.eodistribution
.client.EOHTTPChannel.responseToMessage(EOHTTPChannel.java:640)
at
com
.webobjects
.eodistribution
.client.EODistributedObjectStore._send(EODistributedObjectStore.java:
651)
at
com
.webobjects
.eodistribution
.client
.EODistributedObjectStore
.saveChangesInEditingContext(EODistributedObjectStore.java:475)
at
com
.webobjects
.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
...
Where UserGroup is a standard issue EO. Note that this is entirely
arbitrary, I can for example save, update or delete any number of
UserGroup records, or other records for that matter, and not see
this. Then out of nowhere, this happens.
Any thoughts?
Thx,
F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden