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

via GitHub by jeffersd
, 2 years ago
Exception invoking setHref
via htmlunit by verylittleyoda
, 1 year ago
Exception invoking replace
via Stack Overflow by toom
, 2 years ago
via Stack Overflow by Agolson
, 2 years ago
via Stack Overflow by Yatendra Goel
, 7 months ago
via Stack Overflow by T.Rilla
, 10 months ago
Exception invoking open
java.lang.NullPointerException: 	at org.cyberneko.html.HTMLElements.getElement(HTMLElements.java:523)	at org.cyberneko.html.HTMLElements.getElement(HTMLElements.java:512)	at org.cyberneko.html.HTMLTagBalancer.getElement(HTMLTagBalancer.java:1123)	at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:977)	at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:717)	at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:136)	at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:278)	at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2633)	at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2008)	at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:895)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:765)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseFragment(HTMLParser.java:147)	at com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.parseHtmlSnippet(HTMLElement.java:922)	at com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.jsxSet_innerHTML(HTMLElement.java:846)	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:172)	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putImpl(ScriptableObject.java:2470)	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:360)	at net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putProperty(ScriptableObject.java:2075)	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1626)	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1616)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1408)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:845)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:269)	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3162)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:490)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:595)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:499)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:474)	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:880)	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:312)	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:379)	at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:225)	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:245)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:578)	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:536)	at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1136)	at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1038)	at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)	at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)	at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:2999)	at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1991)	at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:895)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:765)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:211)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:165)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:225)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:108)	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:429)	at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2127)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:627)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:560)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:524)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:595)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:531)	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:906)	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob.runJavaScript(JavaScriptFunctionJob.java:53)	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutionJob.run(JavaScriptExecutionJob.java:84)	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runJob(JavaScriptJobManagerImpl.java:226)	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:307)	at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutor.run(JavaScriptExecutor.java:182)	at java.lang.Thread.run(Thread.java:662)