Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-276

tiles:putListAttribute - PropertyDescriptor: internal error while merging PDs: type mismatch between read and write methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5, 2.0.6
    • 2.0.7
    • None

    Description

      'PropertyDescriptor: internal error while merging PDs: type mismatch between read and write methods'

      i am getting 'PropertyDescriptor: internal error while merging PDs: type mismatch between read and write methods'
      exception in <tiles:putListAttribute name="list">

      <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>

      <tiles:insertTemplate template="/putattributeslayout.jsp">
      <tiles:putAttribute name="stringTest" value="This is a string" type="string" />
      <tiles:putListAttribute name="list">
      <tiles:addAttribute value="valueOne" type="string" />
      <tiles:addAttribute value="valueTwo" type="string" />
      <tiles:addAttribute value="valueThree" type="string" />
      </tiles:putListAttribute>
      </tiles:insertTemplate>

      i included
      backport-util-concurrent-3.0.jar
      commons-beanutils-1.7.0.jar
      commons-digester-1.8.jar
      commons-logging-api-1.1.jar
      freemarker-2.3.10.jar
      jstl-1.1.2.jar
      retrotranslator-runtime-1.2.1.jar
      standard-1.1.2.jar
      tiles-api-2.0.6-j4.jar
      tiles-core-2.0.6-j4.jar
      tiles-jsp-2.0.6-j4.jar
      xalan.jar
      xercesImpl.jar
      xml-apis.jar

      Caused by: java.lang.Error: PropertyDescriptor: internal error while merging PDs: type mismatch between read and write methods
      at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java(Compiled Code))
      at java.beans.Introspector.processPropertyDescriptors(Introspector.java(Compiled Code))
      at java.beans.Introspector.getTargetPropertyInfo(Introspector.java(Compiled Code))
      at java.beans.Introspector.getBeanInfo(Introspector.java(Inlined Compiled Code))
      at java.beans.Introspector.getBeanInfo(Introspector.java(Compiled Code))
      at freemarker.ext.jsp.TagTransformModel.<init>(TagTransformModel.java:116)
      at freemarker.ext.jsp.TaglibFactory$TldParser.endElement(TaglibFactory.java:581)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at freemarker.ext.jsp.TaglibFactory.parseXml(TaglibFactory.java:368)
      at freemarker.ext.jsp.TaglibFactory.loadTaglib(TaglibFactory.java:437)
      at freemarker.ext.jsp.TaglibFactory.access$300(TaglibFactory.java:105)
      at freemarker.ext.jsp.TaglibFactory$Taglib.load(TaglibFactory.java:401)
      at freemarker.ext.jsp.TaglibFactory.get(TaglibFactory.java:158)
      at freemarker.core.DynamicKeyName.dealWithStringKey(DynamicKeyName.java:136)
      at freemarker.core.DynamicKeyName._getAsTemplateModel(DynamicKeyName.java:94)
      at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      at freemarker.core.Assignment.accept(Assignment.java:90)
      at freemarker.core.Environment.visit(Environment.java:196)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:196)
      at freemarker.core.Environment.process(Environment.java:176)
      at freemarker.template.Template.process(Template.java:232)
      at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:427)
      at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:366)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1521)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:759)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:633)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1034)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:490)
      at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:80)
      ... 37 more

      Attachments

        1. pom_build_succ with error.txt
          18 kB
          Dev Naga
        2. TestPutListAttribute.java
          0.7 kB
          Antonio Petrelli
        3. tiles2_test_wksp.zip
          4.98 MB
          Dev Naga
        4. tiles2_test_wksp.zip
          4.91 MB
          Dev Naga
        5. tiles2.0-antonio.zip
          406 kB
          Dev Naga
        6. tiles2testEAR.ear
          4.89 MB
          Dev Naga
        7. tiles-test-j4.zip
          2.09 MB
          Dev Naga

        Activity

          People

            brenmcguire Antonio Petrelli
            devnaga Dev Naga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: