注册 登录
编程论坛 SQL Server论坛

java连接数据库问题

耙耙虫 发布于 2008-10-06 10:07, 982 次点击
我用myeclipse连接数据库出现问题,意思好像是数据库问题;
报错HTTP Status 500
description The server encountered an internal error () that prevented it from fulfilling this request.


java.lang.NullPointerException
    com.hygj.util.TestInfoUtil.zhuceAndGetPwd(TestInfoUtil.java:93)
    com.hygj.servlet.RegisterServlet.doGet(RegisterServlet.java:55)
    com.hygj.servlet.RegisterServlet.doPost(RegisterServlet.java:103)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    com.hygj.servlet.CharacterFilter.doFilter(CharacterFilter.java:25)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.



请问各位高手,到底是怎么了??
1 回复
#2
球球2008-10-06 12:49
空指针错误,对象没有实例化,检查一下你的代码喽。
1