NoSuchMethodError occurs when invoking the getClass() method (Doc ID 1371022.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 10.3 to 10.3.2 - Release: to AS10gR3
Information in this document applies to any platform.

Symptoms

A NoSuchMethodError occurs when invoking the getClass() method of a business object.  Such as when calling String(getClass(myObject))

The task could not be successfully executed.

Reason: 'java.lang.NoSuchMethodError: _getClass'.
Caused by: _getClass
fuego.lang.ComponentExecutionException: The task could not be successfully executed.
Reason: 'java.lang.NoSuchMethodError: _getClass'.
at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1100)
at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1295)
at fuego.server.execution.GlobalAutomaticJMSListeningHelper.executeJmsListener(GlobalAutomaticJMSListeningHelper.java:94)
at fuego.server.AbstractProcessBean$43.execute(AbstractProcessBean.java:3026)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.server.AbstractProcessBean.runGlobalJmsActivity(AbstractProcessBean.java:3032)
at fuego.server.execution.GlobalJMSExecutor$1.run(GlobalJMSExecutor.java:126)
at fuego.ejbengine.EJBProcessBean.executeTask(EJBProcessBean.java:149)
at fuego.server.execution.GlobalJMSExecutor.execute(GlobalJMSExecutor.java:107)
at fuego.ejbengine.EJBGlobalJMSExecutor.access$400(EJBGlobalJMSExecutor.java:43)
at fuego.ejbengine.EJBGlobalJMSExecutor$JMSExecutorWorker.run(EJBGlobalJMSExecutor.java:216)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError: _getClass
at test.MyProcess.Default_1_0.Instance.CIL_errorQueueListener(Instance.xcdl:40)
at su


and compiler didn't throw any error

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