Fixed null pointer in download indexadapter
Merge pull request #944 from Bars107/bugfix

Fixed null pointer in download indexadapter