You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Lucky Kamath (Jira)" <ji...@apache.org> on 2020/07/28 20:35:00 UTC

[jira] [Created] (LIVY-783) java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected

Lucky Kamath created LIVY-783:
---------------------------------

             Summary: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected
                 Key: LIVY-783
                 URL: https://issues.apache.org/jira/browse/LIVY-783
             Project: Livy
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: Lucky Kamath


Steps to repoduce:
 # Pull master branch
 # changed <scala.binary.version> to 2.12 and <scala.version> to ${scala-2.12.version} in pom.xml
 # package the jars through maven package
 # extract the assembly/target/apache-livy-0.8.0-incubating-SNAPSHOT-bin.zip 
 # ./livy-server start
 # Create an interactive session
 # Fails with the below error
 # 20/07/28 13:33:28 INFO rpc.Rpc$SaslClientHandler: Exception in SASL negotiation. java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected at org.apache.livy.shaded.kryo.reflectasm.ConstructorAccess.insertConstructor(ConstructorAccess.java:128) at org.apache.livy.shaded.kryo.reflectasm.ConstructorAccess.get(ConstructorAccess.java:98) at org.apache.livy.shaded.kryo.kryo.Kryo$DefaultInstantiatorStrategy.newInstantiatorOf(Kryo.java:1271) at org.apache.livy.shaded.kryo.kryo.Kryo.newInstantiator(Kryo.java:1127) at org.apache.livy.shaded.kryo.kryo.Kryo.newInstance(Kryo.java:1136) at org.apache.livy.shaded.kryo.kryo.serializers.FieldSerializer.create(FieldSerializer.java:562) at org.apache.livy.shaded.kryo.kryo.serializers.FieldSerializer.read(FieldSerializer.java:538) at org.apache.livy.shaded.kryo.kryo.Kryo.readClassAndObject(Kryo.java:813) at org.apache.livy.client.common.Serializer.deserialize(Serializer.java:67) at org.apache.livy.rsc.rpc.KryoMessageCodec.decode(KryoMessageCodec.java:70) at io.netty.handler.codec.ByteToMessageCodec$1.decode(ByteToMessageCodec.java:42) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:505) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.lang.Thread.run(Thread.java:748) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)