• 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: ClassCastException during appendToResponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ClassCastException during appendToResponse


  • Subject: Re: ClassCastException during appendToResponse
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Fri, 9 Feb 2007 08:15:47 -0800


To troubleshoot problems of this kind do a
<obj.toString()> or <obj.getName()> dump
in a <catch> statement, if necessary, that will tell you the class you have, that does not match the requirements of the call.


HTH,
Baiss

On Feb 9, 2007, at 5:42 AM, email@hidden wrote:

Subject: Re: Help please: ClassCastException during appendToResponse
To: Lachlan Deck <email@hidden>
Cc: WebObjects-Dev Apple <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hard to see with this generic stack trace....

Here is a guess .....

If content of MyAppComponent is causing the problem, then check by
temporarily surrounding most or all of the body content with a
WOConditional bound to "false" and see it the page renders without
error. If it does work, then try and narrow down what part of the
page is problematic using temporary conditionals to turn off parts of
the page until you isolate the problematic part.

Perhaps some binding (class Object) is being synchronized and a
subcomponent is trying to make an invalid cast to something that it
isn't.

HTH, Kieran

On Feb 9, 2007, at 2:05 AM, Lachlan Deck wrote:

at com.ish.webobjects.appserver.ISHComponent.appendToResponse
(ISHComponent.java:73)
at com.ish.app.components.MyAppComponent.appendToResponse
(MyAppComponent.java:70)

---- Baiss Eric Magnusson <http://www.Track-Your-Finances.com> <http://www.CascadeWebDesign.com>


_______________________________________________ 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
  • Prev by Date: java.net.SocketException: Connection reset errors
  • Next by Date: Problem with instantiatePage in tomcat dist
  • Previous by thread: java.net.SocketException: Connection reset errors
  • Next by thread: Problem with instantiatePage in tomcat dist
  • Index(es):
    • Date
    • Thread