[
https://issues.apache.org/jira/browse/PB-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Woonsan Ko closed PB-72.
------------------------
Resolution: Fixed
> ClassCastException in PortletApplicationModelImpl since Spring Framework 2.0.5
> ------------------------------------------------------------------------------
>
> Key: PB-72
> URL: https://issues.apache.org/jira/browse/PB-72
> Project: Portals Bridges
> Issue Type: Bug
> Components: frameworks
> Affects Versions: 1.0.3
> Reporter: Woonsan Ko
> Fix For: 1.0.4
>
> Attachments: pamodel-diff.txt
>
>
> The following lines in o.a.p.b.frameworks.spring.PortletApplicationModelImpl
> has throws ClassCastException:
> PropertyValue value = bd.getPropertyValues().getPropertyValue("lookupKey");
> if (value != null)
> {
> lookup = (String)value.getValue(); // ClassCastException here:
> getValue does not return String object any more.
> // ...
> }
> I found this problem when I tried to integrate a customized j2-admin's
> PortalSiteDetails portlet with Jetspeed-2.1.2.
> The portlet is customized from the old j2-admin::SiteDetailsPortlet, which is
> out-of-date in Jetspeed-2.1.2.
> Anyway, this problem can occur when a portlet utilizes framework bridge.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]