Portals Bridges
  1. Portals Bridges
  2. PB-72

ClassCastException in PortletApplicationModelImpl since Spring Framework 2.0.5

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4
    • Component/s: frameworks
    • Labels:
      None

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development