Re: Stupid person question about EOAdaptor and Class Cast Exception and error message

Timo Hoepfner <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi,

there was a problem a while ago introduced by an undocumented change  
in WO 5.3.2. It was fixed in Wonder in August last year.

Try running with a more recent Wonder. You can get nightly builds  
from here:

http://webobjects.mdimension.com/wonder/

Timo


Am 15.03.2007 um 10:36 schrieb Jerry W. Walker:

> Hi, Tony,
>
> I don't have a good answer for you, I'm a newbie to Project Wonder  
> yet myself. However, if you still haven't received a useful answer  
> from anyone else, you might try posting this problem on the Project  
> Wonder mailing list where the PW gurus hang out.
>
>      [email protected]
>
> You can subscribe to the list here:
>
>      https://lists.sourceforge.net/lists/listinfo/wonder-disc
>
> Regards,
> Jerry
>
> On Mar 9, 2007, at 11:35 AM, Tony Hoffman wrote:
>
>> I have just installed the EXExtensions, ERJars, and ERJavaMail  
>> frameworks to resolve an e-mail problem. E-mail now works. So far  
>> so good. But  now I'm getting an error on a save where previously  
>> things had run smoothly. My chief problem is that I don't know how  
>> to read the log to locate where my class cast exception is.
>>
>> Does anyone know where this is directing me to look in my java  
>> files, WebObjects Builder files or EOModel?
>>
>>
>> 53771 WARN  [WorkerThread0] (er.extensions.ERXNSLogLog4jBridge,  
>> appendln, 41) -
>> <com.webobjects.appserver._private.WOComponentRequestHandler>:  
>> Exception occurred while handling request:
>> java.lang.ClassCastException
>>
>> [2007-03-09 11:30:51 EST] <WorkerThread0>  
>> java.lang.ClassCastException
>> 	at er.extensions.ERXValidationFactory.convertException 
>> (ERXValidationFactory.java:295)
>> 	at er.extensions.ERXEntityClassDescription.validateValueForKey 
>> (ERXEntityClassDescription.java:770)
>> 	at com.webobjects.eocontrol.EOCustomObject.validateValueForKey 
>> (EOCustomObject.java:1339)
>> 	at com.webobjects.foundation.NSValidation 
>> $Utility.validateValueForKey(NSValidation.java:526)
>> 	at com.webobjects.foundation.NSValidation 
>> $DefaultImplementation.validateTakeValueForKeyPath 
>> (NSValidation.java:729)
>> 	at  
>> com.webobjects.eocontrol.EOCustomObject.validateTakeValueForKeyPath 
>> (EOCustomObject.java:1363)
>> 	at com.webobjects.foundation.NSValidation 
>> $Utility.validateTakeValueForKeyPath(NSValidation.java:551)
>> 	at com.webobjects.foundation.NSValidation 
>> $DefaultImplementation.validateTakeValueForKeyPath 
>> (NSValidation.java:741)
>> 	at com.webobjects.foundation.NSValidation 
>> $Utility.validateTakeValueForKeyPath(NSValidation.java:553)
>> 	at com.webobjects.foundation.NSValidation 
>> $DefaultImplementation.validateTakeValueForKeyPath 
>> (NSValidation.java:741)
>> 	at  
>> com.webobjects.appserver.WOComponent.validateTakeValueForKeyPath 
>> (WOComponent.java:1273)
>> 	at  
>> com.webobjects.appserver._private.WOKeyValueAssociation.setValue 
>> (WOKeyValueAssociation.java:71)
>> 	at  
>> com.webobjects.appserver._private.WOTextField.takeValuesFromRequest 
>> (WOTextField.java:81)
>> 	at  
>> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFr 
>> omRequest(WODynamicGroup.java:81)
>> 	at  
>> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromReques 
>> t(WODynamicGroup.java:89)
>> 	at com.webobjects.appserver._private.WOForm.takeValuesFromRequest 
>> (WOForm.java:70)
>> 	at  
>> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFr 
>> omRequest(WODynamicGroup.java:81)
>> 	at  
>> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromReques 
>> t(WODynamicGroup.java:89)
>> 	at  
>> com.webobjects.appserver._private.WOConditional.takeValuesFromRequest 
>> (WOConditional.java:41)
>> 	at  
>> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFr 
>> omRequest(WODynamicGroup.java:81)
>> 	at  
>> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromReques 
>> t(WODynamicGroup.java:89)
>> 	at com.webobjects.appserver.WOComponent.takeValuesFromRequest 
>> (WOComponent.java:914)
>> 	at com.webobjects.appserver.WOSession.takeValuesFromRequest 
>> (WOSession.java:1139)
>> 	at com.webobjects.appserver.WOApplication.takeValuesFromRequest 
>> (WOApplication.java:1350)
>> 	at  
>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch 
>> WithPreparedPage(WOComponentRequestHandler.java:189)
>> 	at  
>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch 
>> WithPreparedSession(WOComponentRequestHandler.java:287)
>> 	at  
>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch 
>> WithPreparedApplication(WOComponentRequestHandler.java:322)
>> 	at  
>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRe 
>> quest(WOComponentRequestHandler.java:358)
>> 	at  
>> com.webobjects.appserver._private.WOComponentRequestHandler.handleReq 
>> uest(WOComponentRequestHandler.java:432)
>> 	at com.webobjects.appserver.WOApplication.dispatchRequest 
>> (WOApplication.java:1306)
>> 	at com.webobjects.appserver._private.WOWorkerThread.runOnce 
>> (WOWorkerThread.java:173)
>> 	at com.webobjects.appserver._private.WOWorkerThread.run 
>> (WOWorkerThread.java:254)
>> 	at java.lang.Thread.run(Thread.java:552)
>>
>>
>>
>>
>> Tony Hoffman
>> Dog Eat Dog Advertising, Inc.
>> 67 West Chippewa Street, Suite 100
>> Buffalo, New York 14202-2010
>> Phone: 716-856-0142 / Fax: 716-856-0176
>> www.superfetch.com
>>
>>
>> _______________________________________________
>> WebObjects-dev mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
>
> --
> __ Jerry W. Walker,
>    WebObjects Developer/Instructor for High Performance Industrial  
> Strength Internet Enabled Systems
>
>     [email protected]
>     203 278-4085        office
>
>
>
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.