Re: java.lang.ClassCastException: com.webobjects.eoaccess.EOAttribute
Re: java.lang.ClassCastException: com.webobjects.eoaccess.EOAttribute
- Subject: Re: java.lang.ClassCastException: com.webobjects.eoaccess.EOAttribute
- From: Anjo Krank <email@hidden>
- Date: Tue, 6 Oct 2009 15:55:38 +0200
this is probably the 5.3 version (or pre-54).
Cheers, Anjo
Am 06.10.2009 um 15:43 schrieb Mike Schrag:
this stack trace doesn't line up with the current source ... i would
recommend using a newer wonder and trying again, if nothing else
than to get a proper line number for the failure.
On Oct 6, 2009, at 9:01 AM, Mersida Kurti wrote:
Hello,
I am receiving the following error on WO 5.4.3 on OS 10.5.8 and
Java 1.5
Does anyone know how to debug this?
It worked fine before, however, I needed to make a text field
accept 10 digits instead of 9 and now its throwing this error when
I try to save changes. I checked the database field and that can
accept up to 20 chars, so that end is good. When I switch the
maxlength and size of the textfield to 9 I don't get this error and
it saves my changes, but when I switch to 10...something is
definitely not happy :)
Thank you in advance,
Mersida
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
java.lang.ClassCastException: com.webobjects.eoaccess.EOAttribute
[2009-10-6 8:29:56 EDT] <WorkerThread0>
java.lang.ClassCastException: com.webobjects.eoaccess.EOAttribute
at
er
.extensions
.ERXValidationFactory.convertException(ERXValidationFactory.java:275)
at
er
.extensions
.ERXEntityClassDescription
.validateValueForKey(ERXEntityClassDescription.java:606)
at
com
.webobjects
.eocontrol.EOCustomObject.validateValueForKey(EOCustomObject.java:
1311)
at com.webobjects.foundation.NSValidation
$Utility.validateValueForKey(NSValidation.java:478)
at com.webobjects.foundation.NSValidation
$
DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:
675)
at
com
.webobjects
.eocontrol
.EOCustomObject.validateTakeValueForKeyPath(EOCustomObject.java:1335)
at com.webobjects.foundation.NSValidation
$Utility.validateTakeValueForKeyPath(NSValidation.java:502)
at com.webobjects.foundation.NSValidation
$
DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:
687)
at
com
.webobjects
.eocontrol
.EOCustomObject.validateTakeValueForKeyPath(EOCustomObject.java:1335)
at com.webobjects.foundation.NSValidation
$Utility.validateTakeValueForKeyPath(NSValidation.java:502)
at com.webobjects.foundation.NSValidation
$
DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:
687)
at
com
.webobjects
.appserver.WOComponent.validateTakeValueForKeyPath(WOComponent.java:
1424)
at
com
.webobjects
.appserver
._private.WOKeyValueAssociation.setValue(WOKeyValueAssociation.java:
76)
at
com
.webobjects
.appserver
._private.WOTextField.takeValuesFromRequest(WOTextField.java:94)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:1051)
at
com
.webobjects
.appserver
._private
.WOComponentReference
.takeValuesFromRequest(WOComponentReference.java:119)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:1051)
at
com
.webobjects
.appserver
._private
.WOComponentReference
.takeValuesFromRequest(WOComponentReference.java:119)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver
._private.WOConditional.takeValuesFromRequest(WOConditional.java:79)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver._private.WOForm.takeValuesFromRequest(WOForm.java:122)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver
._private
.WOComponentContent.takeValuesFromRequest(WOComponentContent.java:26)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:1051)
at
com
.webobjects
.appserver
._private
.WOComponentReference
.takeValuesFromRequest(WOComponentReference.java:119)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
at
com
.webobjects
.appserver
._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:
93)
at
com
.webobjects
.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:1051)
at
com
.webobjects
.appserver.WOSession.takeValuesFromRequest(WOSession.java:1331)
at
com
.webobjects
.appserver.WOApplication.takeValuesFromRequest(WOApplication.java:
1724)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:199)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects
.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)
_______________________________________________
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
_______________________________________________
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