CombinedConfiguration: java.util.NoSuchElementException after reload of 
enclosed SubnodeConfiguration/XMLConfiguration
----------------------------------------------------------------------------------------------------------------------

                 Key: CONFIGURATION-368
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-368
             Project: Commons Configuration
          Issue Type: Bug
          Components: File reloading
    Affects Versions: 1.6
            Reporter: Paul Meyer


Steps to repeat:
- create a XMLConfiguration based on a XML config file (xml file content e.g.:  
<config><foo><bar>0</bar></for></config>)
- assign file reloading strategy to the XMLConfiguration
- create a SubnodeConfiguration based on this XMLConfiguration (prefix e.g.: 
'foor')
- create a CombinedConfiguration
- add the SubnodeConfiguration to this CombinedConfiguration
- get a configuration value from the CombinedConfiguration (e.g. 'bar') -> OK, 
this works
- touch the underlying xml configuration
- try to get a configuration value from the CombinedConfiguration again (e.g. 
'bar') ->  java.util.NoSuchElementException

See also attached TestCase.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to