SSH not working after Stash upgrade

Git のトラブルシューティング

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

SSH does not work and the following appears in atlassian-stash.log:

2014-06-13 00:05:02,082 WARN  [NioProcessor-6]  o.a.m.c.f.DefaultIoFilterChain Unexpected exception from exceptionCaught handler.
java.lang.IllegalStateException: No session available
	at org.apache.sshd.common.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:49) ~[stash-ssh-2.12.3_1399867136000.jar:na]
…
Caused by: java.lang.NoSuchMethodError: org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/DERObject;
Caused by: java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z

原因

There is incompatible version of Bouncy Castle in the JDK.

ソリューション

Search for the incompatible version of Bouncy Castle and remove it.

(info) This is likely located at JAVA_HOME/jre/lib/ext/bcprov-jdk*.jar

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.