commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <heg...@med.uni-marburg.de>
Subject Re: [Configuration] XMLConfiguration getFile() throws nullpointerexception
Date Tue, 19 Jul 2005 05:50:21 GMT
This seems to be a bug. Could you please open a bugzilla ticket for this 
and provide some additional information (the complete stack trace, from 
where you load the config file [class path, absolute or relative path])?

Thanks.
Oliver

Mi Zhang wrote:
> Hi,
> 
> I am using commons-configuration-20050414 nightly build. I am getting
> nullpointerexception when I tried to retrieve the file, e.g.
>       XMLConfiguration frameworkConfig = new XMLConfiguration();
>       frameworkConfig.load("myconfig.xml");
>       File file = frameworkConfig.getFile();
> 
> the line  frameworkConfig.getFile() will throw NPE.
> 
> Please help or confirm if it's a bug.
> 
> thanks,
> Mi
> 
> 
> The Distillery Pty Limited
> ABN 69 080 932 467
> PO Box 940, Dickson ACT 2602, AUSTRALIA
> Phone: +61 2 6272 0200
> Fax: +61 2 6262 5151
> Web: www.thedistillery.com.au
> 
> The Distillery Inc
> 2111 Wilson Blvd, Suite 700,
> Arlington, Virginia 22201, USA
> Phone: +1 703 351 5082
> Web: www.thedistilleryinc.com
> 
> The Distillery (Europe) Ltd
> 53 Chandos Place London WC2N 4HS
> Tel: +44 (0)20 7812 6692
> Fax: +44 (0)20 7812 6677
> 
> 
> ---------------------------------------------------------------------
> The information contained in this email and any files attached may be
> confidential and/or copyrighted information of The Distillery, Third
> Parties and/or the intended recipient and may be the subject of legal
> privilege or public interest immunity. You may only reproduce or
> distribute the material if you are expressly authorised by us to do
> so. If you are not the intended recipient, any use, disclosure,
> copying, circulation, forwarding, printing or publication of this
> message or attached files is strictly forbidden.
> 
> If you have received this document in error or are not an intended
> recipient, please notify the sender and delete from your Inbox and/or
> system.
> 
> The Distillery does not represent or warrant that files attached to
> this e-mail are free from computer viruses or other defects and
> liability is limited to the resupply (or cost of resupply) of the
> attached files.
> ---------------------------------------------------------------------

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


Mime
View raw message