• 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
Classcastexception _EOCheapMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Classcastexception _EOCheapMutableArray


  • Subject: Classcastexception _EOCheapMutableArray
  • From: Don Lindsay <email@hidden>
  • Date: Sat, 8 Dec 2007 11:26:12 -0500

Hello;

I recently picked up an old application from about a year ago.    When I click save on any of my edit pages I get a classcastexception in WOComponentRequestHandler while handing java.lang.ClassCastException: com.webobjects.eocontrol._EOCheapCopyMutableArray.

The code that is executed is very basic when save is clicked:

try{
WXDebug.println(20,"AbstractPage.java:saveChanges(): getting editing context");
ec = session().defaultEditingContext();
WXDebug.println(20,"AbstractPage.java:saveChanges(): Saving changes to the editing context");
ec.saveChanges();
} catch( Exception e) {
WXDebug.println(10, "An Error Occurred in AbstractPage.java:saveChanges() error:"+e.getMessage());
errorMessage = "An Error Occurred While Saving, changes may not have saved!: " + e.getMessage();
e.printStackTrace();
} finally {
WXDebug.println(25,"AbstractPage.java:saveChanges(): return page to user");
WXDebug.println(25,"**AbstractPage.java:saveChanges(): Done");
return this;
}

Has anyone else seen this?

Don


 _______________________________________________
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: Classcastexception _EOCheapMutableArray
      • From: "Pierce T. Wetter III" <email@hidden>
    • Re: Classcastexception _EOCheapMutableArray
      • From: Chuck Hill <email@hidden>
    • Re: Classcastexception _EOCheapMutableArray
      • From: Don Lindsay <email@hidden>
  • Prev by Date: Re: EO Caching
  • Next by Date: Re: Classcastexception _EOCheapMutableArray
  • Previous by thread: Re: Frontbase error - ailed to provide new primary key
  • Next by thread: Re: Classcastexception _EOCheapMutableArray
  • Index(es):
    • Date
    • Thread