I've tracked down the internal PD error message to the use of a bean within
a bean within a bean.  For some reason, <html:text> is no longer able to
handle the following statement:

<html:text name="regForm" property="user.user.userName" />

It is able to handle:
<html:text name="regForm" property="user.userName" />

When using the first line of code the following exception is thrown:
java.lang.Error: PropertyDescriptor: internal error while merging PDs: type
mismatch between read and write methods at
java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:343) at
java.beans.Introspector.processPropertyDescriptors(Introspector.java:649) at
java.beans.Introspector.getTargetPropertyInfo(Introspector.java:572) at
java.beans.Introspector.getBeanInfo(Introspector.java:372) at
java.beans.Introspector.getBeanInfo(Introspector.java:144) at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUt
ils.java:949) at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUt
ils.java:979) at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti
ls.java:887) at
org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.j
ava:1172) at
org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.j
ava:772) at
org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:80
1) at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:952) at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:176)
at
_sharedcontent._registration._register__jsp._jspService(/sharedcontent/regis
tration/templates/register.jsp:17) at
com.caucho.jsp.JavaPage.service(JavaPage.java:75) at
com.caucho.jsp.Page.pageservice(Page.java:555) at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:155
) at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:1
77) at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:
221) at
com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:392) at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:315) at
com.caucho.util.ThreadPool.runTasks(ThreadPool.java:353) at
com.caucho.util.ThreadPool.run(ThreadPool.java:302) at
java.lang.Thread.run(Thread.java:534) 

Has anybody encountered this problem before?  I have verified that the
accessor methods are returning and accepting the same Object.
Does anyone have a suggestion on how to fix this?  This code has been
running fine for almost 2 years now.

Thanks,

Brian McClung
Senior Programmer
Belo Interactive
214-977-4083

Reply via email to