作业帮 > 综合 > 作业

The full stack trace of the root cause is available in the A

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/17 07:51:03
The full stack trace of the root cause is available in the Apache Tomcat/6.0
The server encountered an internal error () that prevented it from fulfilling this request.
java.lang.NullPointerException
\x09cn.ruis.zhxxpt.mqrj.action.RjAction.getList(RjAction.java:101)
\x09sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
\x09sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
\x09sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
\x09java.lang.reflect.Method.invoke(Unknown Source)
cn.ruis.zhxxpt.mqrj.action.RjAction.getList(RjAction.java:101) 这个应该是你自己的吧?报空指针了 断点到这里看看是什么空了
再问: 是自己的,指的是这一行pageSet = this.getRjService().pageSet(map, super.pageNo, super.pageSize);我刚开始学,仿照别人的例子做的,也不知道哪里空了。
再答: 你可以这样把this.getRjService().pageSet(map, super.pageNo, super.pageSize);里面所有的元素在这一句之前打印一下,看看那个是null的然后再对应去查