cancel
Showing results for 
Search instead for 
Did you mean: 

Obtain the Container Object from within JAVA_SECTIONS_TOOLTIP?

Former Member
0 Kudos

I'm looking for a way of obtaining the AbstractTrace inside the JAVA_SECTIONS_TOOLTIP function in a message mapping.

It seems like I need to have access to the Container object in order to do so,

i.e:

AbstractTrace trace;
trace = container.getTrace();

...but I can't find a way of accessing the Container, I only get NullpointerException when I try.

Is there a way?

Best Regards

Olof Trönnberg

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

just use the code posted by Bhavesh from this thread:

and it will work

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi ,

Thanks for providing the correct method of usaage.

MichalKrawczyk
Active Contributor
0 Kudos

no problem:)

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Please check this .

http://help.sap.com/saphelp_nw04/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/frameset.htm

Are you trying to print the trace objcet or you are getting error while accessing container object it self ?

Nanda