000013346 - 'java.lang.IllegalArgumentException' when retrieving a key

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000013346
Applies ToRSA Key Manager Server 2.0.x
Issue"java.lang.IllegalArgumentException" when retrieving a key
Servlet.service() for servlet ProviderServlet threw exception
java.lang.IllegalArgumentException
 at com.rsa.kms.util.checker.DefaultNullChecker.checkNotNull(DashoA10*..:19)
 at com.rsa.kms.util.checker.DefaultNullChecker.checkNotNull(DashoA10*..:15)
 at com.rsa.kms.key.provider.DefaultAggregateKey.a(DashoA10*..:38)
 at com.rsa.kms.key.provider.DefaultAggregateKey.<init>(DashoA10*..:25)
 at com.rsa.kms.key.provider.DefaultAggregateKeyWirer.get(DashoA10*..:15)
 at com.rsa.kms.key.application.DefaultApplicationKeyLookup.getKey(DashoA10*..:44)
 at com.rsa.kms.key.provider.DefaultKeyClassManager.getKey(DashoA10*..:79)
 at com.rsa.kms.key.provider.DefaultKeyProvider.a(DashoA10*..:122)
 at com.rsa.kms.key.provider.DefaultKeyProvider.c(DashoA10*..:115)
 at com.rsa.kms.key.provider.DefaultKeyProvider.b(DashoA10*..:77)
 at com.rsa.kms.key.provider.DefaultKeyProvider.a(DashoA10*..:66)
 at com.rsa.kms.key.provider.DefaultKeyProvider.getKey(DashoA10*..:57)
 at com.rsa.kms.key.provider.DefaultKeyProviderManager.getKey(DashoA10*..:92)
 at com.rsa.kms.transport.servlet.ProviderServlet.performGet(DashoA10*..:67)
 at com.rsa.kms.transport.servlet.AbstractKeyManagerServlet.doGet(DashoA10*..:54)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
...
CauseTwo different servers used for kmsKeyStore and kmsDataStore
ResolutionEdit the file TOMCAT/conf/Catalina/Localhost/KMS.xml
 - Make sure the JDBC URL for both kmsKeyStore and kmsDataStore are pointing to the same database server.
Legacy Article IDa49267

Attachments

    Outcomes