Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-3217

JSP compilation error in Java Fedlet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0.0
    • Fix Version/s: 10.0.2, 11.0.1, 12.0.0
    • Component/s: SAML
    • Labels:
    • Rank:
      1|hzlzn3:
    • Sprint:
      Sprint 42, Sprint 43

      Description

      When deploying a new configured fedlet (generated through the Create Fedlet wizard), the index.jsp will display the following error message:

      An error occurred at line: 38 in the jsp file: /header.jspf
      HashMap cannot be resolved to a type
      35: java.util.List,
      36: java.util.Iterator"
      37: %><%!
      38:     public Map getIDPBaseUrlAndMetaAlias(String idpEntityID, String deployuri)
      39:     {
      40:         Map returnMap = new HashMap();
      41:         if (idpEntityID == null) {
      

      This is happening because header.jspf does not import HashMap explicitly, instead it relied on it being imported from index.jsp. Due to a recent change this import from index.jsp has disappeared, causing this failure.

        Attachments

          Activity

            People

            Assignee:
            alin Alin Brici
            Reporter:
            peter.major Peter Major [X] (Inactive)
            QA Assignee:
            Mark Powell Mark Powell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: