Loading...

user@struts.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: struts2.3.1.2 exception Rene Gielen Thu Feb 02 16:09:45 2012

Hi Emi,

see inline

On 24.01.12 21:29, Emi Lu wrote:
> Thank you everyone!
> 
> The problem is fixed.
> 
> ognl3.0.4 is a must and can be the only ognl jar!
> 
> 
> The following are some background info:
> ==========================================
> . struts2.3.1.1 allows ognl3.0.2.jar + ognl3.0.2-source.jar + ognl3.0.1
> at the same time
> . struts2.3.1.2 can only have ognl3.0.4, but remove other versions
> 
> . [EMAIL PROTECTED] is very slow! I already got the author's replay
> but my question has not been shown in the mailing list yet! - still a
> very helpful list and i got almost got 100% answer for each my question :-)
> 

Well, actually [EMAIL PROTECTED] is not slow at all - it's moderators are
slow, since they are all human.

To make things faster, just subscribe to the list as described in
http://struts.apache.org/mail.html - you get 100% pure lightning fast
computer only message delivery as a benefit, without human moderators
being involved to review and ocassionally let pass your mail manually.

Each message of an unsubscribed user gets moderated, which makes it both
slower and and more work intensive for mailing list moderators!

Regards,
- René

> Happy new year all!
> 
> Emi
> 
> 
> On 01/24/2012 03:08 PM, Dave Newton wrote:
>> How did you upgrade? Looks like the wrong version of OGNL.
>>
>> On Tue, Jan 24, 2012 at 11:16 AM, Emi Lu <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     Good morning,
>>
>>     Upgraded to struts2.3.1.2, but got the following exception.
>>
>>     Could someone tell me which jar I missed please?
>>
>>     thanks a lot!
>>     Emi
>>
>>
>>     java.lang.NoSuchMethodError:
>>     ognl.SimpleNode.isEvalChain(__Lognl/OgnlContext;)Z
>>             at
>>    
>> com.opensymphony.xwork2.ognl.__OgnlUtil.isEvalExpression(__OgnlUtil.java:223)
>>
>>             at
>>     com.opensymphony.xwork2.ognl.__OgnlUtil.setValue(OgnlUtil.__java:214)
>>             at
>>    
>> com.opensymphony.xwork2.ognl.__OgnlValueStack.trySetValue(__OgnlValueStack.java:186)
>>
>>             at
>>    
>> com.opensymphony.xwork2.ognl.__OgnlValueStack.setValue(__OgnlValueStack.java:173)
>>
>>             at
>>    
>> com.opensymphony.xwork2.ognl.__OgnlValueStack.setParameter(__OgnlValueStack.java:151)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ParametersInterceptor.__setParameters(__ParametersInterceptor.java:__292)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ParametersInterceptor.__doIntercept(__ParametersInterceptor.java:__203)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__MethodFilterInterceptor.__intercept(__MethodFilterInterceptor.java:__98)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ParametersInterceptor.__doIntercept(__ParametersInterceptor.java:__211)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__MethodFilterInterceptor.__intercept(__MethodFilterInterceptor.java:__98)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__StaticParametersInterceptor.__intercept(__StaticParametersInterceptor.__java:190)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> org.apache.struts2.__interceptor.__MultiselectInterceptor.__intercept(__MultiselectInterceptor.java:__75)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> org.apache.struts2.__interceptor.__CheckboxInterceptor.intercept(__CheckboxInterceptor.java:90)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> org.apache.struts2.__interceptor.__FileUploadInterceptor.__intercept(__FileUploadInterceptor.java:__243)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ModelDrivenInterceptor.__intercept(__ModelDrivenInterceptor.java:__100)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ScopedModelDrivenInterceptor.__intercept(__ScopedModelDrivenInterceptor.__java:141)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ChainingInterceptor.intercept(__ChainingInterceptor.java:145)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__PrepareInterceptor.__doIntercept(__PrepareInterceptor.java:171)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__MethodFilterInterceptor.__intercept(__MethodFilterInterceptor.java:__98)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.I18nInterceptor.__intercept(I18nInterceptor.__java:176)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> org.apache.struts2.__interceptor.__ServletConfigInterceptor.__intercept(__ServletConfigInterceptor.java:__164)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.AliasInterceptor.__intercept(AliasInterceptor.__java:192)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__interceptor.__ExceptionMappingInterceptor.__intercept(__ExceptionMappingInterceptor.__java:187)
>>
>>             at
>>    
>> com.opensymphony.xwork2.__DefaultActionInvocation.__invoke(__DefaultActionInvocation.java:__249)
>>
>>             at
>>    
>> org.apache.struts2.impl.__StrutsActionProxy.execute(__StrutsActionProxy.java:54)
>>
>>             at
>>    
>> org.apache.struts2.dispatcher.__Dispatcher.serviceAction(__Dispatcher.java:510)
>>
>>             at
>>    
>> org.apache.struts2.dispatcher.__ng.ExecuteOperations.__executeAction(__ExecuteOperations.java:77)
>>
>>             at
>>    
>> org.apache.struts2.dispatcher.__ng.filter.__StrutsPrepareAndExecuteFilter.__doFilter(__StrutsPrepareAndExecuteFilter.__java:91)
>>
>>             at
>>    
>> org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
>>
>>             at
>>    
>> org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
>>
>>             at
>>    
>> org.apache.catalina.core.__StandardWrapperValve.invoke(__StandardWrapperValve.java:233)
>>
>>             at
>>    
>> org.apache.catalina.core.__StandardContextValve.invoke(__StandardContextValve.java:191)
>>
>>             at
>>    
>> org.apache.catalina.core.__StandardHostValve.invoke(__StandardHostValve.java:127)
>>
>>             at
>>    
>> org.apache.catalina.valves.__ErrorReportValve.invoke(__ErrorReportValve.java:102)
>>
>>             at
>>    
>> org.apache.catalina.core.__StandardEngineValve.invoke(__StandardEngineValve.java:109)
>>
>>             at
>>    
>> org.apache.catalina.connector.__CoyoteAdapter.service(__CoyoteAdapter.java:293)
>>
>>             at
>>    
>> org.apache.coyote.http11.__Http11Processor.process(__Http11Processor.java:859)
>>
>>             at
>>    
>> org.apache.coyote.http11.__Http11Protocol$__Http11ConnectionHandler.__process(Http11Protocol.java:__602)
>>
>>             at org.apache.tomcat.util.net
>>    
>> <http://org.apache.tomcat.util.net>.__JIoEndpoint$Worker.run(__JIoEndpoint.java:489)
>>
>>             at java.lang.Thread.run(Thread.__java:662)
>>
>>
>>     --
>>     Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
>>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> +1 514
>>     848-2424 x5884 <tel:%2B1%20514%20848-2424%20x5884>
>>
>>    
>> ------------------------------__------------------------------__---------
>>     To unsubscribe, e-mail: [EMAIL PROTECTED]
>>     <mailto:[EMAIL PROTECTED]>
>>     For additional commands, e-mail: [EMAIL PROTECTED]
>>     <mailto:[EMAIL PROTECTED]>
>>
>>
> 
> 

-- 
René Gielen
http://twitter.com/rgielen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]