karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: ClassCastException with useSSH
Date Sun, 04 Aug 2019 04:35:48 GMT
Hi Ryan,

let me try to reproduce. Thanks for the report.

Regards
JB

On 04/08/2019 03:33, Ryan Moquin wrote:
> Hi, has anyone tried using the karaf-maven-plugin run goal with the
> useSsh option set to true?
> If seems that if you just start up a vanilla 4.2.5 and 4.2.6 with it,
> you will see this stacktrace:
> 
> 2019-08-03T21:25:33,790 | WARN  | activator-1-thread-1 | Activator      
>                  | 36 - org.apache.karaf.shell.ssh - 4.2.5 | Error
> starting activator
> java.lang.ClassCastException: Cannot cast
> org.apache.sshd.common.util.security.bouncycastle.BouncyCastleSecurityProviderRegistrar
> to org.apache.sshd.common.util.security.SecurityProviderRegistrar
> at java.lang.Class.cast(Class.java:3369) ~[?:?]
> at
> org.apache.sshd.common.util.threads.ThreadUtils.createDefaultInstance(ThreadUtils.java:114)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> org.apache.sshd.common.util.threads.ThreadUtils.createDefaultInstance(ThreadUtils.java:121)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> org.apache.sshd.common.util.threads.ThreadUtils.createDefaultInstance(ThreadUtils.java:107)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> org.apache.sshd.common.util.security.SecurityUtils.register(SecurityUtils.java:397)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> org.apache.sshd.common.util.security.SecurityUtils.isEDDSACurveSupported(SecurityUtils.java:529)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> org.apache.sshd.common.signature.BuiltinSignatures$6.isSupported(BuiltinSignatures.java:103)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> org.apache.sshd.common.NamedFactory.lambda$setUpBuiltinFactories$1(NamedFactory.java:63)
> ~[39:org.apache.sshd.core:1.7.0]
> at
> java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[?:?]
> at
> java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
> ~[?:?]
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> ~[?:?]
> at
> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> ~[?:?]
> at
> java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> ~[?:?]
> 
> As I mentioned, this happens with installing anything into the
> containing.  Thought it might be useful to be able to have that option
> turned on.
> 
> Thanks for any help!
> Ryan

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message