commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Putnam <deput...@cisco.com>
Subject Re: [configuration] Re: CompositeConfiguration Checking Existence of Properties.
Date Wed, 31 Oct 2012 17:13:38 GMT
Dumb, dumb dumb. I figured it out although I don't know why this 
exception did not happen sooner. I suddenly started getting a new 
exception. The configuration file could not be found so although 
'config' was not null, internally there was no file opened to read.

On 10/31/2012 01:09 PM, Dennis Putnam wrote:
> Hi Greg,
>
> Yes. If only it had been that easy. :-(
>
> On 10/31/2012 01:02 PM, Greg Thomas wrote:
>> On 31 October 2012 16:47, Dennis Putnam<deputman@cisco.com>  wrote:
>>> FWIW, here is the full traceback.
>>>
>>> Exception in thread "main" java.lang.NullPointerException
>>>      at
>>> org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:261)
>> ...
>> Are you sure that your "prop" String is not null?
>>
>> Greg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:user-unsubscribe@commons.apache.org
>> For additional commands, e-mail:user-help@commons.apache.org
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message