This page describes how to troubleshoot issue when tiles in HD wont list tile names. This happens when upgrading from 7.3 to 8.0 or 8.1 or 8.2.
Please note that this wont create any problem in the upgrade of the measurement base from 7.3. The HD.war can be deployed and we can connect to the upgraded measure schema.
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
CSS3 | |
CSS2 |
Measure database for HD can be installed only on CSS2.
- Upgrade from HD 7.3 to 8.1 or 8.0
- Connect to the HD dashboard..
- Tile names are not listed.
In CAST AIP 7.3, it is possible to use HD with applications snapshot consolidated inside even if some application contains corrupted data. It is also possible to connect to the HD dashboard to access the data in the tiles without any issue due to permissive Uris in REST API.
But once we upgrade to 8.0 or 8.1 or 8.2 CAST AIP version some tiles in HD might not work. The reason for this is in 8.0.2 version, for security reasons the data integrity checks inside the REST API queries is improved. This has an impact on all the existing Uris already used by the HD Dashboard.
Note that the restapi log file will return the following error:
2017-03-23 11:41:51,752| ERROR | http-bio-8080-exec-10 | com.castsoftware.adg.webservice.domains.DomainHolder | HD/results/ exception com.sun.jersey.api.container.MappableContainerException: java.lang.NullPointerException
So this happens when applications contain corrupted data. Tile names wont be listed as it depends on data in the database which in this case is corrupted.
The solution is to remove the corrupted application and then to re launch HD.
To solve this perform the below actions:
- Do the following check to identify if some applications are corrupted.
b. Backup 7.3 measure schema
c. Upgrade the measure schema from 7.3 to 8.2
d. Launch the GUI HD Tool : C:\Program Files\CAST\8.2\HD\GUI\HDSite-GUI.exe
e. Connect to the upgraded measure schema and run a “List Site”
f. Identify all corrupted applications thanks to warning messages in the GUI tool:
List of all potential warnings you can find in the log:
- Warning : Links are missing in this snapshot.
- Warning : Snapshot is in an uncomplete state.
- Warning : Snapshot has no compute end date.
- Warning : Snapshot has no value for number of code lines.
- Warning : Snapshot has no score for TQI.
- Warning : Snapshot has erroneous violation ratio (total checks is 0 for application for some metrics).
- Warning : Snapshot is locked in measure site.
If at least one of this message appears in the log, you will get this another warning message: "Warning : This snapshot should not be consolidated" and then you can remove the application by following the next step.
If some applications are corrupted, to remove the application use the same tool : HDSite-GUI.exe
- You can decide to remove application(s) in the original 7.3 measure schema before doing your upgrade to 8.0 or 8.1
- You can decide to remove application(s) in the 8.2 measure schema if you want ot use a 8.2 HD.
2. Deploy CAST-HD.war from CAST AIP and connect to the upgraded measure schema.
3. If you are unable to find a solution for your problem then contact CAST Technical Support, with the Relevant input.
For CAST Technical Support only refer to the page - Health Dashboard - Information - How to reproduce HD issues
Relevant input
- Screenshot of the HD showing the issue
- Sherlock export with the following options: Export Logs (feature checked by default), Export Configuration files (feature checked by default), Export Computer Environment (feature checked by default),Export CAST Bases (central,local, mngt and measurement base)
- Tile names wont be listed if there was a corrupted application in the upgrade.
- Tile names will be listed.
The solution can’t be realized with 8.1 version because checks were not implemented.
Even if you are upgrading only to 8.1, there is no inconvenience to apply the solution with 8.2 CAST AIP.
Then when the corrupted applications are identified, return to 7.3 measure backup remove them and then upgrade to 8.1.