Description

This page outlines the error "duplicate key value violates unique constraint pk objdsc"  which is faced when running a J2EE analysis.

Observed in CAST AIP
Release
Yes/No
8.3.x(error)
8.2.x(tick) x < 2
8.1.x(tick) x < 2
8.0.x(tick) x < 4
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(error)
CSS2(tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Package and deliver the J2EE source code.
  2. Accept the delivery and set it as current version and run the analysis.
Impact of the Problem

The impact of the problem on the analysis or the dashboard is: Analysis will fail with fatal error and would not have the expected result on the dashboard.

Action Plan

Attached is a script to run against your KB as a workaround.

Proceed with the WA as shown below: 

  1. Run the attached Stored Procedure which will update your specific procedure in the KB.
  2. If you have other extensions to install, do "Manage Extension" instead of "Component Update".

A Permanent Fix is planned for 8.1.2 and back ported to CAST 8.0.4.

Notes/comments

 Ticket # 6730

A Permanent Fix is planned for 8.1.2 and back ported to CAST 8.0.4.

Related Pages