Issue resolved. bitcoincharts.com which generates the data used by my app have stopped supplying the number of trades. I'm not sure why at this stage but my error handling didn't deal with this. There is a new version at the address below which resolves this: