CMS Application - Execute - Fatal Error - java lang NullPointerException while running snapshot
Description
On clicking on “take a snapshot of an application",an error is seen in GUI of CAST-MS as Exception during validation-java.lang.nullpointerException.

When seen in CAST-MS log, we can find the error as below:
Exception during validation
com.castsoftware.java.ExternalRuntimeException:Exception during validation
com.castsoftware.pmc.features.CreateArchitectureModel.checkValidation(CreateArchitectureModel.java:105)
Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | ✅ |
Step by Step Scenario
- Below is the step-by-step scenario leading to the problem:
- Run the snapshot of the application
Impact of the Problem
The impact of the problem on the analysis or the dashboard is : Analysis runs successfully but snapshot cannot be generated.
Action Plan
Check the Architecture Models tab in CAST MS, it might refer a path that is not mapped, so CMS does not find it.
To fix the problem, proceed as follows:
- Map the network path mentioned in Architecture Models tab in CMS.
- Take a snapshot.
Impact of the Solution
Impact of the solution on the analysis or the dashboard is: Snapshot can be run.
Notes/comments
Ticket # 4660
Related Pages