Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-2440

Incorrect values of escapeXml in actionURL result in confusing NullPointerException in JBoss Portlet Container

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: Portlet-2.0.1
    • Fix Version/s: None
    • Component/s: Portal Core
    • Labels:
      None

      Description

      JSR-286 states that escapeXml defaults to true. This value is almost never appropriate. If you forget to set it to false explicitly (very common mistake) you get a very confusing and little explicit NullPointerException.

      I suggest to throw a more explicit exception so that developpers don't loose a lot of time wondering why their apps don't work. I can provide the fix if requested.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bdt Bernard de Terwangne
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: