Not able to request continuously getting error
com.androidnetworking.error.ANError: java.lang.NullPointerException: Attempt to invoke virtual method 'okhttp3.HttpUrl$Builder okhttp3.HttpUrl.newBuilder()' on a null object reference
@salmansynergytop tell me the URL, it must contain HTTP or HTTPS.
I also encountered this error, i use http.
I also faced the same problem, when I did not used HTTPS mistakenly
@amitshekhariitbhu I also encounter the same error, my URL is this http://523.642.333.80:9002/. @salmansynergytop Did you find the solution..?
In my case the url has typo by mistake an arabic character 馗
instead of / which happens to have same keyboard key.... but the logcat did not specify,
it should provide more accurate excpetion, i suggest some one fork and improve :)
@amitshekhariitbhu I also encounter the same error, my URL is this
http://523.642.333.80:9002/. @salmansynergytop Did you find the solution..?
I think you should use the url in his format "http://site.com" or "https://site.com" and not "site.com" coz if you use it without http or https you will get the okhttp3 url builder error
Most helpful comment
@salmansynergytop tell me the URL, it must contain HTTP or HTTPS.