Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-86

[configuration] NullPointerException thrown by AbstractFileConfiguration.getFile()

    Details

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

      Operating System: All
      Platform: All

    • Bugzilla Id:
      35807

      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).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oliver.heger@t-online.de Oliver Heger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: