We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Struts Exception

abuyusuf
abuyusuf asked
on
Medium Priority
496 Views
Last Modified: 2012-05-11
Hi - We are seeing the following exception trace in our log files - can some one please help me decipher this. Thanks

2011-04-19 11:02:10,655 WARN  [com.opensymphony.xwork2.util.OgnlValueStack] Caught an exception while evaluating expression '#userFeatures.containsValue('newAdjustment.action') ' against value stack
java.lang.NullPointerException: target is null for method containsValue
      at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:848)
      at ognl.ASTMethod.getValueBody(ASTMethod.java:73)
      at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
      at ognl.SimpleNode.getValue(SimpleNode.java:210)
      at ognl.ASTChain.getValueBody(ASTChain.java:109)
      at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
      at ognl.SimpleNode.getValue(SimpleNode.java:210)
      at ognl.Ognl.getValue(Ognl.java:333)
      at com.opensymphony.xwork2.util.OgnlUtil.getValue(OgnlUtil.java:194)
      at com.opensymphony.xwork2.util.OgnlValueStack.findValue(OgnlValueStack.java:238)
      at org.apache.struts2.components.Component.findValue(Component.java:322)
      at org.apache.struts2.components.If.start(If.java:85)
      at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
      at org.apache.jsp.pages.adjustment_005fview_jsp._jspx_meth_s_005fif_005f0(adjustment_005fview_jsp.java:534)
      at org.apache.jsp.pages.adjustment_005fview_jsp._jspx_meth_s_005fform_005f0(adjustment_005fview_jsp.java:216)
      at org.apache.jsp.pages.adjustment_005fview_jsp._jspService(adjustment_005fview_jsp.java:118)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Comment
Watch Question

Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
This is not exactly the answer I was looking for
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.