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 |
RDBMS | Yes/No |
---|---|
Oracle Server | N/A |
Microsoft SQL Server | N/A |
CSS3 | N/A |
CSS2 | N/A |
- Migrate AIP Console from a lower version to a higher version as per the documentation here - Upgrade process
- 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
- Run the below query on your H2 Node Database to check the applications having a null value for the CAST AIP Version.Check AIP Version
select GUID, NAME, CAIP_VERSION From APPLICATION where CAIP_VERSION is null;
- If NULL, Update the CAIP Version field with the corresponding AIP Core Version number (Ex. 8.3.28).
Query to update
Update CAIP VersionUPDATE APPLICATION SET CAIP_VERSION = '<CAST AIP Version number>' WHERE GUID = '<GUID>'
- You can start your AIP Node service after this.
- 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
- CAST AIP Console Logs CAST Management Studio - Information - How to find logs
- Detail of specific steps done
- Any applicable screenshots
Ticket # 30138