Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-403

Never propagate a "NullPointerException" resulting from bad usage of the API

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      Package "exception" contains a class named "NullArgumentException" meant to signal that an argument was "null" where it shouldn't have been.
      For consistency, every method of the API should be checked for "null" arguments and throw "NullArgumentException" appropriately.

      This means hunting down all unchecked uses of references. Is there a tool that will report those?

      Attachments

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: