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

NPE in HierarchicalConfiguration.fetchNodeList after redeployment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux, Java 1.5

      Description

      java.lang.NullPointerException
      at org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:721)
      at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.fetchNodeList(AbstractHierarchicalFileConfiguration.java:338)
      at org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:284)
      at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.getProperty(AbstractHierarchicalFileConfiguration.java:319)
      at org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1222)
      at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:667)
      at org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:633)

      java.lang.NullPointerException
      at org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:721)
      at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.fetchNodeList(AbstractHierarchicalFileConfiguration.java:338)
      at org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:284)
      at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.getProperty(AbstractHierarchicalFileConfiguration.java:319)
      at org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1222)
      at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1097)
      at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1077)

        Attachments

          Activity

            People

            • Assignee:
              oheger Oliver Heger
              Reporter:
              deki Dennis Kieselhorst
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: