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 |
---|---|---|
7498 | Collection must be the same between getter and setter | False violations reported related to wrong direction links between JPA Entity property and Java Field. |
8108 | Close the outermost stream ASAP | A 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 ID | Ticket ID | Summary | Impact? |
---|---|---|---|
JFAMILY-1315 | 18934,18968 | wrong link is created from Java method to JPA entity property though there is no call in source | The total number of links may reduce as incorrect links have been fixed in this ticket. |
JFAMILY-1352 | 19226 | Analysis crashes with the message Log the exception information: Exception: EXCEPTION_ACCESS_VIOLATION | The analyzer will not crash with an unknown exception. |
JFAMILY-1591 | 20001 | Problem: Java analysis crash with warning: Log the exception information: Unknown Exception... | The analyzer will not crash with an unknown exception. |
JFAMILY-1631 | 20186 | Java analysis failed with warning : Log the exception information: Exception: EXCEPTION_ACCESS_VIOLATION | The analyzer will not crash with an unknown exception. |
JFAMILY-1078 | 16612 | Missing link between java methods in the same analysis unit | The missing link is created. The total number of links may increase. |
JFAMILY-1389 | 19417 | Warning: Log exception information : Causing 99% of the code unanalyzed | The analyzer will not crash but continue analysis till completion. |
JFAMILY-1627 | 20239, 20637 | Java analysis is failing with warning Exception: EXCEPTION_ACCESS_VIOLATION | The analyzer will not crash with an unknown exception. |
JFAMILY-1630 | 20292 | Java analysis failed - Log the exception information: Unknown Exception... | The analyzer will not crash with an unknown exception. |
JFAMILY-1668 | 20542 | Java analysis crash with warning: Log the exception information: Unknown Exception.. | The analyzer will not crash with an unknown exception. |
JFAMILY-1669 | 20526 | Java analysis crash with warning: Log the exception information: Unknown Exception.. | The analyzer will not crash with an unknown exception. |
JFAMILY-1670 | 20550 | Java analysis crash with warning: Log the exception information: Unknown Exception.. | The analyzer will not crash with an unknown exception. |
JFAMILY-1682 | 20442 | Java 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-1164 | 17461 | Permanent Fix - Fired links in enlighten are wrong | The total number of Fire links may reduce. Incorrect links have been fixed. |
JFAMILY-1219 | 17842 | Missing links between Java Methods | The missing link is created. The total number of links may increase. |
JFAMILY-1239 | 18056 | Permanent Fix - Can't find links between java methods | The 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-1596 | 20074 | Violation for rule "Close the outermost stream ASAP" was detected in previous analysis but not in current analysis | The violation is now detected and displayed. |
JFAMILY-1700 | 20709 | Java analysis warning Error in inference engine | The error has been fixed. |
JFAMILY-1002 | 15952 | End point of Standard Configuration with DET by default is 0 and contribute by default set to 1 | The value of DET is set to 1 in the TCC for the end point. |
JFAMILY-1533 | 19889 | [PROBLEM]False positive for QR- Collection must be the same between getter and setter | The false violations have been fixed. The link direction between Java Field and JPA Entity has been corrected. |
JFAMILY-1656 | 20457 | Java analysis crash : Log the exception information: Unknown Exception... | The analyzer will not crash with an unknown exception. |
JFAMILY-1658 | 20483 | Java analysis crash: Exception: EXCEPTION_ACCESS_VIOLATION | The analyzer will not crash with an unknown exception. |