java.lang.RuntimeException: com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 /jira/secure/nullerrorGadget.html [http://localhost:1990/jira/secure/nullerrorGadget.html]

Atlassian JIRA | David Chui [Atlassian] | 8 years ago
  1. 0

    See https://bamboo.developer.atlassian.com/browse/VOTE-TRUNK-24/test/it.com.atlassian.jira.plugin.votersAndWatchers.VotersAndWatchersTestCase A snippet {noformat} java.lang.RuntimeException: com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 /jira/secure/nullerrorGadget.html [http://localhost:1990/jira/secure/nullerrorGadget.html] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:567) at com.meterware.httpunit.WebClient.updateClient(WebClient.java:445) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:108) at com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:230) at com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:457) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:143) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112) at net.sourceforge.jwebunit.HttpUnitDialog.<init>(HttpUnitDialog.java:48) at net.sourceforge.jwebunit.WebTester.beginAt(WebTester.java:55) at net.sourceforge.jwebunit.WebTestCase.beginAt(WebTestCase.java:46) at com.atlassian.jira.webtests.JIRAWebTest.jiraSetup(JIRAWebTest.java:496) at com.atlassian.jira.webtests.JIRAWebTest.init(JIRAWebTest.java:532) at com.atlassian.jira.webtests.JIRAWebTest.setUp(JIRAWebTest.java:521) at it.com.atlassian.jira.plugin.votersAndWatchers.VotersAndWatchersTestCase.setUp(VotersAndWatchersTestCase.java:29) {noformat} Plugin tests are failing due to this, I believe.

    Atlassian JIRA | 8 years ago | David Chui [Atlassian]
    java.lang.RuntimeException: com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 /jira/secure/nullerrorGadget.html [http://localhost:1990/jira/secure/nullerrorGadget.html]
  2. 0

    See https://bamboo.developer.atlassian.com/browse/VOTE-TRUNK-24/test/it.com.atlassian.jira.plugin.votersAndWatchers.VotersAndWatchersTestCase A snippet {noformat} java.lang.RuntimeException: com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 /jira/secure/nullerrorGadget.html [http://localhost:1990/jira/secure/nullerrorGadget.html] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:567) at com.meterware.httpunit.WebClient.updateClient(WebClient.java:445) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:108) at com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:230) at com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:457) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:143) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112) at net.sourceforge.jwebunit.HttpUnitDialog.<init>(HttpUnitDialog.java:48) at net.sourceforge.jwebunit.WebTester.beginAt(WebTester.java:55) at net.sourceforge.jwebunit.WebTestCase.beginAt(WebTestCase.java:46) at com.atlassian.jira.webtests.JIRAWebTest.jiraSetup(JIRAWebTest.java:496) at com.atlassian.jira.webtests.JIRAWebTest.init(JIRAWebTest.java:532) at com.atlassian.jira.webtests.JIRAWebTest.setUp(JIRAWebTest.java:521) at it.com.atlassian.jira.plugin.votersAndWatchers.VotersAndWatchersTestCase.setUp(VotersAndWatchersTestCase.java:29) {noformat} Plugin tests are failing due to this, I believe.

    Atlassian JIRA | 8 years ago | David Chui [Atlassian]
    java.lang.RuntimeException: com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 /jira/secure/nullerrorGadget.html [http://localhost:1990/jira/secure/nullerrorGadget.html]
  3. 0

    Currently, OAuth is adding WWW-Authenticate headers to all responses. This has the effect that it breaks func tests since they will try to authenticate regardless of whether or not the response is a 401: {noformat} java.lang.RuntimeException: com.meterware.httpunit.AuthorizationRequiredException: OAuth authentication required: realm="http%3A%2F%2Flocalhost%3A18291%2Fatlassian-jira" at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:563) at com.meterware.httpunit.WebClient.updateClient(WebClient.java:445) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118) at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112) at net.sourceforge.jwebunit.HttpUnitDialog.<init>(HttpUnitDialog.java:48) at net.sourceforge.jwebunit.WebTester.beginAt(WebTester.java:55) at net.sourceforge.jwebunit.WebTestCase.beginAt(WebTestCase.java:46) at com.atlassian.jira.webtests.JIRAWebTest.jiraSetup(JIRAWebTest.java:507) at com.atlassian.jira.webtests.JIRAWebTest.init(JIRAWebTest.java:543) at com.atlassian.jira.webtest.selenium.JiraSeleniumTest.getWebUnitTest(JiraSeleniumTest.java:142) at com.atlassian.jira.webtest.selenium.JiraSeleniumTest.restoreI18nData(JiraSeleniumTest.java:86) at com.atlassian.jira.webtest.selenium.misc.Test500Page.onSetUp(Test500Page.java:29) at com.atlassian.selenium.SeleniumTest.setUp(SeleniumTest.java:48) at com.atlassian.cargotestrunner.SingleThreadedCargoWebTest.run(SingleThreadedCargoWebTest.java:59) at com.atlassian.cargotestrunner.MultiThreadedTestSuite$1.run(MultiThreadedTestSuite.java:22) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) at java.lang.Thread.run(Thread.java:595) {noformat} We should probably change the behaviour to only add the authenticate header on 401 responses.

    Ecosystem JIRA | 7 years ago | Andreas Knecht
    java.lang.RuntimeException: com.meterware.httpunit.AuthorizationRequiredException: OAuth authentication required: realm="http%3A%2F%2Flocalhost%3A18291%2Fatlassian-jira"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    httpunit-1.6 package is not work

    Google Groups | 1 decade ago | NOVA
    java.lang.RuntimeException: No HTML parser found. Make sure that either nekoHTML.jar or Tidy.jar is in the in classpath
  6. 0

    Bug 345714 – [server] 87 errors and 1 failure in tests, No protocol specified in URL '/workspace/A'

    eclipse.org | 11 months ago
    java.lang.RuntimeException: No protocol specified in URL '/workspace/A'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 /jira/secure/nullerrorGadget.html [http://localhost:1990/jira/secure/nullerrorGadget.html]

      at com.meterware.httpunit.WebClient.validateHeaders()
    2. HttpUnit
      WebClient.getResponse
      1. com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:567)
      2. com.meterware.httpunit.WebClient.updateClient(WebClient.java:445)
      3. com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136)
      4. com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
      5. com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:108)
      6. com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:230)
      7. com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:457)
      8. com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:143)
      9. com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
      10. com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
      11. com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141)
      12. com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
      13. com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
      14. com.meterware.httpunit.WebClient.getResponse(WebClient.java:112)
      14 frames
    3. net.sourceforge.jwebunit
      WebTestCase.beginAt
      1. net.sourceforge.jwebunit.HttpUnitDialog.<init>(HttpUnitDialog.java:48)
      2. net.sourceforge.jwebunit.WebTester.beginAt(WebTester.java:55)
      3. net.sourceforge.jwebunit.WebTestCase.beginAt(WebTestCase.java:46)
      3 frames
    4. com.atlassian.jira
      JIRAWebTest.setUp
      1. com.atlassian.jira.webtests.JIRAWebTest.jiraSetup(JIRAWebTest.java:496)
      2. com.atlassian.jira.webtests.JIRAWebTest.init(JIRAWebTest.java:532)
      3. com.atlassian.jira.webtests.JIRAWebTest.setUp(JIRAWebTest.java:521)
      3 frames
    5. it.com.atlassian
      VotersAndWatchersTestCase.setUp
      1. it.com.atlassian.jira.plugin.votersAndWatchers.VotersAndWatchersTestCase.setUp(VotersAndWatchersTestCase.java:29)
      1 frame