CMS Application - Execute - Fatal Error - Run Analysis only - java lang NullPointerException null

Description

When clinking Run Analysis only, it fails with error “java.lang.NullPointerException” as below screenshot :

Observed in CAST AIP

ReleaseYes/No
8.3.x

Observed on RDBMS

RDBMSYes/No
CSS

Step by Step Scenario

  1. Package and deliver the source code
  2. Accept the delivery,set as current version and launch the analysis
  3. The analysis would not launch and fails with error “java.lang.NullPointerException”

Action Plan

  1. Open the CAST-MS log file

  2. Search for the error message : java.lang.NullPointerException:null

  3. Check that the following lines appear in the CAST-MS log file :

java.lang.NullPointerException java.lang.NullPointerException:null com.castsoftware.pmc.techno.TechnologyDependenciesManager.needsLinker(TechnologyDependenciesManager.java:119) com.castsoftware.pmc.features.RunLinker.configureTask(RunLinker.java:168) com.castsoftware.pmc.actions.application.RunAnalysis.fill(RunAnalysis.java:643) com.castsoftware.pmc.actions.application.RunAnalysis.configure(RunAnalysis.java:430) com.castsoftware.mda.ui.actions.EntityJFaceActionCustom.execute(EntityJFaceActionCustom.java:274) com.castsoftware.mda.ui.actions.EntityJFaceActionCustom.execute(EntityJFaceActionCustom.java:201)

4. In CAST Management Studio, go to the dependencies tab
5. Check if there are dependencies that should not exist. For instance, in the below screenshot, there is a dependency between Java technology and UA technology. But no UA analysis unit have been discovered.

   ![](https://doc-data.castsoftware.com/TG/attachments/566532438/566532437.png)
6. If there are wrong dependencies, remove them.
7. In the Execute tab, click run analysis only.
8. If the below point do not help you to resolve the issue, contact [CAST Technical Support](https://help.castsoftware.com/hc/en-us/articles/204189137-How-to-contact-CAST-Technical-Support) with [relevant input](/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cms-application-component/cms-application-execute/cms-application-execute-fatal-error/)

**Impact on Analysis Results and Dashboard**

Impact of issue: Analysis will not initiate and fails with error "java.lang.NullPointerException"  
Impact after applying solution: Analysis runs fine.

**Notes/comments**

Ticket # 4940

**Related Pages**