000017469 - Error 'URI can't be null.' when initializing the DPM Java client

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

Article Content

Article Number000017469
Applies ToRSA Data Protection Manager Java client
Issue
2014-06-06/14:22:56.599/CDT [main] ERROR 1.2.3.1.1 1.5: Client registration failed
com.rsa.kmc.KMException: com.rsa.kmc.w.ai: java.lang.IllegalArgumentException: URI can't be null.
        at com.rsa.kmc.KMConfig.e(Unknown Source)
        at com.rsa.kmc.KMConfig.a(Unknown Source)
        at com.rsa.kmc.KMConfig.<init>(Unknown Source)
        at com.walgreens.encrypt.FileEncryption.initializeKMClient(FileEncryption.java:99)
        at com.walgreens.encrypt.FileEncryption.main(FileEncryption.java:413)
Caused by: com.rsa.kmc.w.ai: java.lang.IllegalArgumentException: URI can't be null.
        at com.rsa.kmc.w.am.b(Unknown Source)
        at com.rsa.kmc.w.F.i(Unknown Source)
        at com.rsa.kmc.w.F.e(Unknown Source)
        ... 5 more
Caused by: java.lang.IllegalArgumentException: URI can't be null.
        at sun.net.spi.DefaultProxySelector.select(Unknown Source)
        at sun.net._www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net._www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net._www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
        at com.rsa.kmc.w.ab.a(Unknown Source)
        at com.rsa.kmc.w.aV.a(Unknown Source)
        at com.rsa.kmc.w.aV.a(Unknown Source)
        at com.rsa.kmc.w.ay.a(Unknown Source)
        ... 8 more
CauseConfg parameter server.host=dpm.rsa.com:/KMS/rpc/emu
ResolutionFix your configuration parameter "server.host" so it has only the server's FQDN. As opposed to the C client, the Java client should not have URL defined.
Legacy Article IDa66170

Attachments

    Outcomes