My Oracle Support Banner

java.lang.NoSuchMethodError: CurrentProject.Instance.method_name()Ljava/lang/variable_type error message is thrown when a project variable is not declared (Doc ID 1085174.1)

Last updated on AUGUST 06, 2018

Applies to:

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

Symptoms

You have a "BaseProject". "FirstProject" is created extending from "BaseProject". This "FirstProject" has a project variable of type String and a simple process with a Global Creation -> Begin -> Interactive -> End. When you publish and deploy and try to access and create an instance in the process, you get an exception.

This happens in all Engine runtime: Studio and on Enterprise for WLS and WAS. The problem does not happen at publication time but at runtime.

It happens with any project variable type. So the type is not a variable in this issue. The project is generated with project dependencies.


Caused by: class fuego.lang.RuntimeExceptionShell ->> java.lang.NoSuchMethodError: CurrentProject.Instance.getInstStatus()Ljava/lang/String;
Caused by: java.lang.NoSuchMethodError: CurrentProject.Instance.getInstStatus()Ljava/lang/String;
at oracle.PWTRF_createIssue.Default_1_0.Instance.getInstStatus(Instance.xcdl)
at oracle.PWTRF_createIssue.Default_1_0.Instance.CIL_$getExternalVars(Instance.xcdl:1)
at fuego.server.ProcInstOperations.CIL_$getExternalVars(ProcInstOperations.java:57)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.createInstance(JdbcProcessInstancePersMgr.java:1237)
at fuego.server.persistence.Persistence.createProcessInstance(Persistence.java:680)
at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1973)
at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1200)
at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
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.runGlobalActivity(AbstractProcessBean.java:2968)
at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:1054)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
  Symptoms
  Cause
  Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.