tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Muhlestein <den...@zserve.com>
Subject java line numbers
Date Wed, 12 Jun 2002 13:28:44 GMT

Compile in debug mode.
read javac documentation.
With ant, you can put debug="true" in the build.xml javac target.

On Wed, 2002-06-12 at 01:56, August Detlefsen wrote:
> How do I get line numbers in my stack trace? 
> 
> All the org.apache and javax class show line numbers, but my classes
do
> not:
> 
> java.lang.NullPointerException
>         at showplan.Controller.dispatchContentAction(Controller.java)
>         at showplan.Controller.service(Controller.java)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:217)
>         at
>
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
>         at java.lang.Thread.run(Thread.java:484)
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
> 




--
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