lookup of unknown key: '_keys'. in w2k
lookup of unknown key: '_keys'. in w2k
- Subject: lookup of unknown key: '_keys'. in w2k
- From: Omar <email@hidden>
- Date: Tue, 11 Jan 2005 09:34:42 -0500
Hi,
I am trying to use a D2WList in a component, it works OK in my PowerBook
but when I try it on a W2K Server I get the following exception:
21719 [WorkerThread0] ERROR er.directtoweb.ERDirectToWeb Page:
com.cci.CCIQueryPage - Configuration: qLabels - Exception
<com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
[<com.webobjects.directtoweb.D2WSwitchComponent name:
com.webobjects.directtoweb.D2WSwitchComponent subcomponents:
{PageWrapper.7.1.5.1.0.com_cci_CCIListPage = <com.cci.CCIListPage name:
com.cci.CCIListPage subcomponents: null >; } > valueForKey()]: lookup of
unknown key: '_keys'.
This WOComponent does not have an instance variable of the name _keys or
__keys, nor a method of the name _keys, __keys, get_keys, or _get_keys>:
pageConfiguration <qLabels>, propertyKey <null>, entityName <dbmsgs01>,
displayPropertyKeys <("msg_code", "msg_lang", "msg_type", "msg_txt")>,
componentName <D2WDisplayString>, customComponent
<ERDDefaultCustomComponent>
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
[<com.webobjects.directtoweb.D2WSwitchComponent name:
com.webobjects.directtoweb.D2WSwitchComponent subcomponents:
{PageWrapper.7.1.5.1.0.com_cci_CCIListPage = <com.cci.CCIListPage name:
com.cci.CCIListPage subcomponents: null >; } > valueForKey()]: lookup of
unknown key: '_keys'.
This WOComponent does not have an instance variable of the name _keys or
__keys, nor a method of the name _keys, __keys, get_keys, or _get_keys
at
com.webobjects.appserver.WOComponent.handleQueryWithUnboundKey(WOComponent.java:1566)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.handleQueryWithUnboundKey(NSKeyValueCoding.java:544)
at
com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.valueInObject(NSKeyValueCoding.java:920)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1268)
at
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1539)
at
com.webobjects.directtoweb.D2WSwitchComponent.associationWithName(D2WSwitchComponent.java:337)
at
com.webobjects.directtoweb.D2WSwitchComponent.setExtraBindings(D2WSwitchComponent.java:329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.webobjects.foundation.NSKeyValueCoding$1.setMethodValue(NSKeyValueCoding.java:688)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.setValueInObject(NSKeyValueCoding.java:1175)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.takeValueForKey(NSKeyValueCoding.java:1293)
at
com.webobjects.appserver.WOComponent.takeValueForKey(WOComponent.java:1550)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.takeValueForKey(NSKeyValueCoding.java:519)
at
com.webobjects.foundation.NSValidation$DefaultImplementation.validateTakeValueForKeyPath(NSValidation.java:733)
at
com.webobjects.appserver.WOComponent.validateTakeValueForKeyPath(WOComponent.java:1273)
at
com.webobjects.appserver._private.WOKeyValueAssociation.setValue(WOKeyValueAssociation.java:71)
at
com.webobjects.appserver.WOComponent._doPushValuesUp(WOComponent.java:569)
at
com.webobjects.appserver.WOComponent.pushValuesToParent(WOComponent.java:547)
at
com.webobjects.appserver._private.WOComponentReference._popComponentFromContext(WOComponentReference.java:91)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:112)
at
com.webobjects.appserver._private.WOSwitchComponent.appendToResponse(WOSwitchComponent.java:197)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:111)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:111)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130)
at
com.webobjects.appserver._private.WOComponentContent.appendToResponse(WOComponentContent.java:43)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992)
at
er.directtoweb.ERDCustomComponent.appendToResponse(ERDCustomComponent.java:249)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:111)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130)
at
com.webobjects.appserver._private.WOComponentContent.appendToResponse(WOComponentContent.java:43)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:111)
at
com.webobjects.appserver._private.WOSwitchComponent.appendToResponse(WOSwitchComponent.java:197)
at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992)
at er.directtoweb.ERD2WPage.appendToResponse(ERD2WPage.java:380)
at er.directtoweb.ERD2WListPage.appendToResponse(ERD2WListPage.java:269)
at
com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1198)
at er.extensions.ERXSession.appendToResponse(ERXSession.java:510)
at
com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1418)
at
er.extensions.ERXApplication.appendToResponse(ERXApplication.java:606)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:230)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:432)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:638)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Unknown Source)
I am calling the D2WList as follows:
ListPage: D2WList {
pageConfiguration = "lLabels";
dataSource = displayGroup.dataSource;
}
I am supposed to be using the same version of WO in both machines
(5.2.3) but I don't know why this error occurs, can anybody shed some
light on this?
Thanks in advance,
Omar
_______________________________________________
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