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

ChainBuilder fails with interface containing static methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0, 5.4.5
    • Fix Version/s: 5.6.0
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      java.lang.IllegalArgumentException: Unable to introduce method 'public static void staticSomething()' into class $InterfaceWithStaticMethod_bfd4d3596d9: introduced methods may not be static.
      	at org.apache.tapestry5.internal.plastic.PlasticClassImpl.createNewMethod(PlasticClassImpl.java:984)
      	at org.apache.tapestry5.internal.plastic.PlasticClassImpl.introduceMethod(PlasticClassImpl.java:938)
      	at org.apache.tapestry5.internal.plastic.PlasticClassImpl.introduceMethod(PlasticClassImpl.java:966)
      	at org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl.implementMethod(ChainBuilderImpl.java:79)
      	at org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl.access$0(ChainBuilderImpl.java:77)
      	at org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl$1.transform(ChainBuilderImpl.java:66)
      	at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:287)
      	at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:262)
      	at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:229)
      	at org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:83)
      	at org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl.build(ChainBuilderImpl.java:54)
      	
      
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: