cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
130
Views
0
Helpful
0
Replies

NSO 5.7.3 applyTransParams fails

sm000x
Beginner
Beginner

Maapi.commitQueueResult is deprecated in NSO 5.7.3. However, I got internal error on the following code:

maapi.applyTrans(th, false, Maapi.COMMIT_NCS_COMMIT_QUEUE_SYNC);

CommitParams cParam = new CommitParams();
cParam.setCommitQueueSync(600);
CommitQueueResult qRst = (CommitQueueResult)maapi.applyTransParams(th, false, cParam);

com.tailf.maapi.MaapiException: internal
at com.tailf.maapi.MaapiException.mk(MaapiException.java:62)
at com.tailf.maapi.MaapiException.mk(MaapiException.java:51)
at com.tailf.maapi.ApplyResult.<init>(ApplyResult.java:25)
at com.tailf.maapi.Maapi.applyTransParams(Maapi.java:1583)
at com.tailf.maapi.Maapi.applyTransParams(Maapi.java:1560)

I switch to 

CommitQueueResult qRst = maapi.commitQueueResult(th, timeout);

Then it works fine. Could anyone help to point how what did I do wrong?

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community:

Recognize Your Peers