jsp jdbc 연동에 관한 질문
HTTP Status 500 - java.lang.NullPointerException
--------------------------------------------------------------------------------
type Exception report
message java.lang.NullPointerException
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause
java.lang.NullPointerException
java.lang.String.(Unknown Source)
oracle.sql.CharacterSet.AL32UTF8ToString(CharacterSet.java:1517)
oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:589)
oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:542)
oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:816)
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:414)
oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
mypkg.member.SuperDao.getConnection(SuperDao.java:34)
mypkg.member.SuperDao.(SuperDao.java:26)
mypkg.member.MemberDao.(MemberDao.java:9)
org.apache.jsp.member.meList_jsp._jspService(meList_jsp.java:72)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
--------------------------------------------------------------------------------
Apache Tomcat/7.0.42
db와 연동을 햇는데 계속 오류가 납니다. 코딩엔 문제가 없고 시스템이거나 파일이 깨진거 같은데 도저히 못찾아 질문하게되었습니다 답변좀 부탁드리겟습니다.
ㅋㅋㅋ
ㅋㅋㅋㅋㅋㅋ
구글에서 찾아보니.
비슷한 내용이 있네요.
http://diyall.tistory.com/681
HTTP Status 500 - java.lang.NullPointerException
https://www.google.co.kr/search?q=HTTP+Status+500+-+java.lang.NullPointerException&rlz=1C1VFKB_enKR627KR627&oq=HTTP+Status+500+-+java.lang.NullPointerException&aqs=chrome..69i57&sourceid=chrome&es_sm=93&ie=UTF-8
----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
댓글 달기