java.lang.ClassCastException: net.bytebuddy.description.annotation.AnnotationDescription[] cannot be cast to net.bytebuddy.description.annotation.AnnotationDescription

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.ClassCastException: net.bytebuddy.description.annotation.AnnotationDescription[] cannot be cast to net.bytebuddy.description.annotation.AnnotationDescription at net.bytebuddy.implementation.attribute.AnnotationAppender$Default.apply(AnnotationAppender.java:312) at net.bytebuddy.implementation.attribute.AnnotationAppender$Default.handle(AnnotationAppender.java:296) at net.bytebuddy.implementation.attribute.AnnotationAppender$Default.doAppend(AnnotationAppender.java:355) at net.bytebuddy.implementation.attribute.AnnotationAppender$Default.append(AnnotationAppender.java:334) at net.bytebuddy.implementation.attribute.MethodAttributeAppender$Explicit.apply(MethodAttributeAppender.java:301) at net.bytebuddy.implementation.attribute.MethodAttributeAppender$Compound.apply(MethodAttributeAppender.java:490) at net.bytebuddy.dynamic.scaffold.TypeWriter$MethodPool$Record$ForDefinedMethod$WithBody.applyBody(TypeWriter.java:582) at net.bytebuddy.dynamic.scaffold.TypeWriter$MethodPool$Record$ForDefinedMethod.apply(TypeWriter.java:518) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForCreation.create(TypeWriter.java:3802) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:1618) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:172) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:153) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:2568) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:2670) at com.example.myapp.MyTest.testAnnotate(MyTest.java:43) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:198) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:183) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:560) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
No Bugmate found.