java.lang.ExceptionInInitializerError

Stack Overflow | k9b | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    HtmlUnit Android problem with WebClient

    Stack Overflow | 5 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