on 02-29-2008 9:32 AM
MappingTrace trace;
trace.addInfo("mapping started");
This is the code that we are using to trace the mapping in XI,
but on execution of the code we are getting java.lang.NullPointerException.
can you please provide us with a solution to it.
Thank you.
Hi
Verify if you are notsending the blank values to the udf in which this code was added.
refer below code
MappingTrace trace;
//First we get a handle to the trace object
trace = container.getTrace();
//Here is how to write to the trace
//Make sure your XI RUNTIME TRACE_LEVEL is set to 2 or 3
trace.addInfo("mapping started");
//Here is how to write a warning
//But make sure your RUNTIME TRACE_LEVEL is 1, 2 or 3
trace.addWarning("Exception exception caught.");
Go to Trace Level section
http://help.sap.com/saphelp_nw04/helpdata/en/3b/c18c4037fba62be10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/3b/c18c4037fba62be10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/c8/98e7d5c1620642973565ea3dd319d1/content.htm
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.