Discussion
Covance
US
Last activity: 27 Jul 2015 22:09 EDT
Error getting while using "PublicAPI tools=null"
PRPC Version: 7.1.7
1.
I have written following java code to create page just for testing purpose. If i put as
PublicAPI tools = null;
I am getting run time exception as "caught exception java.lang.NullPointerException" and tracer records saying
Executable.unwind-Inactive.
Here is the code
PublicAPI tools = null;
ClipboardPage MyPage = tools.createPage("Code-Pega-List", "TestJavaPage");
If I remove the "PublicAPI tools = null;" line from code It works fine.
What could be the reason of this behaviour? initianlize the PublicAPI to null is incorrect?
2. How to get the list of stack operations in commit method? Is there any method in API?