javax.servlet.servletException: beanutils.populat: nullpointerexception < /p>
< /blockquote>
Als ich die Seite für eine Weile geöffnet habe (ungefähr 30 min) und dann auf der 'Surve' -Button auf meiner Seite reichen. Ich habe ein paar Beiträge zur Indizierung auf Stackoverflow gesehen und gegoogelt und ich habe sie durchgemacht, versuchte zu verstehen und zu implementieren, aber nichts scheint zu helfen. Hier ist der Fehler Screenshot: < /p>
Code: Select all
HTTP Status 500 - BeanUtils.populate
type Exception report
message BeanUtils.populate
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.lang.NullPointerException
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.java:515)
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.java:428)
org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:770)
org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801)
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:881)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Code: Select all
private PhaseTrackerSelectApprInfo[] selectApprList;
public PhaseTrackerSelectApprInfo[] getSelectApprList() {
return selectApprList;
}
public void setSelectApprList(PhaseTrackerSelectApprInfo[] selectApprList) {
this.selectApprList = selectApprList;
}
Code: Select all
private String dbName;
private String schemaName;
private String serviceName;
private String action;
private String phase2MoveDate;
private String approverProfileId;
private ArrayList approverList;
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName;
}
public ArrayList getApproverList() {
return approverList;
}
public void setApproverList(ArrayList approverList) {
this.approverList = approverList;
}
public String getApproverProfileId() {
return approverProfileId;
}
public void setApproverProfileId(String approverProfileId) {
this.approverProfileId = approverProfileId;
}
public String getSchemaName() {
return schemaName;
}
public void setSchemaName(String schemaName) {
this.schemaName = schemaName;
}
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getPhase2MoveDate() {
return phase2MoveDate;
}
public void setPhase2MoveDate(String phase2MoveDate) {
this.phase2MoveDate = phase2MoveDate;
}
Code: Select all
N/A
Code: Select all