Domino Java not reporting error line any more

Hi,

I used to get the line number where runtime error occurred in Java (mainly agents). Nowadays (probably after moving from relese 7 to 8) I just get “Unknown source”. I have this standard error handling code:

    } catch(Exception e) {

    	e.printStackTrace();

    }

and get something like this:

12/29/2010 11:26:11 PM HTTP JVM: java.lang.NullPointerException

12/29/2010 11:26:11 PM HTTP JVM: at Report.getTemplate(Unknown Source)

12/29/2010 11:26:11 PM HTTP JVM: at Report.build(Unknown Source)

12/29/2010 11:26:11 PM HTTP JVM: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Is there any way to get the line number reported when a run time error occurs in Java code in Domino 8?

Currently I’m developing a web service provider in Java and the error above is from that.

thanks,

  • Panu

Subject: “Compile Java code with Debugging information”

In DDE, Basic tab of your Java agent there is an option to “Compile Java code with Debugging information”, this will add the line numbers back in.

Subject: Thanks!