Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-770

Remove all the new NullPointerException()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      There are 165 places in the code where we throw a newly created NullPointerException. This is not the right way to handle null parameters : the IllegalArgumentException must be used in this case, since Jdk 1.0.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elecharny Emmanuel L├ęcharny
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: