MSSQL2000打过SP4补丁还是提示
空指针错误 跪求各位帮忙 顶的也有分
我用的是微软的JDBC驱动
没想到运行出现错误 到处找方法 说打到SP4的补丁可以解决(小弟的是SP3补丁)
可是打了之后还是那样 能帮我想想办法吗
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.newbook_jsp._jspService(newbook_jsp.java:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException org.apache.jsp.left_jsp._jspService(left_jsp.java:182)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.newbook_jsp._jspService(newbook_jsp.java:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
------解决方案--------------------你的sql验证模试没弄好吧
------解决方案--------------------空指针不一定是数据库的问题,也不一定是数据库操作语句的问题,有时候是你变量的问题.
先在MSSQL里调试一下你的SQL语句,看有没有问题.
如果没问题,再调试你程序中SQL上下一部分的语句.
------解决方案--------------------left.jsp中,出现了空指针的错误。
找到编译成的left_jsp.java中的182行,看看那行有什么,处理下,应该就没有问题了。
------解决方案--------------------不是数据库的问题~
空指针
------解决方案--------------------java.lang.
NullPointerException =========================================================
对啊,楼主这是空值问题,看看你是不是操作了没有被实例化的对象
------解决方案--------------------空指针貌似和数据库没关系吧
------解决方案--------------------我也觉得空指针不是数据库的问题。。。
--