handled null pointer exceptoin when there is no charges
Merge pull request #667 from pramodn02/MIFOSX-730

handled null pointer exceptoin when there is no charges