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

Dominoes applet is failing with 1.5.0_05-b02 whereas applet is passing with 1.5.0_04-b05

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      Dominoes applet from http://www.gamesville.com is failing to load with 1.5.0_05-b02 whereas same applet loaded with 1.5.0_04-b05 on JDS(Build38)-Cinnabar. It is failing with both mozilla and firefox on 1.5.0_05 with different exceptions. This is regression from 1.5.0_04 to 1.5.0_05. I couldn't reproduce it because I don't have off SWAN setup in IEC.

      This bug is found by Applabs which is the company where we outsourced our applet testing.

      How to Reproduce:
      -----------------
      Install the jre and make sure browser looks at the right plugin and follow following steps,

      1. Go to URL provided. http://www.gamesville.com
      (Gamesville - Dominoes)
      2. Login as user 'xxx' with password 'xxx'(Create a userid or run as guest also)
      3. Under "Board", click the 'Dominoes' link.
      4. Select a room from the 'Social' or 'Rated' games.
      5. Review the instructions provided if desired.
      6. Play the game testing all features and functionality.
      7. Attempt to resize the applet/browser window.
      8. Return to the lobby and watch a game in progress.
      9. Choose 'Quit Games' to leave the lobby.
      10. Start the lobby again and watch a game in progress again.
      11. Leave then close all applet/browser windows to terminate the applet.
      12. Check the Java Console for warnings/errors.

      With 1.5.0_05:
      ===============

       >> With Mozilla:
      ---------------------
      ready to play
      server connection closed
      Exception in thread "Client Connection Thread - BoardApplet" java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
       at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
       at java.security.AccessController.checkPermission(AccessController.java:427)
       at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
       at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:138)
       at java.lang.Thread.checkAccess(Thread.java:1218)
       at java.lang.Thread.setName(Thread.java:1001)
       at Dominoes.v0506222040.Timer.a(Unknown Source)
       at Dominoes.v0506222040.TimerHolder.a(Unknown Source)
       at Dominoes.v0506222040.CasualLite.for(Unknown Source)
       at Dominoes.v0506222040.Casual.for(Unknown Source)
       at Dominoes.v0506222040.ClientConnection.a(Unknown Source)
       at Dominoes.v0506222040.CasualLite.timerException(Unknown Source)
       at Dominoes.v0506222040.ClientConnection.run(Unknown Source)

        >> With Firefox:
      -------------------

      liveconnect: JavaScript: calling Java system code
      liveconnect: JavaScript: default security policy = http://fun8.gamesville.lycos.com
      Exception in thread "AWT-EventQueue-5" java.lang.NullPointerException
       at Dominoes.v0506222040.HighlightButton.eC(Unknown Source)
       at Dominoes.v0506222040.HighlightButton.mouseExited(Unknown Source)
       at java.awt.Component.processMouseEvent(Component.java:5494)
       at java.awt.Component.processEvent(Component.java:5253)
       at java.awt.Container.processEvent(Container.java:1966)
       at java.awt.Component.dispatchEventImpl(Component.java:3955)
       at java.awt.Container.dispatchEventImpl(Container.java:2024)
       at java.awt.Component.dispatchEvent(Component.java:3803)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      liveconnect: the url of the applet is http://fun8.gamesville.lycos.com and the permission is = false
      liveconnect: JSObject::call: name=openAppletWindow

      With 1.5.0_04:
      ==============

      No Exceptions. Able to play the game without any problem.


      ###@###.### 2005-07-08 15:23:13 GMT

        Attachments

          Activity

            People

            Assignee:
            mleisunw Mike Lei (Inactive)
            Reporter:
            skantesunw Srilatha Kante (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: