Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-96

[configuration] File based configurations throw NPE when file does not exist

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      If a file based configuration like PropertiesConfiguration is constructed with a
      file name and the specified file does not exist, a NullPointerException is
      thrown instead of a ConfigurationException.

        Activity

        Hide
        Oliver Heger added a comment -

        A fix and an additional unit test for PropertiesConfiguration were provided.

        Show
        Oliver Heger added a comment - A fix and an additional unit test for PropertiesConfiguration were provided.

          People

          • Assignee:
            Unassigned
            Reporter:
            Oliver Heger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development