Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tmurakami
, 1 year ago
net.bytebuddy.description.annotation.AnnotationDescription[] cannot be cast to net.bytebuddy.description.annotation.AnnotationDescription
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)