My Oracle Support Banner

Error During CM Generation Due To CobolCopybook (Doc ID 2621465.1)

Last updated on DECEMBER 24, 2019

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.4.0.3.0 and later
Information in this document applies to any platform.

Goal

On : 2.4.0.3.0 version, IP - Installation Upgrade Proc

Error during CM generation due to CobolCopybook

Implementation team created a CobolCopybookCICCACDN_Impl.java and CobolProgramCIPCACDN_Impl.java in order to be able to call CIPCACDN via a CM java code. However, an error is encountered during generation. The following is the error encountered:

  [java] - 2019-11-24 13:44:41,059 [main] INFO (tools.artifactgen.ArtifactGenerator) Adding processors to context managed objects
  [java] - 2019-11-24 13:44:41,066 [main] ERROR (artifactgen.metadata.DatabaseRepository) Attempt to register a duplicate copybook CICCACDN
  [java] com.splwg.shared.common.LoggedException: Attempt to register a duplicate copybook CICCACDN
  [java] at com.splwg.shared.common.LoggedException.raised(LoggedException.java:67)
  [java] at com.splwg.tools.artifactgen.metadata.DatabaseRepository.registerCobolCopybook(DatabaseRepository.java:470)
  [java] at com.splwg.tools.artifactgen.sourceparser.cobol.CobolCopyImplClassProcessor.addToContextManagedObjects(CobolCopyImplClassProcessor.java:94)
  [java] at com.splwg.tools.artifactgen.ArtifactGenerator.addProcessorToManagedObjects(ArtifactGenerator.java:796)
  [java] at com.splwg.tools.artifactgen.ArtifactGenerator.removeOldAndRegisterNewEntities(ArtifactGenerator.java:770)
  [java] at com.splwg.tools.artifactgen.ArtifactGenerator.generateArtifacts(ArtifactGenerator.java:387)
  [java] at com.splwg.tools.artifactgen.ArtifactGenerator.privateGenerate(ArtifactGenerator.java:273)
  [java] at com.splwg.tools.artifactgen.ArtifactGenerator.doGenerateFromCommandLine(ArtifactGenerator.java:1115)
  [java] at com.splwg.tools.artifactgen.ArtifactGenerator.main(ArtifactGenerator.java:1059)
  [java] - 2019-11-24 13:44:41,073 [main] ERROR (tools.artifactgen.ArtifactGenerator) Error adding to context managed objects(D:\SPL\DEV07\java\source\cm\com\splwg\cm\cobol\CobolCopybookCICCACDN_Impl.java)
  [java] com.splwg.shared.common.LoggedException: Attempt to register a duplicate copybook CICCACDN

Noticed that there was no problem after upgrading to 2.4.0.3.  The problem was first encountered after applying the latest rollup <Patch 28580034> .

Solution

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
Goal
Solution
References


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