Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2664

PropertyShadowBuilder fails when interface inherits same method more than once

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4, 5.4.1, 5.4.2, 5.4.3, 5.4.5, 5.6.0, 5.6.1, 5.6.2, 5.7.0
    • 5.6.3, 5.7.1
    • tapestry-ioc
    • None

    Description

      The exception is very similar the same one as in TAP5-2663

      java.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $FooService_166bf1654d15java.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $FooService_166bf1654d15 at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.lang.ClassLoader.defineClass(ClassLoader.java:635) at org.apache.tapestry5.internal.plastic.PlasticClassLoader.defineClassWithBytecode(PlasticClassLoader.java:63) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realize(PlasticClassPool.java:160) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realizeTransformedClass(PlasticClassPool.java:139) at org.apache.tapestry5.internal.plastic.PlasticClassImpl.createInstantiator(PlasticClassImpl.java:650) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:289) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:262) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:229) at org.apache.tapestry5.beanmodel.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:85) at org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl.build(PropertyShadowBuilderImpl.java:62) at ioc.specs.PropertyShadowBuilderImplSpec.verify exception when accessing the value when null(PropertyShadowBuilderImplSpec.groovy:88)

      Attachments

        Activity

          People

            thiagohp Thiago Henrique De Paula Figueiredo
            thiagohp Thiago Henrique De Paula Figueiredo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: