2011-11-22 10:32:35 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet default threw exception
java.lang.NullPointerException
at org.apache.catalina.connector.Request.parseParameters(Request.java:2593)
at org.apache.catalina.connector.Request.getParameterNames(Request.java:1144)
at org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:371)
at javax.servlet.ServletRequestWrapper.getParameterNames(ServletRequestWrapper.java:178)
at com.shcb.action.BasicAction.getParamsToMap(BasicAction.java:56)
at com.shcb.action.JFreeChartAction.getParamsToMap(JFreeChartAction.java:50001)
at com.shcb.action.JFreeChartAction$$M$141010c8.getFcyStatisticalPieChartByCcode(JFreeChartAction.java:78)
at com.shcb.action.JFreeChartAction$$A$141010c8.getFcyStatisticalPieChartByCcode()
at com.shcb.action.JFreeChartAction.getFcyStatisticalPieChartByCcode(JFreeChartAction.java:87)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
at com.shcb.interceptor.CalcRuntimeInterceptor.doIntercept(CalcRuntimeInterceptor.java:23)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at com.shcb.interceptor.CalcRuntimeInterceptor.intercept(CalcRuntimeInterceptor.java:50001)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
struts2整合jfreechart问题
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- 爱上一条鱼 2011-11-22 11:51关注
[code="java"]values[0] = request.getParameter(key); [/code]
这句话错了[code="java"]String[] values = null;// 这里没有初始化,下面就直接给values[0]赋值了,然后就NullPointerException[/code]
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥20 iOS绕地区网络检测
- ¥15 python验证码滑块图像识别
- ¥15 根据背景及设计要求撰写设计报告
- ¥15 QT6颜色选择对话框显示不完整
- ¥20 能提供一下思路或者代码吗
- ¥15 用twincat控制!
- ¥15 请问一下这个运行结果是怎么来的
- ¥15 单通道放大电路的工作原理
- ¥30 YOLO检测微调结果p为1
- ¥15 DS18B20内部ADC模数转换器