You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/06/21 18:51:49 UTC

DO NOT REPLY [Bug 29722] New: - [configuration] addProperty throws a NPE in DOMConfiguration

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29722>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29722

[configuration] addProperty throws a NPE in DOMConfiguration

           Summary: [configuration] addProperty throws a NPE in
                    DOMConfiguration
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: smanux@lfjr.net


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)

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org