Uploaded image for project: 'uPortal'
  1. uPortal
  2. UP-2443

findbugs automated code review: (possible) null pointer dereferences

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.0.4, 3.1.1, 3.2.0-RC1
    • Component/s: Framework
    • Labels:
      None

      Description

      Findbugs reports 15 nullpointer dereferences in uportal-impl (disregarding tests). While these (usually) have no clear reproduction-scenario from the end-user's perspective, they are often cause for a misbehaving API, obscure failures in other places, point to unintended programming mistakes, etc.

      As we are planning to go in production with 3.1 and most of the reported issues of this type seem easy enough to fix, I created a patch for 14 of them.

      Included is a document describing the patch, a document describing the actual code-changes and the Findbugs-report before and after patching. The patch has been tested on the rel-3-1-patches branch at revision 46003

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ernst Ernst-Jan Verhoeven
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: