java.lang.RuntimeException

java.io.IOException: Invalid DER: length field too big (186)


Solutions on the web5096

Solution icon of googlegroups
via Google Groups by Paolo Di Tommaso, 1 year ago
java.io.IOException: Invalid DER: length field too big (186)

Solution icon of github
via GitHub by swan201
, 1 year ago
Too big array length of 61696

Solution icon of github
via GitHub by swan201
, 1 year ago
Too big array length of 37120

Solution icon of github
via GitHub by GeilerKeks
, 1 year ago
java.io.IOException: String too big (was 43692 bytes encoded, max 32767)

Solution icon of stackoverflow
via Stack Overflow by Rickman
, 6 months ago
java.io.IOException: DER length more than 4 bytes: 39

Solution icon of web
java.io.IOException: invalid header field

Solution icon of java
via Java.net JIRA by Romain Grécourt, 11 months ago
java.io.IOException: invalid header field

Solution icon of github
via GitHub by andris155
, 1 year ago
VarInt too big

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Column length too big for column 'MESSAGE' (max = 21845); use BLOB or TEXT instead

Solution icon of github
via GitHub by L4BORG
, 1 year ago
VarInt too big

Stack trace

  • java.lang.RuntimeException: java.io.IOException: Invalid DER: length field too big (186) at com.google.common.base.Throwables.propagate(Throwables.java:156) at org.jclouds.crypto.Pems.privateKeySpec(Pems.java:173) at org.jclouds.crypto.SshKeys.fingerprintPrivateKey(SshKeys.java:228) at org.jclouds.sshj.SshjSshClient.<init>(SshjSshClient.java:155) at org.jclouds.sshj.config.SshjSshClientModule$Factory.create(SshjSshClientModule.java:68) at org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:59) at org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:40) at org.jclouds.compute.callables.SudoAwareInitManager.init(SudoAwareInitManager.java:64) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.init(RunScriptOnNodeAsInitScriptUsingSsh.java:82) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.init(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:76) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.init(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:43) at org.jclouds.compute.strategy.InitializeRunScriptOnNodeOrPlaceInBadMap.call(InitializeRunScriptOnNodeOrPlaceInBadMap.java:67) at org.jclouds.compute.strategy.InitializeRunScriptOnNodeOrPlaceInBadMap.call(InitializeRunScriptOnNodeOrPlaceInBadMap.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.IOException: Invalid DER: length field too big (186) at net.oauth.signature.pem.DerParser.getLength(DerParser.java:159) at net.oauth.signature.pem.DerParser.read(DerParser.java:117) at net.oauth.signature.pem.PKCS1EncodedKeySpec.decode(PKCS1EncodedKeySpec.java:95) at net.oauth.signature.pem.PKCS1EncodedKeySpec.<init>(PKCS1EncodedKeySpec.java:52) at org.jclouds.crypto.Pems$1.parseResult(Pems.java:149) at org.jclouds.crypto.Pems$1.parseResult(Pems.java:146) at org.jclouds.crypto.Pems$PemProcessor.getResult(Pems.java:94) at com.google.common.io.ByteStreams.readBytes(ByteStreams.java:715) at org.jclouds.crypto.Pems.fromPem(Pems.java:123) at org.jclouds.crypto.Pems.privateKeySpec(Pems.java:143) at org.jclouds.crypto.Pems.privateKeySpec(Pems.java:171) ... 16 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.