You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Dev Naga (JIRA)" <ji...@apache.org> on 2008/06/06 01:40:05 UTC

[jira] Issue Comment Edited: (TILES-276) tiles:putListAttribute - PropertyDescriptor: internal error while merging PDs: type mismatch between read and write methods

    [ https://issues.apache.org/struts/browse/TILES-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44049#action_44049 ] 

devnaga edited comment on TILES-276 at 6/5/08 4:38 PM:
--------------------------------------------------------

I have the following link

http://en.wikipedia.org/wiki/Comparison_of_backporting_tools
http://retrotranslator.sourceforge.net/

talks about  retrotranslator and "How to produce a jar file compatible with Java 1.4?" 

We are also using the same

backport-util-concurrent-3.0.jar 
retrotranslator-runtime-1.2.1.jar 

to support transparent bytecode enhancement which allows to develop against 1.5 and seamlessly deploy on 1.4.

Wont it support for covariant return types?




      was (Author: devnaga):
    I have the following link

http://en.wikipedia.org/wiki/Comparison_of_backporting_tools
http://retrotranslator.sourceforge.net/

talks about  retrotranslator and "How to produce a jar file compatible with Java 1.4?" 

We are also using the same

backport-util-concurrent-3.0.jar 
retrotranslator-runtime-1.2.1.jar 

to support transparent bytecode enhancement which allows to develop against 1.5 and seamlessly deploy on 1.4.

Why it is not able to work on covariant return types?



  
> 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'
> 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

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