java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException:
at com.android.okhttp.ConnectionPool.maybeShare(ConnectionPool.java:251)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:295)
at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:197)
at com.vk.sdk.api.httpClient.VKHttpClient$VKHTTPRequest.createConnection(VKHttpClient.java:316)
at com.vk.sdk.api.httpClient.VKHttpClient.execute(VKHttpClient.java:167)
at com.vk.sdk.api.httpClient.VKHttpOperation.start(VKHttpOperation.java:77)
at com.vk.sdk.api.httpClient.VKHttpClient$2.run(VKHttpClient.java:147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.