Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16992

Possible NPE when calling ListClass.getStringFromList with a list containing null values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 11.3.7, 12.0-rc-1, 11.10.3
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Empty element from the list are correctly processed but null values are not skipped when using ListClass#getStringFromList which might cause NPE in some cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: