Purpose (problem description)
This page will help you to handle SQL Errors during the analysis. SQL errors could occur before the Saving step, and after the Saving step. See in the screenshot how to identify the Saving step. When the statement : "Comparin objects on server" and "Merging objects on server" appear, the process is at the saving step.
When the issue occurs before the Saving step, the analyzer is populating the IN Tables, that are working tables for saving items in the local database.
When the issue occurs after the Saving step, the working tables are used to populate the technical tables in the local databases.
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Action Plan
Perform the following steps:
- When the issue occurs before the Saving Step, we will need to modify the definition of the IN table involved in the SQL Error:
- If the SQL error is NULL Value in column of an IN Table, go to the page CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Null value in column xxxx violates not null constraint - In Table involved
- When the issue occurs during the Saving step:
- Activate the IN Tables
- Run the Analysis.
- Provide the Sherlock output (option to activate are : Export logs, Export database dumps), to support technical support.
- Deactivate the IN Tables
- If the above step does not help, navigate to the below error messages :
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ABAP - duplicate key value violates unique constraint
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ABAP - duplicate key value violates unique constraint pk-objdsc
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Cannot insert duplicate key row in object dboObjPro with unique index ObjPro_ProObj
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - C - Invalid byte sequence for encoding UTF8 0xed 0xb1 0xb8
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - could not create unique index idx_cat
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - C - relation all synonyms does not exist
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - duplicate key value violates unique constraint idx1 coobject
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - duplicate key value violates unique constraint idx2_objects
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - duplicate key value violates unique constraint pk_accidacc
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ERROR could not write block XXXXXXXX of temporary file
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ERROR D_Acc Object to delete not found Link
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - J2EE - duplicate key value violates unique constraint pk objdsc
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Mainframe - could not extend file XXXX No space left on device
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - null value in column source_id violates not-null constraint
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Null value in column xxxx violates not null constraint - In Table involved
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error ORA-00600 internal error code arguments kdifind kcbget_24
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ORA-01427 single-row subquery returns more than one row during Saving step
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ORA-01654 unable to extend index by 128 in tablespace
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - ORA-17410 - No more data to read from socket
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Oracle Forms - null value in column objtyp violates not-null constraint
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - PeopleSoft - duplicate key value violates unique constraint psoft_objects_pk
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Peoplesoft - Error while executing Batch select PSOFT DISCRIMINATION
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Peoplesoft - O6550 SQL Error PLS - 00201 identifier xyz PSOFT UAMETRICS UPDATE must be declared
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - PeopleSoft - PSOFT DISCRIMINATION DATA null value in column parent id
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - PL SQL - SQL Error ORA - 00001 unique constraint KB Name
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Errors - duplicate key value violates unique constraint pk accidacc
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Errors - ORA-04045 errors during recompilation revalidation
- CMS Snapshot analysis - Run Analyzer - Fatal Error - SQL Error - syntax error at or near and transaction aborted
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Value too long for type character varying
- CMS Snapshot Analysis - Run Analyzer - Fatal Error - SQL Error - Violation of PRIMARY KEY constraint XXX Cannot insert duplicate key in object XXX
- If the above section does not help contact CAST Technical Support and provide Relevant Input to help CAST Technical Support team reproduce and solve your problem.