• 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: strange DirectAction problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange DirectAction problem


  • Subject: Re: strange DirectAction problem
  • From: Gennady Kushnir <email@hidden>
  • Date: Sat, 27 May 2006 12:46:15 +0400

Of course it is rather intriguing that DirectAction detects an error that ComponentAction does not. But as it seems to me, it is more reasonable to look for an error not in DirectActions but where thrown Exception locates it.

It says that you have a ClassCast error in your inetOrgPerson_EOBase.mail() method on the row 84.
It means that you try to treat some received Object as NSMutableArray whereas it is not one.
As far as I know neither JNDI nor EOF may return NSMutableArray. EOF returns only immutable data types (e.g. NSArray).


Why ComponentAction does not detect that error is another question. May be Chuck can suggest some ideas...

Regards,
Gennady Kushnir



Error: java.lang.ClassCastException: com.webobjects.foundation.NSMutableArray
Reason: com.webobjects.foundation.NSMutableArray


java.lang.ClassCastException: com.webobjects.foundation.NSMutableArray
	at inetOrgPerson_EOBase.mail(inetOrgPerson_EOBase.java:84)

_______________________________________________ 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
References: 
 >strange DirectAction problem (From: Timmy <email@hidden>)

  • Prev by Date: Re: why the new sessions created when there is nobody accessing the application ?????
  • Next by Date: Re: generating response in different thread
  • Previous by thread: Re: strange DirectAction problem
  • Next by thread: Another JavaClient bug???
  • Index(es):
    • Date
    • Thread