The full stack trace of the root cause is available in the Apache Tomcat/6.0

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)
其他人气:155 ℃时间:2020-02-05 14:10:26
优质解答
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的然后再对应去查
我来回答
类似推荐
请使用1024x768 IE6.0或更高版本浏览器浏览本站点,以保证最佳阅读效果。本页提供作业小助手,一起搜作业以及作业好帮手最新版!
版权所有 CopyRight © 2012-2024 作业小助手 All Rights Reserved. 手机版