[ 
https://issues.apache.org/struts/browse/TILES-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dev Naga updated TILES-276:
---------------------------

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

Still I face the same exception in <tiles:putListAttribute name="list"> without 
using code for freemarker in my project. 

Its true that I face the same error while running freemarker sample code in 
websphere 6 & jdk1.4 with tiles2.0.5 or above. Here I am using 
freemarker-2.3.10.jar.

When I try to download FreeMarker from 
http://freemarker.sourceforge.net/freemarkerdownload.html, I got the got 
warning as below
 
"WARNING! Currently, releases with different second version number (as 2.2.x 
and 2.3.x) are not compatible; please check the release notes in the Manual if 
you must update freemarker.jar in a project. Releases where only the third 
version number differs (as 2.2, 2.2.1 and 2.2.8) are compatible. "


  was:
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



> tiles:putListAttribute - PropertyDescriptor: internal error while merging 
> PDs: type mismatch between read and write methods
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TILES-276
>                 URL: https://issues.apache.org/struts/browse/TILES-276
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.5, 2.0.6
>         Environment: websphere 6.0 with tiles 2.0.5 or 2.0.6
>            Reporter: Dev Naga
>
> 'PropertyDescriptor: internal error while merging PDs: type mismatch between 
> read and write methods'
> Still I face the same exception in <tiles:putListAttribute name="list"> 
> without using code for freemarker in my project. 
> Its true that I face the same error while running freemarker sample code in 
> websphere 6 & jdk1.4 with tiles2.0.5 or above. Here I am using 
> freemarker-2.3.10.jar.
> When I try to download FreeMarker from 
> http://freemarker.sourceforge.net/freemarkerdownload.html, I got the got 
> warning as below
>  
> "WARNING! Currently, releases with different second version number (as 2.2.x 
> and 2.3.x) are not compatible; please check the release notes in the Manual 
> if you must update freemarker.jar in a project. Releases where only the third 
> version number differs (as 2.2, 2.2.1 and 2.2.8) are compatible. "

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to