UnknownKeyException: [<er.modern.look.pages.ERMODInspectPage name: er.modern.look.pages.ERMODInspectPage subcomponents: null > takeValueForKey()]: attempt to assign value to unknown key: 'masterObjectAndRelationshipKey'.
This WOComponent does not have an instance variable of the name masterObjectAndRelationshipKey or _masterObjectAndRelationshipKey, nor a method of the name setMasterObjectAndRelationshipKey or _setMasterObjectAndRelationshipKey
at com.webobjects.appserver.WOComponent.handleTakeValueForUnboundKey(WOComponent.java:1781)
... skipped 4 stack elements
at com.webobjects.directtoweb.D2WPage.setExtraBindings(D2WPage.java:130)
... skipped 7 stack elements
at com.webobjects.appserver.WOComponent.pullValuesFromParent(WOComponent.java:525)
... skipped 86 stack elements
at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:190)
at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235)
at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268)
at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302)
at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:377)
... skipped 3 stack elements
at com.visionar.administraAgencia.app.Application.dispatchRequest(Application.java:42)
... skipped 3 stack elements
_ignoredPackages:: ("com.webobjects", "java.applet", "java.awt", "java.awt.datatransfer", "java.awt.event", "java.awt.image", "java.beans", "java.io", "java.lang", "java.lang.reflect", "java.math", "
java.net", "java.rmi", "java.rmi.dgc", "java.rmi.registry", "java.rmi.server", "java.security", "java.security.acl", "java.security.interfaces", "java.sql", "java.text", "java.util", "java.util.zip")
The entity in question has three to-one relationships and the only that is not set is a to one to an ERDatabaseAttachment. Should this be the reason for the exception? It is interesting to notice that inspecting the entity doesn't raise the exception and that I was able to create a new entity without raising the exception before I entered some data directly in MySQL. It is also noticeable that I faced this exception when using one but not both of this rules simultaneously: