hello All,
I have recently started working with HttpUtils, as I was working with manual HttpClient method earlier. Now after few testing I am encountering this error.
any help much appreciated?
I have recently started working with HttpUtils, as I was working with manual HttpClient method earlier. Now after few testing I am encountering this error.
B4X:
Starting Job: search
httputils_internalcheckifcanstart (java line: 131)
java.lang.NullPointerException
at com.home.cafiq.test.httputils._internalcheckifcanstart(httputils.java:131)
at com.home.cafiq.test.httputils._downloadlist(httputils.java:50)
at com.home.cafiq.test.httputils._download(httputils.java:43)
at com.home.cafiq.test.search._btnsearch_click(search.java:921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:158)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:154)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:54)
at android.view.View.performClick(View.java:3538)
at android.view.View$PerformClick.run(View.java:14330)
at android.os.Handler.handleCallback(Handler.java:607)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:5005)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
any help much appreciated?