java.beans.IntrospectionException: type mismatch between indexed and non-indexed methods

freemarker | cschlaefcke | 1 decade ago
  1. 0

    IntrospectionException on template.process

    freemarker | 1 decade ago | cschlaefcke
    java.beans.IntrospectionException: type mismatch between indexed and non-indexed methods
  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

    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when trying to spy with Mockito

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

    [CTAKES-334] GramMatrixExporterImpl initialization failed - ASF JIRA

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

    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 and non-indexed methods

      at java.beans.IndexedPropertyDescriptor.findIndexedPropertyType()
    2. Java RT
      IndexedPropertyDescriptor.<init>
      1. java.beans.IndexedPropertyDescriptor.findIndexedPropertyType(IndexedPropertyDescriptor.java:193)
      2. java.beans.IndexedPropertyDescriptor.<init>(IndexedPropertyDescriptor.java:102)
      2 frames
    3. FreeMarker
      Template.process
      1. freemarker.ext.beans.BeansWrapper.populateClassMapWithBeanInfo(BeansWrapper.java:814)
      2. freemarker.ext.beans.BeansWrapper.populateClassMap(BeansWrapper.java:736)
      3. freemarker.ext.beans.BeansWrapper.introspectClass(BeansWrapper.java:679)
      4. freemarker.ext.beans.BeanModel.<init>(BeanModel.java:134)
      5. freemarker.ext.beans.StringModel.<init>(StringModel.java:90)
      6. freemarker.ext.beans.StringModel$1.create(StringModel.java:75)
      7. freemarker.ext.util.ModelCache.getInstance(ModelCache.java:113)
      8. freemarker.ext.beans.BeansWrapper.wrap(BeansWrapper.java:393)
      9. freemarker.ext.beans.BeanModel.wrap(BeanModel.java:294)
      10. freemarker.ext.beans.IteratorModel.next(IteratorModel.java:134)
      11. freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:157)
      12. freemarker.core.Environment.visit(Environment.java:351)
      13. freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
      14. freemarker.core.Environment.visit(Environment.java:196)
      15. freemarker.core.MixedContent.accept(MixedContent.java:92)
      16. freemarker.core.Environment.visit(Environment.java:196)
      17. freemarker.core.Environment.include(Environment.java:1375)
      18. freemarker.core.Include.accept(Include.java:155)
      19. freemarker.core.Environment.visit(Environment.java:196)
      20. freemarker.core.MixedContent.accept(MixedContent.java:92)
      21. freemarker.core.Environment.visit(Environment.java:196)
      22. freemarker.core.Environment.process(Environment.java:176)
      23. freemarker.template.Template.process(Template.java:231)
      23 frames
    4. my.package
      MyServlet.service
      1. my.package.MyServlet.service(MyServlet.java:324)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    6. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
      4 frames
    7. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    8. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    9. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
      2 frames
    10. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
      2 frames