java.lang.NullPointerException: Could not set value for ASN.1 string object.

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ssl-handshake fails with scandinavian chars in client certificate

    Oracle Community | 1 decade ago | 3004
    java.lang.NullPointerException: Could not set value for ASN.1 string object.

    Root Cause Analysis

    1. java.lang.NullPointerException

      Could not set value for ASN.1 string object.

      at com.certicom.security.asn1.ASN1String.setValue()
    2. com.certicom.security
      X509V3CertImpl.<init>
      1. com.certicom.security.asn1.ASN1String.setValue(Unknown Source)
      2. com.certicom.security.asn1.ASN1String.setBufferTo(Unknown Source)
      3. com.certicom.security.asn1.DERInputStream.decodeString(UnknownSource)
      4. com.certicom.security.asn1.ASN1String.decode(Unknown Source)
      5. com.certicom.security.pkix.AttributeTypeAndValue.decodeContents(UnknownSource)
      6. com.certicom.security.asn1.DERInputStream.decodeStructured(UnknownSource)
      7. com.certicom.security.asn1.DERInputStream.decodeSequence(UnknownSource)
      8. com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
      9. com.certicom.security.asn1.ASN1SetOf.decodeContents(Unknown Source)
      10. com.certicom.security.asn1.DERInputStream.decodeStructured(UnknownSource)
      11. com.certicom.security.asn1.DERInputStream.decodeSetOf(Unknown Source)
      12. com.certicom.security.asn1.ASN1SetOf.decode(Unknown Source)
      13. com.certicom.security.asn1.ASN1SequenceOf.decodeContents(UnknownSource)
      14. com.certicom.security.asn1.DERInputStream.decodeStructured(UnknownSource)
      15. com.certicom.security.asn1.DERInputStream.decodeSequence(UnknownSource)
      16. com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
      17. com.certicom.security.pkix.Name.decodeContents(Unknown Source)
      18. com.certicom.security.asn1.ASN1Choice.decode(Unknown Source)
      19. com.certicom.security.pkix.TBSCertificate.decodeContents(UnknownSource)
      20. com.certicom.security.asn1.DERInputStream.decodeStructured(UnknownSource)
      21. com.certicom.security.asn1.DERInputStream.decodeSequence(UnknownSource)
      22. com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
      23. com.certicom.security.pkix.Certificate.decodeContents(Unknown Source)
      24. com.certicom.security.asn1.DERInputStream.decodeStructured(UnknownSource)
      25. com.certicom.security.asn1.DERInputStream.decodeSequence(UnknownSource)
      26. com.certicom.security.asn1.ASN1Sequence.decode(Unknown Source)
      27. com.certicom.security.asn1.ASN1Type.decode(Unknown Source)
      28. com.certicom.security.cert.internal.x509.X509V3CertImpl.<init>(UnknownSource)
      28 frames
    3. com.certicom.tls
      TLSConnectionImpl.completeHandshake
      1. com.certicom.tls.record.handshake.MessageCertificate.<init>(UnknownSource)
      2. com.certicom.tls.record.handshake.HandshakeMessage.create(UnknownSource)
      3. com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(UnknownSource)
      4. com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
      5. com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
      6. com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(UnknownSource)
      7. com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(UnknownSource)
      7 frames
    4. com.certicom.net
      CerticomContextWrapper.forceHandshakeOnAcceptedSocket
      1. com.certicom.net.ssl.CerticomContextWrapper.forceHandshakeOnAcceptedSocket(UnknownSource)
      1 frame
    5. weblogic.t3.srvr
      SSLListenThread$1.execute
      1. weblogic.t3.srvr.SSLListenThread$1.execute(SSLListenThread.java:514)
      1 frame
    6. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
      2 frames