java.lang.NoSuchFieldError: INSTANCE

Stack Overflow | ecbrodie | 3 years ago

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoSuchFieldError

    INSTANCE

    at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<init>()
  2. Apache Http
    DefaultHttpRequestWriterFactory.<clinit>
    1. org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<init>(DefaultHttpRequestWriterFactory.java:52)
    2. org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<init>(DefaultHttpRequestWriterFactory.java:56)
    3. org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<clinit>(DefaultHttpRequestWriterFactory.java:46)
    3 frames
  3. Apache HttpClient
    HttpClientBuilder.build
    1. org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:72)
    2. org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:84)
    3. org.apache.http.impl.conn.ManagedHttpClientConnectionFactory.<clinit>(ManagedHttpClientConnectionFactory.java:59)
    4. org.apache.http.impl.conn.PoolingHttpClientConnectionManager$InternalConnectionFactory.<init>(PoolingHttpClientConnectionManager.java:487)
    5. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:147)
    6. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:136)
    7. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:112)
    8. org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:726)
    8 frames
  4. unirest-java
    BaseRequest.asStringAsync
    1. com.mashape.unirest.http.options.Options.refresh(Options.java:41)
    2. com.mashape.unirest.http.options.Options.<clinit>(Options.java:27)
    3. com.mashape.unirest.http.HttpClientHelper.prepareRequest(HttpClientHelper.java:141)
    4. com.mashape.unirest.http.HttpClientHelper.requestAsync(HttpClientHelper.java:80)
    5. com.mashape.unirest.request.BaseRequest.asStringAsync(BaseRequest.java:56)
    5 frames