Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.initAsConstructor(FunctionObject.java:334)	at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.addAsConstructor(FunctionObject.java:324)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init(JavaScriptEngine.java:300)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$4(JavaScriptEngine.java:190)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$1.run(JavaScriptEngine.java:162)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:606)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:540)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.initialize(JavaScriptEngine.java:173)	at com.gargoylesoftware.htmlunit.WebClient.initialize(WebClient.java:997)	at com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:141)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:216)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:194)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156)	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:465)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:339)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:404)	at com.gargoylesoftware.htmlunit.SimpleWebTestCase.loadPage(SimpleWebTestCase.java:175)	at com.gargoylesoftware.htmlunit.WebClientTest.NonStandardBrowserVersion(WebClientTest.java:126)