Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8113134

testLoadUrlWithEncodedSpaces, testLoadUrlWithUnencodedSpaces fail if Skype is running

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      Hi Vasiliy,

      I think I found the reason - Skype is listening on port 80, if I close it, the tests pass. So I will just close the Skype when I run the tests :-)

      Thank you for your help,
      Eva

      On 25.5.2011 19:16, Vasiliy Baranov wrote:
      > Hi Eva,
      >
      > Thank you for the problem report.
      >
      > Unfortunately, I don't have a quick solution for this problem other than ignoring or otherwise disabling these test cases. The failures do look configuration-dependent, but at the same time they seem to uncover problems in shippable code. We will need to look into them thoroughly in order to get to the root cause(s). One complicating factor here is that so far your environment is the only one where these failures are reproducible.
      >
      > May I ask you a few questions?
      >
      > What is your operating system?
      >
      > Are you running a firewall and, if yes, which one?
      >
      > What happens if you point your browser to http://localhost?
      >
      > Do you think these failures are a blocking issue and so the tests must be either fixed or removed immediately?
      >
      > Thank you,
      > -- Vasiliy
      >
      > On 25.05.2011 20:28, Eva Krejcirova wrote:
      >> Hi Vasiliy,
      >>
      >> recently introduced testLoadUrlWithUnencodedSpaces and
      >> testLoadUrlWithUnencodedSpaces in
      >> javafx-ui-webnode/test/javafx/scene/web/LoadTest.java fail for me on my
      >> computer with following error:
      >>
      >> [junit] java.lang.AssertionError: Unknown network error 0
      >> [junit] at
      >> javafx.scene.web.LoadListenerClientImpl.describeError(LoadListenerClientImpl.java:66)
      >>
      >> [junit] at
      >> javafx.scene.web.LoadListenerClientImpl$LoadTask.configure(LoadListenerClientImpl.java:107)
      >>
      >> [junit] at
      >> javafx.scene.web.LoadListenerClientImpl.dispatchLoadEvent(LoadListenerClientImpl.java:40)
      >>
      >> [junit] at
      >> com.sun.webpane.platform.WebPage.fireLoadEvent(WebPage.java:2094)
      >> [junit] at
      >> com.sun.webpane.platform.WebPage.fwkFireLoadEvent(WebPage.java:1914)
      >> [junit] at
      >> com.sun.webpane.webkit.network.URLProcessor.headerCallback(Native Method)
      >> [junit] at
      >> com.sun.webpane.webkit.network.URLProcessor.access$100(URLProcessor.java:19)
      >>
      >> [junit] at
      >> com.sun.webpane.webkit.network.URLProcessor$1.run(URLProcessor.java:55)
      >> [junit] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      >> [junit] at
      >> com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
      >> [junit] at
      >> com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
      >> [junit] at java.lang.Thread.run(Thread.java:662)
      >> [junit] ------------- ---------------- ---------------
      >> [junit] Testcase: testLoadUrlWithEncodedSpaces(javafx.scene.web.LoadTest):
      >> FAILED
      >> [junit] Waiting timed out
      >> [junit] junit.framework.AssertionFailedError: Waiting timed out
      >> [junit] at javafx.scene.web.TestBase.wait(TestBase.java:149)
      >> [junit] at javafx.scene.web.TestBase.load(TestBase.java:74)
      >> [junit] at
      >> javafx.scene.web.LoadTest.testLoadUrlWithEncodedSpaces(LoadTest.java:103)
      >> [junit]
      >> [junit]
      >> [junit] Testcase:
      >> testLoadUrlWithUnencodedSpaces(javafx.scene.web.LoadTest):
      >> FAILED
      >>
      >> Do you please have any advice on how to solve this? (I suppose that this
      >> may be some configuration problem on my side, since the hudson builds
      >> are ok).
      >>
      >> Thanks,
      >> Eva
      >

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vbaranov Vasiliy Baranov (Inactive)
                Reporter:
                vbaranov Vasiliy Baranov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: