I'm using Suns jdk 1.3.1 running on Windows NT 4.0.
You are right Ralph, I used the wrong vocabulary. In fact I ment "source
file", since I'm not that good in reading byte code ;).

Volker.

> -----Original Message-----
> From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:17 AM
> To: Tomcat Users List
> Subject: 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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
> >
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to