• 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
Class cast exception thrown in in EODistributionContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Class cast exception thrown in in EODistributionContext


  • Subject: Class cast exception thrown in in EODistributionContext
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Thu, 26 Jun 2008 14:45:01 -0400

Hi all,


I get a class cast exception on the server when I try to save a certain type of EOs. With other types I do not have this problem. This is a JavaClient issue, as you can see in the stack trace below. I've added a breakpoint in the client app at a point where I am done with the EO, just before saving, and the EO itself looks fine to me, and it's EC passes validateForSave() without problems... So, I am a bit confused. Also, it is hard to determine exactly what makes this particular EO type fail to save, and others not.


Any thoughts?

I'll keep trying to isolate the difference that makes this type of EO cause this...
F


The exception, on the server side:


[2008-06-26 14:03:14 BOT] <WorkerThread7> Server exception: com.webobjects.foundation.NSArray
[2008-06-26 14:03:14 BOT] <WorkerThread7> java.lang.ClassCastException: com.webobjects.foundation.NSArray
at com.webobjects.eodistribution.common._EOSavingProxy.awakeInDistributionC ontext(_EOSavingProxy.java:174)
at com.webobjects.eodistribution.EODistributionContext.responseToClientMess age(EODistributionContext.java:559)
at com.webobjects.eodistribution.WOJavaClientComponent.handleClientRequest( WOJavaClientComponent.java:1105)
at com.webobjects.eodistribution.WOJavaClientComponent.invokeAction (WOJavaClientComponent.java:343)
at com.webobjects.appserver._private.WOComponentReference.invokeAction (WOComponentReference.java:104)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction (WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction (WODynamicGroup.java:110)
at com.webobjects.appserver.WOComponent.invokeAction (WOComponent.java:945)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1168)
at com.webobjects.appserver.WOApplication.invokeAction (WOApplication.java:1375)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedPage(WOComponentRequestHandler.java:196)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedSession(WOComponentRequestHandler.java:287)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleReque st(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReques t(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: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


  • Follow-Ups:
    • Re: Class cast exception thrown in in EODistributionContext
      • From: David Avendasora <email@hidden>
    • Re: Class cast exception thrown in in EODistributionContext
      • From: Daryl Lee <email@hidden>
  • Prev by Date: [OT] Objective-c library that would resemble EO talking to SQLite
  • Next by Date: Re: Problems deploying app on Leopard server
  • Previous by thread: Re: [OT] Objective-c library that would resemble EO talking to SQLite
  • Next by thread: Re: Class cast exception thrown in in EODistributionContext
  • Index(es):
    • Date
    • Thread