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.
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;
}