com.gargoylesoftware.htmlunit.ScriptException

Wrapped java.lang.IllegalArgumentException: Relative URL must not be null (script in http://ged.capes.gov.br/AgProd/silverstream/pages/pgRelBolsistasProdPesq.html from (10, 9) to (28, 10)#25)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web94

  • via Unknown by Prasath Premkumar,
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.IllegalArgumentException: Relative URL must not be null (script in http://ged.capes.gov.br/AgProd/silverstream/pages/pgRelBolsistasProdPesq.html from (10, 9) to (28, 10)#25) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:437) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:917) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:143) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:156) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:560) at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:1251) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:1255) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1154) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:173) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:331) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:356) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:167) at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(HtmlSubmitInput.java:78) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:148) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:107) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:76) at test4_htmlunit.Ex_htmlunit.search(Ex_htmlunit.java:95) at test4_htmlunit.Ex_htmlunit.main(Ex_htmlunit.java:118) Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: Relative URL must not be null (script in http://ged.capes.gov.br/AgProd/silverstream/pages/pgRelBolsistasProdPesq.html from (10, 9) to (28, 10)#25) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1657) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:176) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:415) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3335) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:170) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:78) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:465) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:430) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522) ... 23 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,