Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. KeyFactory.generatePublic() has thrown an InvalidKeySpecException
    Java Runtime
    8
    0
    0
  2. RSAKeyFactory.engineGeneratePublic() has thrown an InvalidKeySpecException
    Java Runtime
    9
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: invalid key format
    at sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:163)
    at java.security.KeyFactory.generatePublic(KeyFactory.java:284)

External results for this pattern (10)

  1. MSSVvia Stack Overflow4 months ago
    java.security.InvalidKeyException: IOException: algid parse error, not a sequence
    Show stack trace
  2. bmarguliesvia Stack Overflow4 months ago
    java.security.InvalidKeyException: IOException: ObjectIdentifier() -- data isn't an object ID (tag = -96)
    Show stack trace
  3. java.security.InvalidKeyException: IOException: ObjectIdentifier() -- data isn't an object ID (tag = -96)
    Show stack trace
  4. Watervia Stack Overflow4 months ago
    java.security.InvalidKeyException: invalid key format
    Show stack trace
  5. 843811via Oracle Community4 months ago
    java.security.InvalidKeyException: invalid key format
    Show stack trace
  6. Unknown authorvia dreamincode.net4 months ago
    java.security.InvalidKeyException: IOException: DerInputStream.getLength(): lengthTag=109, too big.
    Show stack trace
  7. java.security.InvalidKeyException: invalid key format
    Show stack trace
  8. java.security.InvalidKeyException: IOException: DerInputStream.getLength(): lengthTag=31, too big.
    Show stack trace
  9. 843811via Oracle Community1 year ago
    java.secu rity.InvalidKeyException: Invalid RSA public key
    Show stack trace
  10. 843810via Oracle Community1 year ago
    java.security.InvalidKeyException: IOException: algid parse error, not a sequence
    Show stack trace