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

[configuration] addProperty throws a NPE in XMLConfiguration

    XMLWordPrintableJSON

Details

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

    • 29722

    Description

      The method addProperty in DOMConfiguration throws a NullPointerException if the
      configuration file hasn't been loaded.

      java.lang.NullPointerException
      at
      org.apache.commons.configuration.DOMConfiguration.setXmlProperty(DOMConfiguration.java:254)
      at
      org.apache.commons.configuration.DOMConfiguration.addProperty(DOMConfiguration.java:225)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: