Page tree
Skip to end of metadata
Go to start of metadata

CAST AIP 8.2.2 contains all fixes from the following previous CAST AIP releases:

  • 7.3.0 - 7.3.11  
  • 8.0.0 - 8.0.4
  • 8.1.0 - 8.1.2
  • 8.2.0 - 8.2.1

The following table lists all bugs fixed in CAST AIP 8.2.2 and that are not already listed in the "Bug Fix Lists" of the above mentioned releases. There are 64 issues listed below. Note that the column "Internal ID" is used only as an internal reference ID.

Call IDTechnologyComponent/sFeaturesSituationSymptomsInternal ID
7458;7587JEE - JavaTransaction Configuration Center (TCC) When attempting to use the CAST Transaction Configuration Center option "Compute function points and load results".An error dialog box is displayed: "Internal error while loading data functions".SCRAIP-23991
7844JEE - JavaCMS Snapshot/Analysis When looking at the results of a JEE analysis where the Application uses the Struts framework.The analysis log contains the warning "Package struts-default inherited by package default does not exist" and no Struts Action Mapping objects have been saved in the Analysis Service.SCRAIP-23698
7952N/AApplication Analytics Dashboard (AAD) When looking at the "Top 5 Riskiest Applications" tile in the CAST Application Analytics Dashboard.The tile does not populate with data.SCRAIP-23686
7991SQL - PL/SQLCMS Snapshot/Analysis, CMS Snapshot/Analysis - Run Analyzer When attempting to run an SQL analysis.The log contains an error "Column: '1' Line: '303', syntax error, Scan_QueryList Terme'2'".SCRAIP-23980
8055N/ADelivery Manager Tool - Package Extraction When attempting to rename and instance with the CAST Database Extraction Renaming Tool.The tool does not work.SCRAIP-23940
8055N/ADelivery Manager Tool - Package Extraction When attempting to use the CAST Database Extraction Renaming Tool.The tool does not work.SCRAIP-23951
8074All TechnologiesCMS Infrastructure/Services - Review Dynamic Links Attempting to use the DynamicLinks.CLI.exe with the connection profile used to run the analysis.The tool fails to run complaining that it cannot find the connection profile.SCRAIP-23962
8084SQL - PL/SQLAnalysis Manager - Metric Assistant, CMS Snapshot/Analysis, CMS Snapshot/Analysis - Run Analyzer When attempting to run an SQL analysis.The analysis log contains the following warning:
[MAv2] Invalid visitor node. CAST_ANSISQL_ExternalObject does not supports category CAST_AST_Node.
SCRAIP-23986
8137VBCMS Snapshot/Analysis When looking at the results of a post upgrade snapshot (the Application has been upgraded from from 8.0.x to 8.2.1).Links between VB methods and T-SQL Stored Procedures that existed in 8.0.x are not visible in the post upgrade snapshot in 8.2.1.SCRAIP-24144
 N/A  JEE Application analysisSome violations of quality rule "Good use of Interfaces with collections as Method return types" (4578) are not reported.
The method definition is considered as in violation only if the collection type is the main return type. Methods for which the collection type is used as a parameter of a generic definition are not considered as violations.

For example:

public ArrayList<HashMap<String, String>> getTableRows() {

Is not considered as violating the rule, when it should since HashMap is derived from the Map interface.
SCRAIP-22763
    When TCC_FP_EXECCUSTOM_STEPS is enabled (select * from SYS_SITE_OPTIONS where OPTION_NAME ='TCC_FP_EXECCUSTOM_STEPS' ) and the Procedure TCC_FP_USR_DF_GROUP_RULE contains operations to group the datafunction. This procedure is called during the FP computation too early for the grouping information to be taken in account by the process.This create inconsitency of data as the datafunction are marked as being merged but the details of datafunction are not yet merged. and this can lead some of the corrupted situations listed in the issue SCRAIP-23947SCRAIP-23418
 JEE - Java SQL - PL/SQL  When attempting to analyze a vert large JEE application.The Analysis took almost 22h and at the Generate Module step, it is failing because the IN-clause contains 1314 values whereas the maximum allowed by Oracle is 1000.SCRAIP-23422
 N/A  Internal porting workInternal porting workSCRAIP-23640
    When attempting to use the Database Extraction Renaming Tool to rename a PL/SQL database in an extraction.When the extraction is done and sub folders are created, the renaming does not take place. But if the extraction is in a flat file, where there are no sub folders created, the renaming takes place successfully.SCRAIP-23791
    When looking at the results of a DMT discovery on J2EE source code.The DMT detects multiple Projects (Analysis Units) for the same source code.SCRAIP-23794
    When comparing the results of Data Function counts in the CAST Transaction Configuration Center and in the CAST Engineering Dashboard.The CAST Engineering Dashboard is reporting false information, i.e. more Data Functions than are showing in the CAST Transaction Configuration Center. The CAST Engineering Dashboard is counting some Data Functions more than once due to a bug.SCRAIP-23795
    During Function Points computation, there is a Data Function automatic merge process based on Foreign Key - Primary Key (see http://doc.castsoftware.com/pages/viewpage.action?pageId=59936667). At implementation level, the conditions that must be fulfilled in order to merge a certain table (detail) under another master data table (main) are:
- The detail table must have a non-null Foreign Key to the Primary Key of the main table.
- The prefix (first 4 characters) of the main table name must be found in any position in the detail table name.

E.g.: Let us say we have two tables: EVENTS and EVENT_OPTIONS. If EVEN_OPTIONS table contains a non-null Foreign Key to the Primary Key of EVENTS, and considering that the first four characters of EVENTS ("EVEN") can be found in "EVENT_OPTIONS", the latter will be automatically merged into the former:

- Data Function EVENTS: EVENTS (main table), EVENT_OPTIONS (detail)

Historically, we have faced two types of issues regarding this automatic merge, both breaking the rule that "a certain table cannot be part of more the one data function" (see symptoms).
1st Problem: a main table of a data function appears as a detail of another data function

Let us say we have a certain table EVENT_OPTIONS which has a Foreign Key to the Primary Key of another table EVENTS. At the same time, EVENTS has a Foreign Key to the Primary Key of another table EVENT_PLACES. Under this scenario, we will have the following data functions after the automatic merge process:

- Data Function EVENT_PLACES: EVENT_PLACES (main table) , EVENTS (detail)

- Data Function EVENTS: EVENTS (main table) , EVENT_OPTIONS (detail)

As we can see, the EVENTS table appears as main table of the data function EVENTS, and also as detail of the data function EVENT_PLACES.

--------------------------------------------------------------------------------------------

2nd Problem: the same table appears as detail of two different data functions

Let us say we have a certain table EVENT_OPTIONS which has two Foreign Keys: one Foreign Key to the Primary Key of another table EVENTS; and another Foreign Key to the Primary Key of another table OPTIONS. Under this scenario, we will have the following data functions after the automatic merge process:

- Data Function EVENTS: EVENTS (main table) , EVENT_OPTIONS (detail)

- Data Function OPTIONS: OPTIONS (main table) , EVENT_OPTIONS (detail)

As we can see, the EVENT_OPTIONS table appears as detail of two different data functions, because it fulfills the conditions for the FK-PK automatic merge with both of them.
SCRAIP-23797
    1) Run a C/C++ analysis with a user-defined AU defined by a source FOLDER, containing a source file
2) Check in the Analysis Service that the corresponding objects were created
3) Empty out the source folder (move Example.c out of folder C_Code)
4) Re-run analysis
 The objects are still in the Analysis Service.SCRAIP-23798
    When attempting to use the DLM CLI to process a filter rule.The filter rule does not seem to be filtering the dynamic links as expected.SCRAIP-23800
    When attempting to use the DynamicLinks.CLI.exe to process DLM filter rules.The CLI fails with the following error "Npgsql.NpgsqlException: A timeout has occured".SCRAIP-23802
    Attempting to export a large number of exclusions via the Dashboard's Export option in the view "List of Objects Excluded from Quality Rule Computations".A timeout occurs and it is not possible to export these exclusions.SCRAIP-23804
    When looking at the results of the analysis of an ASP application that has links to a TSQL database. Links between the ASP objects to the TSQL database objects were missing.SCRAIP-23806
    When looking at the CAST documentation.There is no explanation about how to move CAST databases/schemas from one CSS server to another.SCRAIP-23847
    When looking at the CAST Engineering Dashboard.Some Applications are missing.SCRAIP-23850
    When looking at the results of a snapshot in the CAST Engineering Dashboard.Missing module in dashboard/snapshot results.SCRAIP-23851
    When looking at the CAST Engineering Dashboard.The Investigation quality model drilldown view shows "No items to show" when accessing information for an application module.SCRAIP-23853
    When attempting to run a Mainframe analysis (including JCL) in the CAST Management Studio.CAST Management Studio crashes with an error in "Analysis Runner".SCRAIP-23854
    When looking at the results of a JEE analysis.A Java Enum is violating the Quality Rule "Avoid Classes with a High Lack of Cohesion" 7798, whereas this object type should be excluded.SCRAIP-23855
    When running an analysis containing a Reference Pattern based on a search string.The analysis fails during the Reference Pattern step after running for more than 5 hours and consuming over 200GB of disk space.SCRAIP-23858
    When using the CAST Engineering Dashboard, "Investigation - Quality Model Drilldown" frame."No items to show" is displayed in all panels.SCRAIP-23859
    When looking at the results of a PHP analysis.The number of failed checks (number of defective components for the Quality Rule "Avoid Too Many Copy Pasted Artifacts") exceeds the total number of checks.SCRAIP-23862
    When looking at the results of a Universal Analyzer analysis that includes a Reference Pattern.Results show that a link between two objects was resolved between two objects that are in source code comments as defined by the languagepattern.xml file.SCRAIP-23863
    When looking at the ExecSummary report generated by the CAST Report Generator.Module information is not showing. Block HF_BY_MODULE is empty.SCRAIP-23864
    When using the CAST Management Studio to create a Reference Pattern search string.The search string is not working as expected in jsp files: only commented out code is targeted.SCRAIP-23865
    When using CAST Server Manager.The "Remove Component" button is not active in the dialog box displayed after clicking the "Component Uninstall" option.SCRAIP-23866
    When using the CAST Management Studio to define a reference pattern search string in the Tools after analysis section.Analysis has been run and post that, running the tool finds the pattern in some jsp file only.SCRAIP-23867
    When configuring the User Input Security feature.When inputting sanitization method the User Input Security feature will only take into account sanitization methods (cleaners), not verification methods (checkers, i.e "if(verifyString(x))" ).SCRAIP-23868
    When using the CAST Management Studio to create a Reference Pattern in the technology section (java techno) and testing it on a file (or on a folder).The test fails with a Null Pointer exception.SCRAIP-23869
    When looking at the results of a PowerBuilder analysis.The Quality Rule "Controls must inherit from a userobject" is being incorrectly violated (controls that do inherit from a userobject are being flagged as violating the rule).SCRAIP-23870
    When using the "Evolution" panel in the CAST Engineering Dashboard.Estimated Effort is showing as 0% for "Added" even though an increase in code since the previous snapshot is visible.SCRAIP-23872
    During Function Points computation, there is a Data Function automatic merge process based on Foreign Key - Primary Key (see http://doc.castsoftware.com/pages/viewpage.action?pageId=59936667). At implementation level, the conditions that must be fulfilled in order to merge a certain table (detail) under another master data table (main) are:
- The detail table must have a non-null Foreign Key to the Primary Key of the main table.
- The prefix (first 4 characters) of the main table name must be found in any position in the detail table name.

E.g.: Let us say we have two tables: EVENTS and EVENT_OPTIONS. If EVEN_OPTIONS table contains a non-null Foreign Key to the Primary Key of EVENTS, and considering that the first four characters of EVENTS ("EVEN") can be found in "EVENT_OPTIONS", the latter will be automatically merged into the former:

- Data Function EVENTS: EVENTS (main table), EVENT_OPTIONS (detail)

Historically, we have faced two types of issues regarding this automatic merge, both breaking the rule that "a certain table cannot be part of more the one data function" (see symptoms).
1st Problem: a main table of a data function appears as a detail of another data function

Let us say we have a certain table EVENT_OPTIONS which has a Foreign Key to the Primary Key of another table EVENTS. At the same time, EVENTS has a Foreign Key to the Primary Key of another table EVENT_PLACES. Under this scenario, we will have the following data functions after the automatic merge process:

- Data Function EVENT_PLACES: EVENT_PLACES (main table) , EVENTS (detail)

- Data Function EVENTS: EVENTS (main table) , EVENT_OPTIONS (detail)

As we can see, the EVENTS table appears as main table of the data function EVENTS, and also as detail of the data function EVENT_PLACES.

--------------------------------------------------------------------------------------------

2nd Problem: the same table appears as detail of two different data functions

Let us say we have a certain table EVENT_OPTIONS which has two Foreign Keys: one Foreign Key to the Primary Key of another table EVENTS; and another Foreign Key to the Primary Key of another table OPTIONS. Under this scenario, we will have the following data functions after the automatic merge process:

- Data Function EVENTS: EVENTS (main table) , EVENT_OPTIONS (detail)

- Data Function OPTIONS: OPTIONS (main table) , EVENT_OPTIONS (detail)

As we can see, the EVENT_OPTIONS table appears as detail of two different data functions, because it fulfills the conditions for the FK-PK automatic merge with both of them.
SCRAIP-23873
    When attempting to re-analyze a DB2 zOS application.The analysis fails with the error: "Data cache : 'objFulNam' still contains data which may not have been flushed".SCRAIP-23874
    When attempting to run a Mainframe - Cobol analysis.The analysis is failing with the error "Unexpected invalid results are found".SCRAIP-23876
    When attempting to run a VB analysis.The analysis fails with an error during an insert into table KeysAna.SCRAIP-23877
    After an upgrade to CAST AIP 8.1.1.The following setting, which was ticked in the previous release, is no longer ticked after the upgrade:

JEE under Source Settings->Web application for the option "Use Also Application Root Path for Web Server Files"
SCRAIP-23879
    When attempting to package (in the CAST Delivery Manager Tool) a Maven Application whose pom.xml file contains accented characters.The packaging fails.SCRAIP-23880
    After upgrading from 7.3.x to 8.1.1 and comparing the pre-upgrade snapshot results with the post upgrade snapshot of the same source code in the CAST Engineering Dashboard.The results show that there are Deleted Artifacts (120). However, searching for one of the "deleted" artifacts gives results, therefore the object has not really been deleted.SCRAIP-23881
    When running an analysis/snapshot against V2 source code.The analysis completes OK, but the snapshot takes much longer to complete than the V1 snapshot took.SCRAIP-23883
    When using the Log Viewer to add and remove columns.It is not possible to remove columns once they have been added.SCRAIP-23884
    After upgrading to 8.1.1 from 7.3.x and the generation of a new snapshot on the same source code.The statistics in the CED with regard to Complex Objects and Complex Objects with violations should be identical in current and previous snapshots, however, the values differ (more items in the current snapshot).SCRAIP-23886
    When running a Mainframe Cobol analysis.The following warning is shown in the log file:

Internal exception occurred during processing listener CExternalLinkAction::ProcessProCobolLink
SCRAIP-23887
    Consolidated an Application into the CAST Measurement Service and then consulting the CAST Application Analytics Dashboard.V2 and V3 snapshots of the Application are present, but V1 is missing.SCRAIP-23888
    When looking at the results of an analysis that includes metric calculations.The metric calculations are only executed on the first 500,000 objects in the Application.SCRAIP-23889
    When attempting to generate a snapshot.The snapshot fails with the error "error while executing Procedure dss_propagate_results_to_app".SCRAIP-23891
    When attempting to test a Reference Pattern for use with a JEE analysis.The test fails with a "Null pointer" error.SCRAIP-23893
    When attempting to use Kerberos authentication with the CAST Engineering Dashboard.An error was found KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN using Wireshark, however, CAST AIP did not report this error in the log.SCRAIP-23894
    When attempting to analyze an Application containing JavaScript with one of the native analyzers (JEE or .NET) and a HTML5/JavaScript based extensions such as AngularJS, Node.js, jQuery or HTML5/JavaScript.If the analysis is badly configured (i.e.certain parts of the Application have not been excluded from the native analyzers and from the extensions) then results of the analysis will show duplicate objects and links (i.e. from the analyzer and from the extension) therefore impacting results and creating erroneous Function Point data.SCRAIP-23895
    When attempting to package an Application in the CAST Delivery Manager Tool (DMT) with a pom.xml that contains non-ASCII characters.The packaging fails.SCRAIP-23896
    When attempting to run a Mainframe analysis.The analysis is failing while running the Execute linker step.SCRAIP-23897
    When looking at the results of a snapshot/analysis in the CAST Application Analytics Dashboard (AAD).Technologies listed as present in Applications may be duplicated multiple times.SCRAIP-23898
    When attempting to run a Package action in the CAST Delivery Manager Tool (DMT).A fatal error occurs:

java.lang.NullPointerException:
at com.castsoftware.util.StringHelper.replaceString(StringHelper.java:835)
at com.castsoftware.dmt.discoverer.cpp.vcx.ScannerVCXPROJ.normalizeStringizedPath(ScannerVCXPROJ.java:1168)
at com.castsoftware.dmt.discoverer.cpp.vcx.ScannerVCXPROJ.addSource(ScannerVCXPROJ.java:1297)
at com.castsoftware.dmt.discoverer.cpp.vcx.ScannerVCXPROJ.access$9(ScannerVCXPROJ.java:1295)
SCRAIP-23900
    When looking at the results of an analysis in the CAST Application Engineering Dashboard that contains a custom Business Criterion.Violations do not display for Quality Rules assigned the Business Criterion.SCRAIP-23901
    When attempting to run a JEE analysis configured with default Inference Engine parameters.An error occurs during the saving step: duplicate key value violates unique constraint "pk_objdsc"SCRAIP-23902
    During Function Points computation, there is a Data Function automatic merge process based on Foreign Key - Primary Key (see http://doc.castsoftware.com/pages/viewpage.action?pageId=59936667). At implementation level, the conditions that must be fulfilled in order to merge a certain table (detail) under another master data table (main) are:
 - The detail table must have a non-null Foreign Key to the Primary Key of the main table.
 - The prefix (first 4 characters) of the main table name must be found in any position in the detail table name.

 E.g.: Let us say we have two tables: EVENTS and EVENT_OPTIONS. If EVEN_OPTIONS table contains a non-null Foreign Key to the Primary Key of EVENTS, and considering that the first four characters of EVENTS ("EVEN") can be found in "EVENT_OPTIONS", the latter will be automatically merged into the former:

 - Data Function EVENTS: EVENTS (main table), EVENT_OPTIONS (detail)

 Historically, we have faced two types of issues regarding this automatic merge, both breaking the rule that "a certain table cannot be part of more the one data function" (see symptoms).


1st Problem: a main table of a data function appears as a detail of another data function

 Let us say we have a certain table EVENT_OPTIONS which has a Foreign Key to the Primary Key of another table EVENTS. At the same time, EVENTS has a Foreign Key to the Primary Key of another table EVENT_PLACES. Under this scenario, we will have the following data functions after the automatic merge process:

 - Data Function EVENT_PLACES: EVENT_PLACES (main table) , EVENTS (detail)

 - Data Function EVENTS: EVENTS (main table) , EVENT_OPTIONS (detail)

 As we can see, the EVENTS table appears as main table of the data function EVENTS, and also as detail of the data function EVENT_PLACES.

 --------------------------------------------------------------------------------------------

 2nd Problem: the same table appears as detail of two different data functions

 Let us say we have a certain table EVENT_OPTIONS which has two Foreign Keys: one Foreign Key to the Primary Key of another table EVENTS; and another Foreign Key to the Primary Key of another table OPTIONS. Under this scenario, we will have the following data functions after the automatic merge process:

 - Data Function EVENTS: EVENTS (main table) , EVENT_OPTIONS (detail)

 - Data Function OPTIONS: OPTIONS (main table) , EVENT_OPTIONS (detail)

 As we can see, the EVENT_OPTIONS table appears as detail of two different data functions, because it fulfils the conditions for the FK-PK automatic merge with both of them.
SCRAIP-23903
  • No labels