java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslContext

htmlunit | martinspamer | 10 months ago
  1. 0

    java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslContext

    htmlunit | 10 months ago | martinspamer
    java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslContext
  2. 0

    Update to HttpComponents 4.5

    htmlunit | 2 years ago | jklap
    java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslcontext
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    HtmlUnit - Dev - [HtmlUnit] [htmlunit:bugs] #1692 Update to HttpComponents 4.5

    nabble.com | 8 months ago
    java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslcontext
  5. 0

    Nutch - Dev - [jira] [Commented] (NUTCH-2191) Add protocol-htmlunit

    nabble.com | 8 months ago
    java.lang.IllegalArgumentException: Cannot locate declared field org.apache.http.impl.client.HttpClientBuilder.sslContext

  1. aldrinleal 1 times, last 8 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslContext

    at org.apache.commons.lang3.Validate.isTrue()
  2. Commons Lang
    FieldUtils.readDeclaredField
    1. org.apache.commons.lang3.Validate.isTrue(Validate.java:155)
    2. org.apache.commons.lang3.reflect.FieldUtils.readDeclaredField(FieldUtils.java:512)
    2 frames
  3. HtmlUnit
    WebClient.getPage
    1. com.gargoylesoftware.htmlunit.HttpWebConnection.createConnectionManager(HttpWebConnection.java:944)
    2. com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:161)
    3. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1321)
    4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1238)
    5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:346)
    6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:415)
    7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
    7 frames
  4. com.thetestpeople.webcrawler
    HtmlUnitMatcherTest.homePage
    1. com.thetestpeople.webcrawler.test.HtmlUnitMatcherTest.homePage(HtmlUnitMatcherTest.java:39)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    13 frames
  7. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  8. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames