StrutsBug

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalArgumentException: Null property value for 'salaryGradeDetailVO'
	org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:778)
	com.neusoft.talentbase.framework.core.strutsextension.TbRequestUtils.getClassType(TbRequestUtils.java:381)
	com.neusoft.talentbase.framework.core.strutsextension.TbRequestUtils.registerConverter(TbRequestUtils.java:332)
	com.neusoft.talentbase.framework.core.strutsextension.TbRequestUtils.populate(TbRequestUtils.java:229)
	com.neusoft.talentbase.framework.core.strutsextension.TbRequestProcessor.processPopulate(TbRequestProcessor.java:253)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:205)
	com.neusoft.talentbase.framework.core.strutsextension.TbRequestProcessor.process(TbRequestProcessor.java:80)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	com.neusoft.report.sample.security.LoginUserFilter.doFilter(LoginUserFilter.java:49)
	com.neusoft.talentbase.framework.core.usercontext.UserContextFilter.doFilter(UserContextFilter.java:82)
	com.neusoft.talentbase.framework.core.filter.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:55)

 

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.

 

Struts 的 Form中 有个VO,然后这个VO 有个属性也是一个对象VO,因此在增加的时候需要new这个对象,不然struts往里面放值的时候会报错,因为null.VO报错,VO.null.属性也报错。Form中的对象,VO中的对象,一定定义初始化一个值。

你可能感兴趣的:(struts)