[HtmlUnit] [htmlunit:bugs] #2022 java.lang.ExceptionInInitializerError is thrown when new WebClient

RBRi via HtmlUnit-develop <[email protected]> Sun, 23 May 2021 11:15:00 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/2022/bd98fee28827e8f7921f43f0f3228be99513fedd.bugs@htmlunit.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============7728076225239440747==
Content-Type: multipart/related; boundary="===============8070771888512053105=="

This is a multi-part message in MIME format.
--===============8070771888512053105==
Content-Type: multipart/alternative; boundary="===============0197592606252865354=="
MIME-Version: 1.0

--===============0197592606252865354==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

- **status**: open --> closed
- **Comment**:

without more details i can't do anything here



---

** [bugs:#2022] java.lang.ExceptionInInitializerError is thrown when new   WebClient**

**Status:** closed
**Group:** 2.36.0
**Created:** Mon Aug 26, 2019 03:53 PM UTC by Karen Zhang
**Last Updated:** Sat Sep 07, 2019 08:55 AM UTC
**Owner:** nobody


Hi, I am tring to integrate HtmlUnit into my Android project, but the java.lang.ExceptionInInitializerError is thrown when create  WebClient.

My code is :

WebClient wc = new WebClient();

Grandle:
compile 'net.sourceforge.htmlunit:htmlunit:2.36.0'

Please advise, thanks


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/htmlunit/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============0197592606252865354==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><ul>
<li><strong>status</strong>: open --&gt; closed</li>
<li><strong>Comment</strong>:</li>
</ul>
<p>without more details i can't do anything here</p>
<hr/>
<p><strong> <a class="alink strikethrough" href="https://sourceforge.net/p/htmlunit/bugs/2022/">[bugs:#2022]</a> java.lang.ExceptionInInitializerError is thrown when new   WebClient</strong></p>
<p><strong>Status:</strong> closed<br/>
<strong>Group:</strong> 2.36.0<br/>
<strong>Created:</strong> Mon Aug 26, 2019 03:53 PM UTC by Karen Zhang<br/>
<strong>Last Updated:</strong> Sat Sep 07, 2019 08:55 AM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>Hi, I am tring to integrate HtmlUnit into my Android project, but the java.lang.ExceptionInInitializerError is thrown when create  WebClient.</p>
<p>My code is :</p>
<p>WebClient wc = new WebClient();</p>
<p>Grandle:<br/>
compile 'net.sourceforge.htmlunit:htmlunit:2.36.0'</p>
<p>Please advise, thanks</p>
<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/htmlunit/bugs/">https://sourceforge.net/p/htmlunit/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/htmlunit/admin/bugs/options.">https://sourceforge.net/p/htmlunit/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============0197592606252865354==--

--===============8070771888512053105==--


--===============7728076225239440747==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============7728076225239440747==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop

--===============7728076225239440747==--