Description

This page provides solution to error message - Invalid type name: 'xxx' (not declared in metamodel) which occurs during running Universal Analysis

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

 

RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(tick)
CSS2(tick)
CSS1(tick)
Step by Step Scenario
  1. Configure UA analysis
  2. Run Analysis
Action Plan
  1. Check if the object type for which the error occurs is present on the Knowledge base
    Run the below query for each object type

    select * from typ 
    where 
    typnam in ( '<object_type_found_in_logs>' )

    Example - following error messages were found for various peropleSoft object types in the log

    -> invalid type name : 'PSoft_Process' (not declared in metamodel) 
    -> invalid type name : 'PSoft_SQL' (not declared in metamodel)
    -> invalid type name : 'PSoft_AETransformOnly' (not declared in metamodel)

     

    Example
    select * from typ 
    where 
    typnam in ( 'PSoft_Process','PSoft_SQL','PSoft_AETransformOnly' )

    The above query should return the below results if the metamodel is installed properly-

    1. If the query returns zero rows then it means the object types are missing from the metamodel. Apply the below solution -
      1. If you are using legacy UA language Packs then perform the following -
        1. get the ALLUSERSPROFILE path from the file CastGlobalSettings.ini (file found in path - <CastInstallationDirectory>\CastGlobalSettings.ini )
        2. Verify that the Configuration and the InstallScripts folder are present in the path which is mentioned for ALLUSERSPROFILE in the above file, if not present then place the folders in the ALLUSERSPROFILE path
        3. Re-Launch Server Manager
        4. Right click on management ,central ,knowledge base
        5. Select manage extensions as shown in the below screenshot
        6. Select <all users dir> and version 8.x.x

        7. Click on next and Proceed
      2. Else if you are using Extensions then then perform the following -
        1. get the CAST_PLUGINS_ROOT_PATH value from the file CastGlobalSettings.ini (file found in path - <CastInstallationDirectory>\CastGlobalSettings.ini )
        2. verify that the Extension is present in the path . If not present then download the extension using extension downloader. Refer to the page on how to download extension - CAST Extension Downloader#GUI
        3. Re-launch the Server Manager
        4. Right click on management ,central ,knowledge base
        5. Select manage extensions
        6. Select the version of the Extension to be installed

        7. Click on next and Proceed
  2. If the query returns rows then it means the object types are present in the metamodel contact CAST Technical Support with Relevant Inputs
Impact on Analysis Results and Dashboard

Impact of issue: Analysis fails
Impact after applying solution: Analysis is successful

Notes/comments

Related Pages

Reference ticket ID - 3511,5093