commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29722] New: - [configuration] addProperty throws a NPE in DOMConfiguration
Date Mon, 21 Jun 2004 16:51:49 GMT
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


Mime
View raw message