API Throws "Invalid parameter" Exception When Retrieving a Manufacturer Part (Doc ID 575160.1)

Last updated on JUNE 02, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.2.1.6 to 9.3.2.0 [Release 9.2.0.0 to 9.3.2]
Information in this document applies to any platform.

Symptoms

Error retrieving manufacturer part using Agile  SDK API: "Invalid parameter"

Full stack trace:

 

Error: com.agile.util.exception.CMAppException: Invalid parameter.

com.agile.util.exception.CMAppException: Invalid parameter.
        at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
        at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
        at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:248)
        at com.agile.apibean.APISessionBean_id91a6_EOImpl_815_WLStub.getObject(Unknown Source)
        at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1243)
        at com.agile.api.common.SDKAction.run(SDKAction.java:23)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
        at weblogic.security.Security.runAs(Security.java:61)
        at com.agile.api.common.WebLogicAuthenticator.doAs(WebLogicAuthenticator.java:103)
        at com.agile.api.common.Security.doAs(Security.java:54)
        at com.agile.api.common.Security.doAs(Security.java:119)
        at com.agile.api.pc.Session.getObject(Session.java:442)
        at AgileTest.Test1.DumpEx emption(Test1.java:168)
        at AgileTest.CL.main(CL.java:72)
com.agile.util.exception.CMAppException: Invalid parameter.
        at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
        at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
        at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:248)
        at com.agile.apibean.APISessionBean_id91a6_EOImpl_815_WLStub.getObject(Unknown Source)
        at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1243)
        at com.agile.api.common.SDKAction.run(SDKAction.java:23)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
        at weblogic.security.Security.runAs(Security.java:61)
        at com.agile.api.common.WebLogicAuthenticator.doAs(WebLogicAuthenticator.java:103)
        at com.agile.api.common.Security.doAs(Security.java:54)
        at com.agile.api.common.Security.doAs(Security.java:119)
        at com.agile.api.pc.Session.getObject(Session.java:442)
        at AgileTest.Test1.DumpExemption(Test1.java:168)
        at AgileTest.CL.main(CL.java:72)
Erro r code : 60018
Error message : Invalid parameter.
Root Cause exception : com.agile.util.exception.CMAppException: Invalid parameter

 

Fact: Using session.getObject() method.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms