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

Samebug tips

  1. ,
    Expert tip

    This is caused by a missing dependency, add it to your gradle file: dependencies { compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1' }

Solutions on the web

java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE	at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.(DefaultHttpRequestWriterFactory.java:52)	at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.(DefaultHttpRequestWriterFactory.java:56)	at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.(DefaultHttpRequestWriterFactory.java:46)	at org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.(ManagedHttpClientConnectionFactory.java:72)	at org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.(ManagedHttpClientConnectionFactory.java:84)	at org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.(ManagedHttpClientConnectionFactory.java:59)	at org.apache.http.impl.conn.BasicHttpClientConnectionManager.(BasicHttpClientConnectionManager.java:128)	at org.apache.http.impl.conn.BasicHttpClientConnectionManager.(BasicHttpClientConnectionManager.java:142)	at org.bob.broid.misipcc.util.NetUtil.getHttpClient(NetUtil.java:54)	at org.bob.broid.misipcc.util.NetUtil.doGet(NetUtil.java:75)	at org.bob.broid.misipcc.InitActivity.onCreate(InitActivity.java:17)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)	at android.app.ActivityThread.access$2300(ActivityThread.java:125)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)	at android.os.Handler.dispatchMessage(Handler.java:99)	at android.os.Looper.loop(Looper.java:123)	at android.app.ActivityThread.main(ActivityThread.java:4627)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:521)