tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: can't open, can't be found
Date Thu, 09 Aug 2001 17:08:31 GMT

Here's your problem:
Root cause: 

> java.lang.NumberFormatException: null
>         at java.lang.Integer.parseInt(Integer.java, Compiled Code)
>         at java.lang.Integer.parseInt(Integer.java, Compiled Code)
>         at
>
user._0002fuser_0002fAdmPreviewPage_0002ejspAdmPreviewPage_jsp_0._jspService
(_
>  0002fuser_0002fAdmPreviewPage_0002ejspAdmPreviewPage_jsp_0.java,
> Compiled Code)

	You are getting an uncaught NumberFormatException.  You Should look
at your AdmPreviewPage.jsp file where every you call parseInt and put
try...catch blocks around it to find out which one.  The most likely cause:
you're trying to use a request parameter that wasn't passed.

	Randy


> -----Original Message-----
> From: Ling Wang [mailto:lwang@uic.edu]
> Sent: Thursday, August 09, 2001 1:43 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: can't open, can't be found
> 
> 
> Hi Michael and MindTerm???
> 
> Thank you so much for you response.   
> I appreciate very much.
> 
> 
> 
> We use path="/cms"
>        docbase="/"webapps/cms"
> 
> I can run the example jsp's
> 
> I think I can load static content html
> 
> we are on solaris 8 and Tomca 3.2.3 JDK 1.2.2 
> 
> We just installed tomcat, I want to make sure it works, then go to
> Apache-Tomcat config.
> 
> This is the message I got:
> 
> Error: 500
> 
> Location: /cms/user/AdmPreviewPage.jsp
> 
> Internal Servlet Error:
> 
> javax.servlet.ServletException: null
>         at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(
> PageContextImpl.java,
> Compiled Code)
>         at
> user._0002fuser_0002fAdmPreviewPage_0002ejspAdmPreviewPage_jsp
> _0._jspService(_0002fuser_0002fAdmPreviewPage_0002ejspAdmPrevi
> ewPage_jsp_0.java,
> Compiled Code)
>         at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>         at
> org.apache.jasper.servlet.JspServlet$JspCountedServlet.service
> (JspServlet.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.java,
> Compiled Code)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
> Compiled Code)
>         at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
> Compiled Code)
>         at 
> org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> Code)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpConnectionHandler.java,
> Compiled Code)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
>         at java.lang.Thread.run(Thread.java, Compiled Code)
> 
> Root cause: 
> 
> java.lang.NumberFormatException: null
>         at java.lang.Integer.parseInt(Integer.java, Compiled Code)
>         at java.lang.Integer.parseInt(Integer.java, Compiled Code)
>         at
> user._0002fuser_0002fAdmPreviewPage_0002ejspAdmPreviewPage_jsp
> _0._jspService(_0002fuser_0002fAdmPreviewPage_0002ejspAdmPrevi
> ewPage_jsp_0.java,
> Compiled Code)
>         at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>         at
> org.apache.jasper.servlet.JspServlet$JspCountedServlet.service
> (JspServlet.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>         at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.java,
> Compiled Code)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
> Compiled Code)
>         at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
> Compiled Code)
>         at 
> org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> Code)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpConnectionHandler.java,
> Compiled Code)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
>         at java.lang.Thread.run(Thread.java, Compiled Code)
> 
> 
> Ling 
> 
> 
> 
> 
> On Thu, 9 Aug 2001, Ling Wang wrote:
> 
> > 
> > When I try to run some .jsp files under webapps, I got 
> can't open and not
> > found message.
> > 
> > Anyone knows why or give a guess?
> > 
> > Thanks in advance!
> >  
> > Ling 
> > 
> > 
> > 
> > 
> 

Mime
View raw message