TypeError: Cannot read property 'content' of nullserver error