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

[configuration] NullPointerException thrown by AbstractFileConfiguration.getFile()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 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

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: