Purpose (problem description)

This page helps to troubleshoot the problem where source code is not displayed for any violation in ED, instead the section is white or blank as seen in the below screenshot-


Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
CSS(tick)

Step by Step scenario

  1. Generate Snapshot for V1.
  2. Generate Snapshot for Vn.
  3. Launch AED - source code is displayed.
  4. Delete any one Snapshot.
  5. Perform consolidation.
  6. Launch AED - source code is not displayed.

Action Plan

Perform the below actions:

  1. Check if the source code is uploaded on Central Database,
    1. To confirm that the source code is uploaded execute the below queries on the CB - SQL Queries - CAST Central Base - Queries on source code - How to get source code of an object

    2. If all of the queries return 0 then source code is not uploaded to the Central Database.
  2. If the source code is not uploaded then you can upload the source code and launch ED to resolve the issue.
  3. After uploading the source code if you are still unable to see the source code then Check if the latest snapshot is deleted with the help of the Cast-MS log.
    1. Open the Cast-MS log and check if there is AedConsolidation done with the option -delsrc. The command will look like this.

      INF: 2016-10-24 13:21:16:  C:\CAST\8.0/AED/CLI/AedConsolidation.exe -delsrc -driver org.postgresql.Driver -url jdbc:postgresql://12.13.14.15:2280/postgres -schema sample_central -user operator -password ***** -snapshot_id 2 -log_file C:\CASTMS\Log\bd31388c35474ced9efc09743c3181e8\AedCli-20161024132116.TXT

      From the above command we can see that the snapshot which is deleted is having snapshot_id = 2

    2. Get the greatest snapshot id by referring to - SQL Queries - CAST Central Base - Queries on snapshots - How to get the ID and name of a snapshot for a given application

      In the above example we can see that the ID of the latest snapshot is 1 and the next consecutive snapshot having  snapshot_id = 2 is deleted in Cast-MS log. This shows that the latest snapshot is deleted.d

  4. If the latest snapshot is deleted then it is expected behavior as given in the documentation page .
  5. Else if your scenario is different from this then contact CAST Technical Support with  Relevant input
Notes/comments


Related Pages