java.lang.IllegalAccessError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.IllegalAccessError: tried to access method org.mozilla.javascript.Context.<init>(Lorg/mozilla/javascript/ContextFactory;)V from class com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext.<init>(HtmlUnitContextFactory.java:116) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.makeContext(HtmlUnitContextFactory.java:138) at org.mozilla.javascript.Context.enter(Context.java:404) at org.mozilla.javascript.Context.call(Context.java:500) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.initialize(JavaScriptEngine.java:136) at com.gargoylesoftware.htmlunit.WebClient.initialize(WebClient.java:1118) at com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:93) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:233) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:438) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:383) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:368) at test4_htmlunit.Ex_htmlunit.search(Ex_htmlunit.java:32) at test4_htmlunit.Ex_htmlunit.main(Ex_htmlunit.java:118)
    No Bugmate found.