CCB V2.1.0 Error 'Cannot Call Cobol Program - Program Name is Missing' Occurs Creating A Case Log That Has A Custom Message With It. (Doc ID 560026.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version: 2.1.0 and later   [Release: 2.1 and later ]
Information in this document applies to any platform.

Symptoms

When attempting to create a Case Log by using the classes Case Log and Case Log Message Parameter
with a Custom Message with message parameter, the following error occurs:

ERROR (support.cobol.AbstractCobolProgram) Cannot call Cobol program - Program name is missing
ERROR (support.cobol.CobolToJavaGateway) Error invoking method invoke
ERROR (support.cobol.CobolToJavaGateway) A system error occurred calling method invoke on class com.splwg.ccb.domain.admin.caseType.CaseEnterStatusAlgorithmFromCobolWrapper_Impl
com.splwg.shared.common.LoggedException:
The following stacked messages were reported as the LoggedException was rethrown:
java.lang.reflect.Method.invoke(Method.java:585): Error invoking method invoke

The root LoggedException was: Cannot call Cobol program - Program name is missing


STEPS:
The issue can be reproduced at will with the following steps:
1. Add Custom java file to project, generate artifacts and deploy cm.jar file.
2. Create Algorithm Type with the Algorithm Entity of 'Case Type - Enter Status' and select the
custom program above.
3. Create an Algorithm for this Algorithm Type.
4. Create a Message that will appear in the Case Log.
5. Create Case Type.
6. Plug in the new Algorithm as an 'Enter Processing' System Event of the Case Type.
7. Create Case.
8. Click Save.
9. System error occurs.

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