CAST Engineering Dashboard - Object - Incorrect Object Name - The displayed object full name is equal to none

Problem Description

The displayed object full name in the dashboard is equal to .
The issue can be observed for example in the list of very high risky object or in the ‘Details on Added/deleted/updated Artifacts with Low/Moderate/high Complexity’ in snapshots comparison page.
Following screenshot shows full name equal to in the
‘Details on Added Artifacts with Moderate Complexity’

Applicable in CAST Version

ReleaseYes/No
8.3.x

Action Plan

  1. Get the customer’s input
  2. Check the configuration
  3. Check if the problem is in the AD Dashboard by going to Is the problem in the Dashboard?
  4. If it is in AD Dashboard, go to Transmit the bug to the Dashbaord team else go to Is the problem in the analyzer?
  5. If the problem is in the analyzer:
    1. Reproduce the problem by analyzing code source on a separate knowledge base
    2. If the problem is not reproducible, check if the customer’s knowledge base is corrupted as described in this page SQL Queries - CAST Knowledge Base - Corruptions

Get the customer’s input

  • Screenshot showing the details
  • Sherlock export which contains the central and local sites involved for the snapshot generation

Check the configuration

For C++ technology

  1. Verify that the correct Microsoft VC++ version is selected in the environment profile
  2. Verify that the correct Microsoft VC++ version is installed on the analysis machine
  3. Verify that the include path is correct (There should not be any messages in “No parent class nor namespace found for method/function” or “Preprocessor cannot find file”. If these messages exists, then resolve these messages first.

Is the problem in the Dashboard?

  1. connect to the dashboard and go the page shown in the customer screenshot

  2. click on the object with full name =

  3. get the object from the URL of the resulting page
    Example: From the page provided above, click on the object update_bat or f_traitement_data having as full name. The resulting page is as follow

    In page URL, get the OBJECT_IDhttp://localhost:8888/CASTAD631HOK/?treeobject=462561&frame=FRAME_PORTAL_OBJECT_DETAILS&object=1&snapshot=9
    For example we can see that
    update_bat:OBJECT_ID =462071
    f_traitement_data: OBJECT_ID=462561

  4. Check OBJECT_FULL_NAME in the central table using following query

Select * From <CB_NAME>.DSS_OBJECTS where OBJECT_ID =<OBJECTS_ID>


   1. If the OBJECT\_FULL\_NAME is <none> as shown in the dashabord, the issue is not in the AD Dashobard
   2. If the OBJECT\_FULL\_NAME is not <none>, the issue is in the AD Dabsboard

Example Select \* From <CB\_NAME>.DSS\_OBJECTS where OBJECT\_ID in (462561, 462071)

|  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- |
| OBJECT\_ID | OBJECT\_TYPE\_ID | OBJECT\_NAME | OBJECT\_DESCRIPTION | **OBJECT\_FULL\_NAME** | OBJECT\_CHECKSUM | OBJECT\_STATUS |
| 462071 | 133009 | update\_bat | NULL | **<none>** | 334160881 | 1 |
| 462561 | 133009 | f\_traitement\_data | NULL | **<none>** | -238480628 | 1 |

Here we can see that OBJECT\_FULL\_NAME is <none> as shown in the dashabord. so the issue is not in the AD Dashboard.

## Is the problem in the analyzer?

1. Get the site Id of the object(s) (the Id the object on the local site) using following query

   ```java
 Select * From <CB_NAME>.DSS_TRANSLATION_TABLE where OBJECT_ID= <OBJECT_ID>

Example

Select * From <CB_NAME>.DSS_TRANSLATION_TABLE where OBJECT_ID in (462071 , 462561)
SITE_IDSITE_OBJECT_IDOBJECT_ID
5846225462071
5859634462561

If the many local sites are involved in the snapshot generation, you can identify the local site containing the object(s) using following query

Select SITE_ID, SITE_TYPE, SITE_NAME, SITE_SERVER, SITE_USER, LOCAL_DSS_NAME From <CB_NAME>.DSS_SITES where SITE_ID =<The site id provided in previous query>

Example

Select SITE_ID, SITE_TYPE, SITE_NAME, SITE_SERVER&nbsp;, SITE_USER, LOCAL_DSS_NAME&nbsp;From <CB_NAME>.DSS_SITES where SITE_ID =5
SITE_IDSITE_TYPESITE_NAMESITE_SERVERSITE_USERLOCAL_DSS_NAME
52CAST_KB_DVPORA10DEVCAST_KB_DVPCAST_KB_DVP

Here we can conclude that
objects have been imported from local site CAST_KB_DVP
The site Id of update_bat on local site = 846225
The site Id of f_traitement_data on the local site = 859634 2. Now in the KB with analysis result involved for the snapshot computation, check that objects exist in the KB using this query:

Select* From <KB_NAME>.KEYS where IDKEY = <SITE_OBJECT_DE>

Example

Select* From CAST_KB_DVP.KEYS where IDKEY in (846225, 859634)
IDKEYKEYNAMKEYLIBKEYTYPKEYSUBTYPKEYCLASSKEYPROPOBJTYPIDUSRDEVPRO*KEYDEVDATKEYDEVVLDDATSTATUSSQLOWNER
859634f_traitement_dataNULLXXXXXX-1330600133009???01/01/1970 00:00:00:000NULL0NULL
846225update_batNULLXXXXXX-1330600133009???01/01/1970 00:00:00:000NULL0NULL
3. Check the object’s full names in the KB
Select * From *CAST_KB_DVP* .OBJFULNAM where IDOBJ in (846225, 859634)
IDOBJFULLNAME

This transaction returns no row
Here we can conclude that issue is related to the analyzer because the object full name is created by analyzer.

Notes / Comments

Related Pages