Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-86

[configuration] NullPointerException thrown by AbstractFileConfiguration.getFile()

    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: All
      Platform: All

      Description

      The getFile() method throws a NullPointerException if no file name has been set
      yet. This can also happen after a file has been successfully loaded because most
      of the overloaded load() methods do not store the passed in file name.

      This issue was reported by Mi Zhang on commons user list (see
      http://thread.gmane.org/gmane.comp.jakarta.commons.user/12289).

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development