• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: java.lang.ClassCastException in deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: java.lang.ClassCastException in deployment
      • From: Lachlan Deck <email@hidden>
References: 
 >java.lang.ClassCastException in deployment (From: David Holt <email@hidden>)

  • Prev by Date: java.lang.ClassCastException in deployment
  • Next by Date: Re: XServer TIger
  • Previous by thread: java.lang.ClassCastException in deployment
  • Next by thread: Re: java.lang.ClassCastException in deployment
  • Index(es):
    • Date
    • Thread