This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

CAST AIP Service Packs 8.3.20 - 8.3.23 are compatible only with the latest releases of the JEE Analyzer extension, i.e. 1.0.28 and 1.2.10-funcrel. Using older releases of the extension with these CAST AIP Service Packs risks incomplete analysis results (missing objects, links, violations, erroneous FP values) for JEE and C++ analyses.

Therefore, when using CAST AIP Service Packs 8.3.20 - 8.3.23, please either:

  • Upgrade your JEE extension to a compatible release (i.e. ≥ 1.0.28 or ≥ 1.2.10-funcrel) OR
  • Upgrade CAST AIP to a more recent Service Pack (≥ 8.3.24) which are compatible with older releases of the JEE Analyzer extension

If upgrading the JEE Analyzer extension or CAST AIP is not possible, please contact CAST Technical Support

1.0.25

Updates

Stability improvements

  • In previous releases, if your source code included multiple jars containing the same class, the order of resolution of these classes was not stable from one analysis to another. This improvement corrects this issue and ensures that the order always stays the same in successive analyses. The benefits of this stability improvement will be visible in subsequent re-analyses where the order of resolution will remain stable.
  • Better handling of exceptions that were causing the entire analysis to stop in previous releases of the extension:
    • Access violation (null pointer, ...)
    • AMT: invalid null pointer for wrapped instance, invalid category <category_name> used in type <type_name>
    • MetaModel exception, std::exception
    • InferenceEngine exception
    • Fixed stability issues during CAST Script processing

Performance improvements

  • Significant performance improvement (from hours to minutes) during the "Generating JSP implementation classes" phase when an application has >5000 JSP pages.

Link improvements

  • Updated resolution for links to unresolved methods
    • Before this release, when creating links between methods, the analyzer attempts to find exact matches for the methods.
    • From this release onwards, if no exact match is found, the analyzer uses heuristics to filter and detect partial matches, and then creates links for all such matches.
    • This makes the analyzer more resistant from one analysis to another when adding missing code or jars.
  • Fixed missing Access exec links between java methods due to generated Lombok methods using @Getter annotation.
  • Fixed some incorrect FIRE links when there is no inheritance between the abstract method and the implementation method.
  • Fixed some incorrect USE links from Java methods to JPA entity properties.
  • Changed direction of RELY ON link between JPA Entity and Java Field objects.

Rule improvements

Rule ID

Rule Name

Description

7498Collection must be the same between getter and setterFalse violations reported related to wrong direction links between JPA Entity property and Java Field.
8108Close the outermost stream ASAPA violation which was missing in the previous versions is now detected correctly.

Resolved issues

Below table lists the bugs fixed in the current release.

Internal IDTicket IDSummary  Impact?
JFAMILY-131518934,18968wrong link is created from Java method to JPA entity property though there is no call in sourceThe total number of links may reduce as incorrect links have been fixed in this ticket.
JFAMILY-135219226Analysis crashes with the message Log the exception information: Exception: EXCEPTION_ACCESS_VIOLATIONThe analyzer will not crash with an unknown exception.
JFAMILY-159120001Problem: Java analysis crash with warning: Log the exception information: Unknown Exception...The analyzer will not crash with an unknown exception.
JFAMILY-163120186Java analysis failed with warning : Log the exception information: Exception: EXCEPTION_ACCESS_VIOLATIONThe analyzer will not crash with an unknown exception.
JFAMILY-107816612Missing link between java methods in the same analysis unitThe missing link is created. The total number of links may increase.
JFAMILY-138919417Warning: Log exception information : Causing 99% of the code unanalyzedThe analyzer will not crash but continue analysis till completion.
JFAMILY-162720239, 20637Java analysis is failing with warning Exception: EXCEPTION_ACCESS_VIOLATIONThe analyzer will not crash with an unknown exception.
JFAMILY-163020292Java analysis failed - Log the exception information: Unknown Exception...The analyzer will not crash with an unknown exception.
JFAMILY-166820542Java analysis crash with warning: Log the exception information: Unknown Exception..The analyzer will not crash with an unknown exception.
JFAMILY-166920526Java analysis crash with warning: Log the exception information: Unknown Exception..The analyzer will not crash with an unknown exception.
JFAMILY-167020550Java analysis crash with warning: Log the exception information: Unknown Exception..The analyzer will not crash with an unknown exception.
JFAMILY-168220442Java analysis failed with warning Log the exception information: Unknown Exception...The analyzer does not crash but will a show a warning for invalid configuration files.
JFAMILY-116417461Permanent Fix - Fired links in enlighten are wrongThe total number of Fire links may reduce. Incorrect links have been fixed.
JFAMILY-121917842Missing links between Java MethodsThe missing link is created. The total number of links may increase.
JFAMILY-123918056Permanent Fix - Can't find links between java methodsThe missing link is created. The total number of links may increase.
JFAMILY-1284-Analysis failed for the <App> application , error says " Unknown Exception..."The analyzer will not crash with an unknown exception.
JFAMILY-159620074Violation for rule "Close the outermost stream ASAP" was detected in previous analysis but not in current analysisThe violation is now detected and displayed.
JFAMILY-170020709Java analysis warning Error in inference engineThe error has been fixed.
JFAMILY-100215952End point of Standard Configuration with DET by default is 0 and contribute by default set to 1The value of DET is set to 1 in the TCC for the end point.
JFAMILY-153319889[PROBLEM]False positive for QR- Collection must be the same between getter and setterThe false violations have been fixed. The link direction between Java Field and JPA Entity has been corrected.
JFAMILY-165620457Java analysis crash : Log the exception information: Unknown Exception...The analyzer will not crash with an unknown exception.
JFAMILY-165820483Java analysis crash: Exception: EXCEPTION_ACCESS_VIOLATIONThe analyzer will not crash with an unknown exception.