Exceptions in directActions - handleException not called
Exceptions in directActions - handleException not called
- Subject: Exceptions in directActions - handleException not called
- From: Kaj Hejer <email@hidden>
- Date: Wed, 16 Jun 2004 11:25:14 +0200
Hi!
I have an component that giives a UnknownKeyException. This is easy to fix :)
What is strange is that my Application.handleException method is not
called when I'm not running in directConnnect.
Is this a know issue?
I get a stacktrace like
[2004-06-16 11:03:53 MEST] <WorkerThread0>
<com.webobjects.appserver._private.WODirectActionRequestHandler>:
Exception while handling action named "logg" on action class "null"
:com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
<Session 0x1cffeb4> valueForKey(): lookup of unknown key:
'valgtBlogg'.
This class does not have an instance variable of the name valgtBlogg
or _valgtBlogg, nor a method of the name valgtBlogg, _valgtBlogg,
getValgtBlogg, or _getValgtBlogg
[2004-06-16 11:03:53 MEST] <WorkerThread0>
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
<Session 0x1cffeb4> valueForKey(): lookup of unknown key:
'valgtBlogg'.
This class does not have an instance variable of the name valgtBlogg
or _valgtBlogg, nor a method of the name valgtBlogg, _valgtBlogg,
getValgtBlogg, or _getValgtBlogg
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.handleQueryWithUnboundKey(NSKeyValueCoding.java:1316)
at
com.webobjects.appserver.WOSession.handleQueryWithUnboundKey(WOSession.java:1574)
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.WOSession.valueForKey(WOSession.java:1562)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:498)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:216)
at
com.webobjects.appserver.WOSession.valueForKeyPath(WOSession.java:1592)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:149)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:217)
at
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1600)
at
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:46)
at
com.webobjects.appserver._private.WOString.appendToResponse(WOString.java:55)
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 UIOComponent.appendToResponse(UIOComponent.java:16)
at NettloggComponent.appendToResponse(NettloggComponent.java:31)
at
com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1388)
at
com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1356)
at
com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1351)
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:145)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at Application.dispatchRequest(Application.java:161)
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(Thread.java:534)
I'm on WO5.2.3.
Any ideas?
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.