Trouble with reusable components (and XMLHTTPRequest ?)
Trouble with reusable components (and XMLHTTPRequest ?)
- Subject: Trouble with reusable components (and XMLHTTPRequest ?)
- From: Stephane Guyot <email@hidden>
- Date: Wed, 12 Oct 2005 20:45:25 +0200
Hi list,
we currently have an exception with a reusable components.
Reusable Component X ----> inside Reusable Component Y ------> inside
WOComponent Z ( top level component )
X and Y are stateless and every works fine until the submit of the FORM
in the page Z.
When the form submit we have the following exception :
.......
[2005-10-12 11:31:53 CEST] <WorkerThread5> [ Reusable Component
Y(2593530)] [invokeAction]
[2005-10-12 11:31:53 CEST] <WorkerThread5> [ Log]
####################################################
Session [invokeAction] Exception
####################################################
java.lang.NullPointerException
at com.webobjects.appserver._private.WOComponentReference.
_popComponentFromContext(WOComponentReference.java:99) at
com.webobjects.appserver.
_private.WOComponentReference.invokeAction(WOComponentReference.java:
114) at com.webobjects.appserver.
_private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at com.webobjects.appserver.
_private.WODynamicGroup.invokeAction(WODynamicGroup.java:110) at
com.webobjects.appserver.
_private.WOComponentContent.invokeAction(WOComponentContent.java:31) at
com.webobjects.appserver.
_private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at com.webobjects.appserver.
_private.WODynamicGroup.invokeAction(WODynamicGroup.java:110) at
com.webobjects.appserver. _private.WOForm.invokeAction(WOForm.java:82)
I'm not sure we are in the standard situation, the last time an action
is invoke on the server side it's done with an XMLHTTPRequest, and the
last action invoked belongs to the reusable component X, does not
respond with a perfomParentAction, but rather with a WOResponse
containing XML string.
When we come back again in the submit, apparently the reusable
component Y doesn't have any parent.
Any ideas, suggestions are very very ... wellcome
Thanks,
Stephane
_______________________________________________
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