Re: java.lang.ClassCastException in deployment
Re: java.lang.ClassCastException in deployment
- Subject: Re: java.lang.ClassCastException in deployment
- From: David Holt <email@hidden>
- Date: Fri, 25 Nov 2005 10:26:14 -0800
Well, it was because I hadn't set the ValueType for Decimal in EOModeler to B. Doing that cleared up issue. Does anyone know why this error doesn't show up in development but it does in Deployment?
David
--
When you sit with a nice girl for two hours you think that it is only a minute. But when you sit on a hot stove for a minute you think it's two hours. That's relativity.
<x-tad-smaller>
Albert Einstein
from Sunbeams: http://www.thesunmagazine.org</x-tad-smaller>
On 25 Nov 2005, at 9:59 AM, David Holt wrote:
I have exactly the same set up on my development and deployment boxes. I am developing with WODirectConnectEnabled=false
Last night I changed a few variables from INT to DECIMAL. In development all works as expected. Now when I deploy, clicking a hyperlink to the component containing the decimal entry fields causes an error with no explanation or stack trace. The full contents of the page are:
Error:
java.lang.ClassCastException
Reason:
Stack trace:
File
Line#
Method
Package
NA : Non applicable, JIT activated
The log file contains the following:
43277 [WorkerThread3] WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.ClassCastException
Can someone please tell me what could be the cause of this error?
Thanks, David
--
The afternoon knows what the morning never suspected.
<x-tad-smaller>
Swedish Proverb
from Sunbeams: http://www.thesunmagazine.org</x-tad-smaller> _______________________________________________
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