You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Woonsan Ko (JIRA)" <br...@portals.apache.org> on 2007/08/09 08:05:43 UTC

[jira] Closed: (PB-72) ClassCastException in PortletApplicationModelImpl since Spring Framework 2.0.5

     [ 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: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org