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

Demo SwingApplet is thrown IllegalArgumentException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: mmR10223 Date: 03/21/2003



      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b18
      Platform[s] : Sparc Solaris 2.8 (CDE)

      IllegalArgumentException while working with several appletviewers

      how to reproduce:
      run appletviewer SwingApplet.html
      choose Menu->Applet->Clone; the second applet viewer appears
      choose Menu->Applet->Reload in the second applet viewer window
      choose Menu->Applet->Reload in the second applet viewer once again
      the second viewer disappears, the first viewer hangs and if you
      move your mouse over it the IllegalArgumentException is thrown

      java.lang.IllegalArgumentException: null source
           at java.util.EventObject.<init>(EventObject.java:34)
      at java.awt.AWTEvent.<init>(AWTEvent.java:225)
      at java.awt.event.ComponentEvent.<init>(ComponentEvent.java:94)
      at java.awt.event.WindowEvent.<init>(WindowEvent.java:174)
      at java.awt.event.WindowEvent.<init>(WindowEvent.java:211)
      at
      java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.j
      ava:576)
      at java.awt.Component.dispatchEventImpl(Component.java:3505)
      at java.awt.Container.dispatchEventImpl(Container.java:1627)
      at java.awt.Window.dispatchEventImpl(Window.java:1606)
      at java.awt.Component.dispatchEvent(Component.java:3476)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      at java.awt.SentEvent.dispatch(SentEvent.java:50)
      at
      java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispat
      ch(DefaultKeyboardFocusManager.java:145)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
      at
      java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:2
      01)
      at
      java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151
      )
      at
      java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      at
      java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      at
      java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


      Test source location:
      =====================
      /net/linux-15/export/home/jdk1.4.2/solsparc/demo/jfc/SwingApplet/SwingApplet.jar

      How to reproduce:
      =================
      0. Run the following script (you may need to change it's variables)

      --- script start ---
      #!/bin/bash
      JDK="/net/jdk/export/disk8/local.java/jdk1.4.2/solsparc"
      cd $JDK/demo/jfc/SwingApplet
      $JDK/bin/appletviewer SwingApplet.html
      --- script end ---


      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zgu Zhengyu Gu
              Reporter:
              mmvsunw Mmv Mmv (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: