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

RBRi via HtmlUnit-develop <[email protected]> Sat, 07 Sep 2019 08:55:18 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/2022/7bf4a6cd5fecf39499285fdc3df811d59a4c0e28.bugs@htmlunit.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============5381535036592160622==
Content-Type: multipart/related;
 boundary="===============3744372478789418928=="

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

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

Can you please add the whole stack trace.


---

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

**Status:** open
**Group:** 2.36.0
**Created:** Mon Aug 26, 2019 03:53 PM UTC by Karen Zhang
**Last Updated:** Mon Aug 26, 2019 03:53 PM 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.
--===============0802892400267826195==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><p>Can you please add the whole stack trace.</p>
<hr/>
<p><strong> <a class="alink" 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> open<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> Mon Aug 26, 2019 03:53 PM 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>
--===============0802892400267826195==--
--===============3744372478789418928==--


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


--===============5381535036592160622==
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

--===============5381535036592160622==--