After upgrading AIP Console to 1.24, it is observed that the AIP Node service is not starting.

Error stack is as shown below - 

03:27:56.996 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.NullPointerException: null
at com.castsoftware.webi.common.VersionInformation.access$100(VersionInformation.java:10) ~[cast-common-1.24.0.jar!/:1.24.0]
at com.castsoftware.webi.common.VersionInformation$Precision$1.getValue(VersionInformation.java:32) ~[cast-common-1.24.0.jar!/:1.24.0]
at com.castsoftware.webi.common.VersionInformation$Precision.compare(VersionInformation.java:82) ~[cast-common-1.24.0.jar!/:1.24.0]
at com.castsoftware.webi.common.VersionInformation.isLowerThan(VersionInformation.java:291) ~[cast-common-1.24.0.jar!/:1.24.0]
at com.castsoftware.webi.common.VersionInformation.isHigherThan(VersionInformation.java:212) ~[cast-common-1.24.0.jar!/:1.24.0]
at com.castsoftware.aip.node.configuration.ContextRefreshedListener.checkUpgradeAvailableApplications(ContextRefreshedListener.java:422) ~[classes!/:1.24.0-87]
at com.castsoftware.aip.node.configuration.ContextRefreshedListener.onApplicationEvent(ContextRefreshedListener.java:133) ~[classes!/:1.24.0-87]



Release

Yes/No

1.15x-1.24x(tick)




RDBMS

Yes/No

Oracle Server N/A
Microsoft SQL Server N/A
CSS3N/A
CSS2N/A 



  1. Migrate AIP Console from a lower version to a higher version as per the documentation here - Upgrade process
  2. Try to start the Node. 


The issue occurs because the version of CAST AIP is not reflecting in the AIP Node H2 DB. 

To solve the issue,  Perform the below actions

  1. Run the below query on your H2 Node Database to check the applications having a null value for the CAST AIP Version.


    select GUID, NAME, CAIP_VERSION From APPLICATION where CAIP_VERSION is null;

  2. If NULL,  Update the CAIP Version field with the corresponding AIP Core Version number (Ex. 8.3.28). 

    Query to update

    UPDATE APPLICATION
    SET CAIP_VERSION = '<CAST AIP Version number>'
    WHERE GUID = '<GUID>'
    

  3. You can start your AIP Node service after this. 
  4. If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input for CAST Technical Support to carry out further investigations

 

Relevant input


Ticket # 30138