You have to compile your servlets with the -g option. If you still don't get line numbers you may have to disable the jit/hotspot compiler.
> -----Ursprüngliche Nachricht----- > Von: Marc Logemann [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 3. Juli 2002 10:53 > An: [EMAIL PROTECTED] > Betreff: Unknown Source in Trace? > > sometimes when tomcat prints out traces, i get the following: > > java.lang.NullPointerException > at de.bahr.mapping.MOCompany.getByPrimaryKey(Unknown Source) > at > de.bahr.erp.servlets.LoginServlet.showMainMenu(LoginServlet.java:108) > > Why do i get Unknown Source in the first line, i mean this makes > it a little bit hard to debug the class, what can i do that tomcat > knows the source and can point me to the correct line? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>