java.lang.ExceptionInInitializerError

Stack Overflow | k9b | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    HtmlUnit Android problem with WebClient

    Stack Overflow | 6 years ago | k9b
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org.apache.commons.lang.StringUtils

      at com.gargoylesoftware.htmlunit.util.URLCreator$URLCreatorStandard.toUrlUnsafeClassic()
    2. HtmlUnit
      UrlUtils.toUrlSafe
      1. com.gargoylesoftware.htmlunit.util.URLCreator$URLCreatorStandard.toUrlUnsafeClassic(URLCreator.java:66)
      2. com.gargoylesoftware.htmlunit.util.UrlUtils.toUrlUnsafe(UrlUtils.java:193)
      3. com.gargoylesoftware.htmlunit.util.UrlUtils.toUrlSafe(UrlUtils.java:171)
      3 frames