Unable to start the Clarity services, java.lang.NullPointerException on getInstallDir
search cancel

Unable to start the Clarity services, java.lang.NullPointerException on getInstallDir

book

Article ID: 277753

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

App services (or nsa etc.) services do not start with the below error:

2024/01/03 21:59:07.241 | Jan 03, 2024 9:59:07 PM org.apache.coyote.http11.Http11Processor service
2024/01/03 21:59:07.241 | SEVERE: Error processing request
2024/01/03 21:59:07.241 | java.lang.NullPointerException
2024/01/03 21:59:07.241 |     at com.niku.union.config.ConfigObject.getInstallDir(ConfigObject.java:60)
2024/01/03 21:59:07.241 |     at com.niku.union.config.ConfigurationManager.fetchConfigFileObject(ConfigurationManager.java:6213)
2024/01/03 21:59:07.241 |     at com.niku.union.config.ConfigurationManager.fetchConfigObject(ConfigurationManager.java:5595)
2024/01/03 21:59:07.241 |     at com.niku.union.config.ConfigurationManager.getProperties(ConfigurationManager.java:993)
2024/01/03 21:59:07.241 |     at com.niku.union.config.ConfigurationManager.getWebServerInstance(ConfigurationManager.java:3665)
2024/01/03 21:59:07.241 |     at com.niku.union.web.valves.ErrorPageRedirectValve.invoke(ErrorPageRedirectValve.java:67)
2024/01/03 21:59:07.241 |     at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:673)
2024/01/03 21:59:07.241 |     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

Resolution

  1. Ensure the permissions are correctly set and you are starting the services in Command Prompt as Administrator
  2. Ensure the installDir is correctly set in the properties.xml file