com.gargoylesoftware.htmlunit.ScriptException

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.

  • GWT 1.4 and HtmlUnit 2.1
    via by megid,
  • GWT 1.4 and HtmlUnit 2.1
    via by megid,
  • Error on Test JSF
    via by 843844,
  • YUI 2.6.0 XHR request not working
    via htmlunit by rjhazelwood
    ,
    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot set property "_label" of null to "First Name" (http://www.linkedin.com/js/public_profile.js#1) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:260) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:697) at com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:188) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:455) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:415) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:367) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1015) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:888) at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2831) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:399) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386) at com.tejasoft.pull.names.CollectLinkedInNames.getHtmlPage(CollectLinkedInNames.java:135) at com.tejasoft.pull.names.CollectLinkedInNames.fetchPageAnchors(CollectLinkedInNames.java:130) at com.tejasoft.pull.names.CollectLinkedInNames.extract4thLevel(CollectLinkedInNames.java:101) at com.tejasoft.pull.names.CollectLinkedInNames.extract3rdLevel(CollectLinkedInNames.java:92) at com.tejasoft.pull.names.CollectLinkedInNames.extract2ndLevel(CollectLinkedInNames.java:77) at com.tejasoft.pull.names.CollectLinkedInNames.doLinkCollection(CollectLinkedInNames.java:62) at com.tejasoft.pull.names.CollectLinkedInNames.testLinks(CollectLinkedInNames.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58) at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65) at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot set property "_label" of null to "First Name" (http://www.linkedin.com/js/public_profile.js#1) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3235) at org.mozilla.javascript.ScriptRuntime.typeError3(ScriptRuntime.java:3261) at org.mozilla.javascript.ScriptRuntime.undefWriteError(ScriptRuntime.java:3283) at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1423) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2825) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:255) ... 42 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    JurajiJuraji
    5 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,