fix setConf

the super construct call to Configured will pass a null reference of Configuration when calling setConf.
So in the setConf method, it needs to handle the case when the Configuration object is null.