AnnotatedElementUtils.doProcess() has thrown an ArrayStoreException
java.lang.ArrayStoreExceptionJavadocThrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. For example, the following code generates anArrayStoreException
:@author unascribed @since JDK1.0Object x[] = new String[3]; x[0] = new Integer(0);at sun.reflect.annotation.AnnotationParser.parseClassArray(Source)at sun.reflect.annotation.AnnotationParser.parseArray(Source)at sun.reflect.annotation.AnnotationParser.parseMemberValue(Source)at sun.reflect.annotation.AnnotationParser.parseAnnotation(Source)at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Source)at sun.reflect.annotation.AnnotationParser.parseAnnotations(Source)at java.lang.Class.initAnnotationsIfNecessary(Source)at java.lang.Class.getAnnotations(Source)at org.springframework.core.annotation.AnnotatedElementUtils.doProcess(Source)9 frames hidden
Typical Exception Messages
Similar
We have seen this error pattern in the following webpages (6)
- Failed to introspect annotations: class com.imetrik.oaas.tool.application.springboottest.SampleController.SampleController
- sun.reflect.annotation.TypeNotPresentExceptionProxy
- sun.reflect.annotation.TypeNotPresentExceptionProxy
- Error creating bean with name 'org.springframework.cloud.consul.discovery.ConsulDiscoveryClientConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ecwid.consul.v1.ConsulClient org.springframework.cloud.consul.discovery.ConsulDiscoveryClientConfiguration.consulClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cloud.consul.ConsulAutoConfiguration': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Failed to introspect annotations: class org.springframework.cloud.consul.ConsulAutoConfiguration
- Failed to introspect annotations: class com.imetrik.oaas.tool.application.springboottest.SampleController.SampleController
- Failed to introspect annotations: class com.imetrik.oaas.tool.application.springboottest.SampleController.SampleController