Re: java.lang.ClassCastException when calling an EO's savechanges() method
Re: java.lang.ClassCastException when calling an EO's savechanges() method
- Subject: Re: java.lang.ClassCastException when calling an EO's savechanges() method
- From: WebObjects <email@hidden>
- Date: Fri, 13 May 2005 14:52:13 -0700
Updated Dev. platform using WO523Developer.dmg, now I get the error on the
Dev platform as well as Deploy - I guess this is a 'good' thing. Here is
the stack trace. I cut-n-pasted it from the browser window (it's not
pretty). Again, the error occurs when sending the context the
.saveChanges() command. Is this legible? (thanks!)
Exception Description
Application:
TaskAlert
Error:
java.lang.ClassCastException
Reason:
Stack trace:
File
Line#
Method
Package
Tbltasks.java
244
privateindicator
Tbltasks
NativeMethodAccessorImpl.java
NA
invoke0
sun.reflect
NativeMethodAccessorImpl.java
39
invoke
sun.reflect
DelegatingMethodAccessorImpl.java
25
invoke
sun.reflect
Method.java
324
invoke
java.lang.reflect
KeyValueCodingProtectedAccessor.java
54
methodValue
KeyValueCodingProtectedAccessor
NSKeyValueCoding.java
1160
valueInObject
com.webobjects.foundation
EOCustomObject.java
1559
valueForKey
com.webobjects.eocontrol
EOCustomObject.java
1407
validateForSave
com.webobjects.eocontrol
EOCustomObject.java
1490
validateForUpdate
com.webobjects.eocontrol
EOEditingContext.java
2191
validateTable
com.webobjects.eocontrol
EOEditingContext.java
2981
validateChangesForSave
com.webobjects.eocontrol
EOEditingContext.java
3222
_prepareForPushChanges
com.webobjects.eocontrol
EOEditingContext.java
3152
saveChanges
com.webobjects.eocontrol
TestPage.java
46
updateRecord
TestPage
NativeMethodAccessorImpl.java
NA
invoke0
sun.reflect
NativeMethodAccessorImpl.java
39
invoke
sun.reflect
DelegatingMethodAccessorImpl.java
25
invoke
sun.reflect
Method.java
324
invoke
java.lang.reflect
KeyValueCodingProtectedAccessor.java
54
methodValue
KeyValueCodingProtectedAccessor
NSKeyValueCoding.java
1160
valueInObject
com.webobjects.foundation
NSKeyValueCoding.java
1268
valueForKey
com.webobjects.foundation
WOComponent.java
1539
valueForKey
com.webobjects.appserver
NSKeyValueCoding.java
498
valueForKey
com.webobjects.foundation
NSKeyValueCodingAdditions.java
212
valueForKeyPath
com.webobjects.foundation
WOComponent.java
1600
valueForKeyPath
com.webobjects.appserver
WOKeyValueAssociation.java
46
valueInComponent
com.webobjects.appserver._private
WOSubmitButton.java
70
invokeAction
com.webobjects.appserver._private
WODynamicGroup.java
101
invokeChildrenAction
com.webobjects.appserver._private
WODynamicGroup.java
110
invokeAction
com.webobjects.appserver._private
WOForm.java
82
invokeAction
com.webobjects.appserver._private
WODynamicGroup.java
101
invokeChildrenAction
com.webobjects.appserver._private
WODynamicGroup.java
110
invokeAction
com.webobjects.appserver._private
WOComponent.java
945
invokeAction
com.webobjects.appserver
WOSession.java
1166
invokeAction
com.webobjects.appserver
WOApplication.java
1375
invokeAction
com.webobjects.appserver
WOComponentRequestHandler.java
196
_dispatchWithPreparedPage
com.webobjects.appserver._private
WOComponentRequestHandler.java
287
_dispatchWithPreparedSession
com.webobjects.appserver._private
WOComponentRequestHandler.java
322
_dispatchWithPreparedApplication
com.webobjects.appserver._private
WOComponentRequestHandler.java
358
_handleRequest
com.webobjects.appserver._private
WOComponentRequestHandler.java
432
handleRequest
com.webobjects.appserver._private
WOApplication.java
1306
dispatchRequest
com.webobjects.appserver
WOWorkerThread.java
173
runOnce
com.webobjects.appserver._private
WOWorkerThread.java
254
run
com.webobjects.appserver._private
Thread.java
552
run
java.lang
NA : Non applicable, JIT activated
on 5/13/05 10:39, Chuck Hill at email@hidden wrote:
> Can you post the entire stack trace? Are both machines running the
> same version of WO and Java?
_______________________________________________
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