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

Exception thrown inside the destroy/stop makes browser to hang if exception property is set to true

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 5.0u7, 6
    • deploy
    • None
    • b85
    • generic, x86
    • generic, windows_2000, windows_xp
    • Verified

        Build : build 1.6.0-b78
        Build Location : /net/koori/onestop/jdk/1.6.0/latest
        OS/Machines : DNM-011(winxp professional), Honkong(winxp home)

        Problem description:
        If property "deployment.javapi.lifecycle.exception" is set to true then the exception
        thrown inside the destory or stop method of an applet hangs the browser. One is unable
        to access the browser once the "Error - Java"/"Application Error" pop-up window is disposed. IE window cannot be accessed using mouse while one is able to send keyboards events to it but for mozilla and firefox one is able to send neither mouse nor keyboard events.

        Steps to reproduce:
        1) Install 1.6.0 or any 1.5.0 build
        2) Load the following applet inside IE, mozilla or firefox browser
        http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/exceptionTest/AUEStopException.html 3) Invoke Java console
        4) Try to switch the page
        5) You can notice that exception is getting thrown, but you are able to access the browser using keyboard and mouse
        6) Close the browser session
        7) Invoke JCP > Advanced Tab and select "Show Applet lifecycle exceptions"
        Click Apply and OK. Make sure that deployment.javapi.lifecycle.exception is set to true
        inside the deployment.properties file
        8) Repeat #2,#3,#4.
        9) "Error - Java" or "Application Error", pop-up should be there. Click OK on the pop-up to dispose the error dialog window
        10) If browser is not accessible via mouse(firefox and mozilla they will also not be
        accessible via keyboard), then the bug is reproduced

              jchusunw Jacky Chu (Inactive)
              jijising Jitender Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: