OGNL/ dojo.transport severe error

walidito <[email protected]> Mon, 11 Dec 2006 09:25:43 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <4525252.1165850774023.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Hi,
this is about a struts 2 app, but my also concern webwork2...
 I'm using a small ajax div-tag to load data from an action. I make refreshments every x seconds. 
It works, 
But I get this exception in my console : 
SEVERE: Error setting expr 'dojo.transport' with value '[Ljava.lang.String;@1256a73' 
ognl.OgnlException: target is null for setProperty(null, "transport", [Ljava.lang.String;@1256a73) 
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1624) 
        at ognl.ASTProperty.setValueBody(ASTProperty.java:105) 
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177) 
        at ognl.SimpleNode.setValue(SimpleNode.java:246) 
        at ognl.ASTChain.setValueBody(ASTChain.java:172) 
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177) 
        at ognl.SimpleNode.setValue(SimpleNode.java:246) 
        at ognl.Ognl.setValue(Ognl.java:476) 
        at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:184) 
        at com.opensymphony.xwork2.util.OgnlValueStack.setValue(OgnlValueStack.java:162) 
        at com.opensymphony.xwork2.util.OgnlValueStack.setValue(OgnlValueStack.java:150) 
        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:173) 
        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.intercept(ParametersInterceptor.java:139) 
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200) 
        at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105) 
... 

If I make another load and/or refreshment on this ajax <div>, I will get another excpetion like this. So it becomes quickly dangerous for my application. 

Does someone ever found a trick or a solution to solve this ? 

thank you very much 

Does anyone has any idea ?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53007&messageID=106664#106664

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]