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

        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311710 ]
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Component/s Configuration [ 12311107 ]
        Affects Version/s Nightly Builds [ 12311648 ]
        Project Commons [ 12310458 ] Commons Configuration [ 12310467 ]
        Key COM-2232 CONFIGURATION-86
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 35807 12342384
        Oliver Heger created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development