tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Exception in R error
Date Mon, 02 Dec 2002 13:37:13 GMT
Look at your trace:
Root cause:
java.lang.NullPointerException
         at ituNews.dbUtil.getDBResults(Compiled Code)
         at ituNews.content.getCurrentContentTitles(Compiled Code)
         at itu.index_1._jspService(Compiled Code)

You have code which is throwing a NPE. To get lines numbers, run java in 
  interpretated mode only: CATALINA_OPTS="-Xint"

-Tim

Richard Jackson wrote:
> What is the cause of this tomcat 3.3.1 dump trace?  It occurs on the first
> request.
> 
> 2002-12-02 07:02:36 - Ctx() : Exception in R(  + /itu/index.jsp + null) - javax.
> servlet.ServletException
>         at java.lang.Throwable.fillInStackTrace(Native Method)
>         at java.lang.Throwable.fillInStackTrace(Compiled Code)
>         at java.lang.Throwable.<init>(Compiled Code)
>         at java.lang.Exception.<init>(Compiled Code)
>         at javax.servlet.ServletException.<init>(Compiled Code)
>         at org.apache.jasper.runtime.PageContextImpl.handlePageException(Compile
> d Code)
>         at itu.index_1._jspService(Compiled Code)
>         at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
>         at javax.servlet.http.HttpServlet.service(Compiled Code)
>         at org.apache.tomcat.facade.ServletHandler.doService(Compiled Code)
>         at org.apache.tomcat.core.Handler.invoke(Compiled Code)
>         at org.apache.tomcat.core.Handler.service(Compiled Code)
>         at org.apache.tomcat.facade.ServletHandler.service(Compiled Code)
>         at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
>         at org.apache.tomcat.core.ContextManager.service(Compiled Code)
>         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
> Compiled Code)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compile
> d Code)
>         at java.lang.Thread.run(Thread.java:479)
> Root cause:
> java.lang.NullPointerException
>         at ituNews.dbUtil.getDBResults(Compiled Code)
>         at ituNews.content.getCurrentContentTitles(Compiled Code)
>         at itu.index_1._jspService(Compiled Code)
>         at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
>         at javax.servlet.http.HttpServlet.service(Compiled Code)
>         at org.apache.tomcat.facade.ServletHandler.doService(Compiled Code)
>         at org.apache.tomcat.core.Handler.invoke(Compiled Code)
>         at org.apache.tomcat.core.Handler.service(Compiled Code)
>         at org.apache.tomcat.facade.ServletHandler.service(Compiled Code)
>         at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
>         at org.apache.tomcat.core.ContextManager.service(Compiled Code)
>         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
> Compiled Code)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compile
> d Code)
>         at java.lang.Thread.run(Thread.java:479)


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message