Java null pointer Expression

Hello
I dint get all android commands like scrollTo() etc by using java client 5.0 etc

i got java null point exception by using below java client 5.o (like java clent 4.0)

How can i handle this issue

PLS Help me

You should use/change to java client 6.0.0 and appium server 1.8.1 or at least 1.7.2

Also please make sure to include code snippets, full stack exception etc… when posting questions.

I will try

Thank You