Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

NullPointerException: in CSR server.log after Upgrade or Restore of Backup

Known Issue

After you upgrade or restore the Content Security Reporter backup file, an error is reported on "server.log" file (...\Content Security Reporter\reporter\log\server.log):

ERROR [Thread: ServerService Thread Pool -- 35] [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'csrAdminInitService': Invocation of init method failed; nested exception is java.lang.NullPointerException

This error indicates that Content Security Reporter was unable to read the backup file correctly. The Keystore doesn't match to decrypt the necessary settings.

How to Fix

  1. If you have created the backup file as described in Backup the Current Configuration, the csr.keystore file is stored on a separate device.
  2. Open csr.keystore in a text editor.
  3. Rename csr.keystore to csr.keystore.old.
  4. Copy the file csr.keystore.old into ..\reporter\jboss\standalone\configuration\.
  5. Restart the CSR service.
  6. In Trellix ePO go to Registered Servers > Report Server > Actions > Edit > details.
  7. Click test connection. If the connection is successful, check the Report Server Settings page. 
  8. If you don't have csr.keystore file, follow the instructions from Reset the CSR Passkey.


  • Was this article helpful?