Hi All,
Does anybody have any quick thoughts on what could be causing this exception?
Thanks, Ricardo
java.lang.IllegalArgumentException: Unable to map destination WFItemDetail for relationship _eofInv_WFItemDetail_attachments in entity Attachment. To one relationships must be joined on the primary key of the destination. at com.webobjects.eoaccess.EORelationship._sourceRowToForeignKeyMapping(EORelationship.java:1134) at com.webobjects.eoaccess.EORelationship._foreignKeyForSourceRow(EORelationship.java:1148) at com.webobjects.eoaccess.EODatabaseContext._followToManyRelationshipWithFetchSpecification(EODatabaseContext.java:2497) at com.webobjects.eoaccess.EODatabaseContext._followFetchSpecification(EODatabaseContext.java:2636) at com.webobjects.eoaccess.EODatabaseContext._batchFetchRelationshipForSourceObjectsEditingContext(EODatabaseContext.java:3734) at com.webobjects.eoaccess.EODatabaseContext.batchFetchRelationship(EODatabaseContext.java:3816) at er.extensions.eof.ERXEOAccessUtilities.batchFetchRelationship(ERXEOAccessUtilities.java:1805) at er.extensions.eof.ERXDatabaseContextDelegate.doFetch(ERXDatabaseContextDelegate.java:734) at er.extensions.eof.ERXDatabaseContextDelegate.batchFetchToManyFault(ERXDatabaseContextDelegate.java:631) at er.extensions.eof.ERXDatabaseContextDelegate.databaseContextShouldFetchArrayFault(ERXDatabaseContextDelegate.java:363) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223) at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:163) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4236) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:45) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:103) at com.mpv.foundation.NSArray_Additions.hasElements(NSArray_Additions.java:611) at com.mpv.phynancecomponents.PhynanceAskMPVDetail.displayDetailAttachments(PhynanceAskMPVDetail.java:496) 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.WOAssociation.booleanValueInComponent(WOAssociation.java:276) at com.webobjects.appserver._private.WOConditional.evaluateCondition(WOConditional.java:60) at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:93) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at er.extensions.components._private.ERXWORepetition.appendToResponse(ERXWORepetition.java:508) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:107) at er.extensions.components.ERXNonSynchronizingComponent.appendToResponse(ERXNonSynchronizingComponent.java:73) at com.mpv.phynancecomponents.PhynanceContentComponent.appendToResponse(PhynanceContentComponent.java:64) at com.mpv.phynancecomponents.PhynanceAskMPVDetail.appendToResponse(PhynanceAskMPVDetail.java:1091) at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135) at er.extensions.components._private.ERXSwitchComponent.appendToResponse(ERXSwitchComponent.java:132) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at er.extensions.components._private.ERXWOForm.appendChildrenToResponse(ERXWOForm.java:253) at er.extensions.components._private.ERXWOForm.appendToResponse(ERXWOForm.java:403) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at er.extensions.components.conditionals.ERXWOTemplate.appendToResponse(ERXWOTemplate.java:56) at er.extensions.components.ERXWOComponentContent.appendToResponse(ERXWOComponentContent.java:230) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com.webobjects.appserver._private.WOComponentContent.appendToResponse(WOComponentContent.java:51) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:107) at er.extensions.components.ERXNonSynchronizingComponent.appendToResponse(ERXNonSynchronizingComponent.java:73) at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at er.extensions.components.conditionals.ERXWOTemplate.appendToResponse(ERXWOTemplate.java:56) at er.extensions.components.ERXWOComponentContent.appendToResponse(ERXWOComponentContent.java:230) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:107) at er.extensions.components.ERXNonSynchronizingComponent.appendToResponse(ERXNonSynchronizingComponent.java:73) at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:107) at er.extensions.components.ERXNonSynchronizingComponent.appendToResponse(ERXNonSynchronizingComponent.java:73) at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135) at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:107) at er.extensions.components.ERXNonSynchronizingComponent.appendToResponse(ERXNonSynchronizingComponent.java:73) at com.mpv.phynancecomponents.PhynancePage.appendToResponse(PhynancePage.java:917) at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1385) at er.extensions.appserver.ERXSession.appendToResponse(ERXSession.java:540) at com.mpv.webcomponents.MPVWOSession.appendToResponse(MPVWOSession.java:205) at com.mpv.webapp.phynance.Session.appendToResponse(Session.java:1733) at com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1794) at er.extensions.appserver.ERXApplication.appendToResponse(ERXApplication.java:1806) at com.mpv.webcomponents.MPVWOApplication.appendToResponse(MPVWOApplication.java:180) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:242) 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:1904) at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1869) 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:637)
|