HTTP Status 500 - Internal Server Error
Type Exception Report
Description The server encountered an unexpected condition that prevented it from fulilling the request.
Exception
java.lang.NullPointerException
comJDBCUti1.executeQuery (JDBCUti1.java:54)
com.JIyServlet.doGet (lyServlet.java:41)
com.yServlet.doPost (llyServlet.java:65)
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.VsFilter.doFi1 ter(WsFil ter.java:52)
Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/8.5.13
java.lang.NullPointerException
comJDBCUti1.executeQuery (JDBCUti1.java:54)
空指针异常,看下报错提示中的JDBCUti1类第54行代码。
空指针,看看你的executeQuery的传参或者类型有没有问题
你好,请看下
JDBCUtl1类的54行代码,有空指针异常