com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 /myglobalmail/dwr/interface/AddressFormater.js for http://localhost:8080/myglobalmail/dwr/interface/AddressFormater.js

htmlunit | javasquall | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Dynamic Javascript: ScriptException 404

    htmlunit | 9 years ago | javasquall
    com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 /myglobalmail/dwr/interface/AddressFormater.js for http://localhost:8080/myglobalmail/dwr/interface/AddressFormater.js

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException

      404 /myglobalmail/dwr/interface/AddressFormater.js for http://localhost:8080/myglobalmail/dwr/interface/AddressFormater.js

      at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl()
    2. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.startElement
      1. com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:845)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:775)
      3. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:229)
      4. com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded(HtmlPage.java:1409)
      5. com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603)
      6. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:406)
      6 frames
    3. Xerces2-j
      AbstractSAXParser.startElement
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      1 frame
    4. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:179)
      2. org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:286)
      3. org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1009)
      4. org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:639)
      5. org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2407)
      6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1881)
      7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809)
      8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
      9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
      9 frames
    5. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    6. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:346)
      2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229)
      3. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:112)
      4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:85)
      5. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:441)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:399)
      7 frames
    7. HtmlUnit Plugin
      HtmlUnitDialog.beginAt
      1. net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.beginAt(HtmlUnitDialog.java:161)
      1 frame
    8. Core - API
      WebTestCase.beginAt
      1. net.sourceforge.jwebunit.junit.WebTester.beginAt(WebTester.java:190)
      2. net.sourceforge.jwebunit.junit.WebTestCase.beginAt(WebTestCase.java:130)
      2 frames
    9. Unknown
      TestMyGlobalMail.testlocalMyGlobalMailCorrespToActivityDiagram
      1. TestMyGlobalMail.testlocalMyGlobalMailCorrespToActivityDiagram(TestMyGlobalMail.java:61)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    11. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      2 frames
    12. Core - API
      WebTestCase.runBare
      1. net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:58)
      1 frame
    13. JUnit
      TestSuite.run
      1. junit.framework.TestResult$1.protect(TestResult.java:110)
      2. junit.framework.TestResult.runProtected(TestResult.java:128)
      3. junit.framework.TestResult.run(TestResult.java:113)
      4. junit.framework.TestCase.run(TestCase.java:124)
      5. junit.framework.TestSuite.runTest(TestSuite.java:232)
      6. junit.framework.TestSuite.run(TestSuite.java:227)
      6 frames
    14. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames