Error[2]: array_slice() expects parameter 1 to be array, null given, File: /www/wwwroot/outofmemory.cn/tmp/plugin_ss_superseo_model_superseo.php, Line: 441
File: /www/wwwroot/outofmemory.cn/tmp/plugin_ss_superseo_model_superseo.php, Line: 441, array_slice(03 , 1)
File: /www/wwwroot/outofmemory.cn/tmp/route_read.php, Line: 126, InsideLink()
File: /www/wwwroot/outofmemory.cn/tmp/index.inc.php, Line: 165, include(/www/wwwroot/outofmemory.cn/tmp/route_read.php)
File: /www/wwwroot/outofmemory.cn/index.php, Line: 30, include(/www/wwwroot/outofmemory.cn/tmp/index.inc.php)
Error[2]: Invalid argument supplied for foreach(), File: /www/wwwroot/outofmemory.cn/tmp/plugin_ss_superseo_model_superseo.php, Line: 441
File: /www/wwwroot/outofmemory.cn/tmp/route_read.php, Line: 126, InsideLink()
File: /www/wwwroot/outofmemory.cn/tmp/index.inc.php, Line: 165, include(/www/wwwroot/outofmemory.cn/tmp/route_read.php)
File: /www/wwwroot/outofmemory.cn/index.php, Line: 30, include(/www/wwwroot/outofmemory.cn/tmp/index.inc.php)
java.lang.NullPointerException at org.apache.jsp.checkcode.image_jsp._jspService(image_jsp.java:_随笔_内存溢出

java.lang.NullPointerException at org.apache.jsp.checkcode.image_jsp._jspService(image_jsp.java:

java.lang.NullPointerException at org.apache.jsp.checkcode.image_jsp._jspService(image_jsp.java:,第1张

package net.cctv3.action

import java.text.SimpleDateFormat

import java.util.Date

import com.google.gson.Gson

import com.opensymphony.xwork2.ActionSupport

import net.cctv3.util.MySQLUtils

import net.cctv3.util.StringUtils

public class SelectStaffedHoursProgressesAction extends ActionSupport {

private static final long serialVersionUID = -4014435425235296288L

public String startTime

public String endTime

public String staff

@Override

public String execute() throws Exception {

if(StringUtils.empty(startTime) || StringUtils.empty(endTime)) {

String now = new SimpleDateFormat("yyyy-MM-dd").format(new Date())

startTime = now

endTime = now

}

PrintUtils.println(new Gson().toJson(new MySQLUtils().selectStafedsHoursProgresses(staff, startTime, endTime)))

return NONE

}

public String getStartTime() {

return startTime

}

public void setStartTime(String startTime) {

this.startTime = startTime

}

public String getEndTime() {

return endTime

}

public void setEndTime(String endTime) {

this.endTime = endTime

}

public String getStaff() {

return staff

}

public void setStaff(String staff) {

this.staff = staff

}

}


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/7174610.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-02
下一篇 2023-04-02

发表评论

登录后才能评论

评论列表(0条)

保存