From: Issam M. <ma...@gm...> - 2012-03-27 15:59:23
|
Thanks Ramsey. It worked a treat! Issam On 27 March 2012 16:42, Ramsey Gurley <ram...@gm...> wrote: > Hi Issam, > > Everyone trips on this :-/ > > You have to include the ERAttributeExtension framework for it to work. > ERAttributeExtension has to be ahead of JavaEOAccess framework for it to > work too. > > > http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/attributeextension/package-summary.html > > Ramsey > > On Mar 27, 2012, at 7:32 AM, Issam Maamria wrote: > > Hi all > > I am using stringArray as a prototype for one attribute. I get the > following exception when trying to save an EO object into the database: > > *com.webobjects.eoaccess.EOGeneralAdaptorException: > java.lang.NoSuchMethodException: Class er.prototypes.ValueConversion does > not implement method stringArray* > > [See below for trace] > > I am using Postgres. > > Any thoughts will be much appreciated. > > Thanks > > Issam > > > ------------- > > > > [2012-3-27 15:28:56 BST] <WorkerThread15> > com.webobjects.eoaccess.EOGeneralAdaptorException: > java.lang.NoSuchMethodException: Class er.prototypes.ValueConversion does > not implement method stringArray > > at > com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded( > EODatabaseContext.java:4504) > > at com.webobjects.eoaccess.EODatabaseContext.performChanges( > EODatabaseContext.java:6216) > > at > com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext( > EOObjectStoreCoordinator.java:376) > > at com.webobjects.eocontrol.EOEditingContext.saveChanges( > EOEditingContext.java:3192) > > at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1094) > > at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1016) > > at rn.app.components.advertiser.RNAdGroupListing.saveChanges( > RNAdGroupListing.java:67) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue( > NSKeyValueCoding.java:636) > > at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject( > NSKeyValueCoding.java:1134) > > at > com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey( > NSKeyValueCoding.java:1324) > > at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736) > > at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey( > NSKeyValueCoding.java:447) > > at > com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath( > NSKeyValueCodingAdditions.java:212) > > at com.webobjects.appserver.WOComponent.valueForKeyPath( > WOComponent.java:1804) > > at > com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent( > WOKeyValueAssociation.java:50) > > at com.webobjects.appserver._private.WOSubmitButton.invokeAction( > WOSubmitButton.java:70) > > at indoc.app.elements.rbac.IDSubmitButton.invokeAction( > IDSubmitButton.java:165) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at er.extensions.components._private.ERXWOForm.invokeAction( > ERXWOForm.java:218) > > at indoc.app.elements.rbac.IDForm.invokeAction(IDForm.java:90) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at er.extensions.components.conditionals.ERXElse.invokeAction( > ERXElse.java:43) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079 > ) > > at er.extensions.components.ERXComponent.invokeAction( > ERXComponent.java:102) > > at com.webobjects.appserver._private.WOComponentReference.invokeAction( > WOComponentReference.java:127) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at com.webobjects.appserver._private.WOComponentContent.invokeAction( > WOComponentContent.java:38) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at com.webobjects.appserver._private.WOConditional.invokeAction( > WOConditional.java:86) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079 > ) > > at er.extensions.components.ERXComponent.invokeAction( > ERXComponent.java:102) > > at com.webobjects.appserver._private.WOComponentReference.invokeAction( > WOComponentReference.java:127) > > at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction( > WODynamicGroup.java:105) > > at com.webobjects.appserver._private.WODynamicGroup.invokeAction( > WODynamicGroup.java:115) > > at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079 > ) > > at er.extensions.components.ERXComponent.invokeAction( > ERXComponent.java:102) > > at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357) > > at com.webobjects.appserver.WOApplication.invokeAction( > WOApplication.java:1745) > > at er.extensions.appserver.ajax.ERXAjaxApplication.invokeAction( > ERXAjaxApplication.java:95) > > at er.extensions.appserver.ERXApplication.invokeAction( > ERXApplication.java:1907) > > at > com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage( > WOComponentRequestHandler.java:206) > > at > com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession( > WOComponentRequestHandler.java:298) > > at > com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication( > WOComponentRequestHandler.java:332) > > at > com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest( > WOComponentRequestHandler.java:369) > > at > com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest( > WOComponentRequestHandler.java:442) > > at com.webobjects.appserver.WOApplication.dispatchRequest( > WOApplication.java:1687) > > at er.extensions.appserver.ERXApplication.dispatchRequestImmediately( > ERXApplication.java:2029) > > at er.extensions.appserver.ERXApplication.dispatchRequest( > ERXApplication.java:1994) > > at indoc.app.Application.dispatchRequest(Application.java:500) > > at com.webobjects.appserver._private.WOWorkerThread.runOnce( > WOWorkerThread.java:144) > > at com.webobjects.appserver._private.WOWorkerThread.run( > WOWorkerThread.java:226) > > at java.lang.Thread.run(Thread.java:680) > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure_______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc > > > |