java.lang.IllegalStateException

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.

  • Exception when trying to spy with Mockito
    via Stack Overflow by Tommy
    ,
  • Fails on custom jdk1.8.0b120(link in comment) and jdk1.8.0b119. Fails on jdk1.7.0_45b18 for another reason. So it can be regression. on jdk1.8.0 fails with exception java.lang.Error: the child property type is not override the parent property type at Test8027648.test(Test8027648.java:45) at Test8027648.main(Test8027648.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:744) on jdk1.7.0_45b18 with java.lang.AssertionError: java.beans.IntrospectionException: type mismatch between indexed read and indexed write methods: index at java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:480) at java.beans.Introspector.processPropertyDescriptors(Introspector.java:647) at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:543) at java.beans.Introspector.getBeanInfo(Introspector.java:418) at java.beans.Introspector.getBeanInfo(Introspector.java:163) at BeanUtils.getPropertyDescriptors(BeanUtils.java:64) at BeanUtils.findPropertyDescriptor(BeanUtils.java:111) at Test8027648.getPropertyType(Test8027648.java:50) at Test8027648.test(Test8027648.java:43) at Test8027648.main(Test8027648.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:744) Caused by: java.beans.IntrospectionException: type mismatch between indexed read and indexed write methods: index at java.beans.IndexedPropertyDescriptor.findIndexedPropertyType(IndexedPropertyDescriptor.java:387) at java.beans.IndexedPropertyDescriptor.setIndexedReadMethod(IndexedPropertyDescriptor.java:215) at java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:471) ... 15 more
    via by Aleksandr Sakharuk,
  • a database question on deploying jforum
    via by Migrated From Jforum.net,
  • Re:probleme with datasource configuration
    via by Migrated From Jforum.net,
  • HELP!!! Couldn't properly perform introspection
    via by Migrated From Jforum.net,
  • On weblogic server,IntrospectionException.
    via by Migrated From Jforum.net,
  • Hi, I've got this error when I try to access my jforum web-app.
    via by Migrated From Jforum.net,
  • help me.....
    via by Migrated From Jforum.net,
    • java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:183)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:123)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:230)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)[junit-4.12.jar:4.12] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:249)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)[junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)[junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)[junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)[junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)[junit-4.12.jar:4.12] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)[junit-4.12.jar:4.12] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)[.cp/:na] at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)[.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)[.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)[.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)[.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)[.cp/:na] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getCustomerService' defined in class path resource [ServiceSpyConfiguration.class]: Initialization of bean failed; nested exception is java.lang.AssertionError: java.beans.IntrospectionException: type mismatch between indexed read and indexed write methods: callback at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 26 more Caused by: java.lang.AssertionError: java.beans.IntrospectionException: type mismatch between indexed read and indexed write methods: callback at java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:471)[na:1.8.0_77] at java.beans.Introspector.processPropertyDescriptors(Introspector.java:657)[na:1.8.0_77] at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:553)[na:1.8.0_77] at java.beans.Introspector.getBeanInfo(Introspector.java:428)[na:1.8.0_77] at java.beans.Introspector.getBeanInfo(Introspector.java:262)[na:1.8.0_77] at java.beans.Introspector.getBeanInfo(Introspector.java:204)[na:1.8.0_77] at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:278)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:189)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:177)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:236)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1368)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1347)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1209)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] ... 36 more Caused by: java.beans.IntrospectionException: type mismatch between indexed read and indexed write methods: callback at java.beans.IndexedPropertyDescriptor.findIndexedPropertyType(IndexedPropertyDescriptor.java:381)[na:1.8.0_77] at java.beans.IndexedPropertyDescriptor.setIndexedReadMethod(IndexedPropertyDescriptor.java:217)[na:1.8.0_77] at java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:462)[na:1.8.0_77] ... 50 more
    No Bugmate found.