tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <aherit...@sopragroup.com>
Subject RE: Wrong line number in stack trace
Date Thu, 29 Nov 2001 10:19:56 GMT
Which TC release ????

> -----Message d'origine-----
> De:	Ralph Einfeldt [SMTP:ralph.einfeldt@uptime-isc.de]
> Date:	jeudi 29 novembre 2001 11:17
> À:	Tomcat Users List
> Objet:	AW: Wrong line number in stack trace
> 
> Which JDK do you use ?
> 
> Never experienced something like that with either IBM's JDK or Suns JDK.
> 
> Was 'class file' just a typo? 
> (It should be the source you looked at)
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Volker Leidl [mailto:leidl@nt.imp.univie.ac.at]
> > Gesendet: Donnerstag, 29. November 2001 10:45
> > An: Tomcat Users List
> > Betreff: Wrong line number in stack trace
> > 
> > 
> > Hi all!
> > 
> > I repeatedly run into the problem that the stack trace of an exception
> > thrown within a jsp page does not show the appropriate line number.
> > For instance the output of the stack trace says:
> > 
> > java.lang.Exception
> > 	at
> > help._0002fhelp_0002fabout_0005fincl_0002ejspabout_0005fincl_j
> > sp_2._jspServi
> > ce(_0002fhelp_0002fabout_0005fincl_0002ejspabout_0005fincl_jsp
> > _2.java:71)
> > 	at 
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 
> > Looking at the generated class file (which i found in a 
> > subdirectory of
> > $(tomcat_home)/work) 71 is definitely not the correct line where the
> > exception was thrown. In other cases the given line number 
> > even exceeds the
> > end of the file.
> > 
> > Of cource I should try to keep as much code as possible 
> > outside my jsps. But
> > still this problem makes it rather annoying  to find the source of an
> > exception.
> > 
> > Thanks for you help,
> > 
> > Volker.
> > 
> > 
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> > 
> > 
> > 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message