java.lang.IllegalStateException: Failed to load ApplicationContext

Stack Overflow | Tommy | 2 months ago
  1. 0

    Exception when trying to spy with Mockito

    Stack Overflow | 2 months ago | Tommy
    java.lang.IllegalStateException: Failed to load ApplicationContext
  2. 0

    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

    JDK Bug System | 3 years ago | Aleksandr Sakharuk
    java.lang.AssertionError: java.beans.IntrospectionException: type mismatch between indexed read and indexed write methods: index
  3. 0

    IntrospectionException on template.process

    freemarker | 1 decade ago | cschlaefcke
    java.beans.IntrospectionException: type mismatch between indexed and non-indexed methods
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [CTAKES-334] GramMatrixExporterImpl initialization failed - ASF JIRA

    apache.org | 11 months ago
    java.beans.IntrospectionException: type mismatch between read and write methods
  6. 0

    Palette: can not load component com.google.gwt.user.client.ui.TextArea

    Google Groups | 6 years ago | Meeta Krishnamurthi
    java.lang.Error: PropertyDescriptor(public java.lang.Object com.google.gwt.user.client.ui.TextBoxBase.getValue(), public void com.google.gwt.user.client.ui.ValueBoxBase.setValue(java.lang.Object))

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.beans.IntrospectionException

      type mismatch between indexed read and indexed write methods: callback

      at java.beans.IndexedPropertyDescriptor.findIndexedPropertyType()
    2. Java RT
      Introspector.getBeanInfo
      1. java.beans.IndexedPropertyDescriptor.findIndexedPropertyType(IndexedPropertyDescriptor.java:381)[na:1.8.0_77]
      2. java.beans.IndexedPropertyDescriptor.setIndexedReadMethod(IndexedPropertyDescriptor.java:217)[na:1.8.0_77]
      3. java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:462)[na:1.8.0_77]
      4. java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:471)[na:1.8.0_77]
      5. java.beans.Introspector.processPropertyDescriptors(Introspector.java:657)[na:1.8.0_77]
      6. java.beans.Introspector.getTargetPropertyInfo(Introspector.java:553)[na:1.8.0_77]
      7. java.beans.Introspector.getBeanInfo(Introspector.java:428)[na:1.8.0_77]
      8. java.beans.Introspector.getBeanInfo(Introspector.java:262)[na:1.8.0_77]
      9. java.beans.Introspector.getBeanInfo(Introspector.java:204)[na:1.8.0_77]
      9 frames
    3. Spring Beans
      AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject
      1. org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:278)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:189)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3. org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:177)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      4. org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:236)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1368)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1347)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1209)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      11. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      12. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      13. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      14. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      15. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      16. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      17. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      18. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      18 frames
    4. org.springframework.test
      DefaultCacheAwareContextLoaderDelegate.loadContext
      1. org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      1 frame
    5. Spring TestContext
      SpringJUnit4ClassRunner$1.runReflectiveCall
      1. org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:183)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3. org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:123)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      4. org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      5. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:230)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      6. org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      6 frames
    6. JUnit
      ReflectiveCallable.run
      1. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)[junit-4.12.jar:4.12]
      1 frame
    7. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:249)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3 frames
    8. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)[junit-4.12.jar:4.12]
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)[junit-4.12.jar:4.12]
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)[junit-4.12.jar:4.12]
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)[junit-4.12.jar:4.12]
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)[junit-4.12.jar:4.12]
      5 frames
    9. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2 frames
    10. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)[junit-4.12.jar:4.12]
      1 frame
    11. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193)[spring-test-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      1 frame
    12. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)[.cp/:na]
      1 frame
    13. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)[.cp/:na]
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)[.cp/:na]
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)[.cp/:na]
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)[.cp/:na]
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)[.cp/:na]
      5 frames