----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Your problem si that you are using a compiler which precompiles the
code. Basically, it gives you the line numbers of the compiled code, NOT
the actual source line numbers. Disable the JIT if you are doing
debugging and enable when ready for production.
Ben Ricker
Senior Web Administrator
US-Rx, Inc.
> > -----Original Message-----
> > From: Moll Martin [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 28, 2000 8:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Line numbers for execptions in jserv.log
> >
> > Hi there,
> >
> > I get the following entry in jserv.log:
> >
> > [28/07/2000 19:29:10:562 CEST] java.lang.NullPointerException
> > at WapDemo.OrderItem.oisService(Compiled Code)
> > at
> > impress.ps.easyHTML.EasyHtmlTemplate.doGet(EasyHtmlTemplate.java:75)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > at
> > org.apache.jserv.JServConnection.processRequest(JServConnectio
> n.java:314)
> > at
> > org.apache.jserv.JServConnection.run(JServConnection.java:188)
> > at java.lang.Thread.run(Compiled Code)
> >
> > For the classes that I imported, I get the line number (I
> > assume) of the
> > java code where the exception occurred, for my own class I
> > don't get it. Why
> > not? Btw, I'm using JBuilder 3.5 and have set the "Include debug info"
> > compiler option.
> >
> > Thanks for your help,
> > Martin
> >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search Archives:
> > <http://www.mail-archive.com/java-apache-users%40list.working-
> dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]