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

Merlinb70:BrowserTestSuite;IllegalArgumentException in SwingSetApplet on Win2000

XMLWordPrintable

    • x86
    • windows_2000

      java.lang.IllegalArgumentException is occuring in "OptionPaneDemo" of "SwingSetApplet" in "BrowserTestSuite". The exception occurs on both IE5 and NS4.x browsers.

      This occurs only on Win2000 Prof. system.

      This exception is NOT raised if the same applet is launched in Appletviewer. This is true for both Merlinb70 and Merlinb71.
       

      Steps to Reproduce:
      ===================
      1) Launch BrowserTestSuite from javaweb.eng/~edlou/BrowserTestSuite/Suite/QLindex.html
      2) Click on the link "SwingSetApplet(1)" under "QuicklookTest"
      3) After the applet launches, click on the "JOptionPane Demo" button on the toolbar.
      4) Click on the "Show Input Dialog" button.
      5) Hit "Cancel" to close the dialog which opens.
      6) Now click the "Show Warning Dialog" button.
      On doing so the following Exception is raised on the Java Console:

      java.lang.IllegalArgumentException: null source
      at java.util.EventObject.<init>(Unknown Source)
      at java.awt.AWTEvent.<init>(Unknown Source)
      at java.awt.event.ComponentEvent.<init>(Unknown Source)
      at java.awt.event.WindowEvent.<init>(Unknown Source)
      at java.awt.event.WindowEvent.<init>(Unknown Source)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.SentEvent.dispatch(Unknown Source)
              .
              .
              .

      The above exception is raised with Merlinb70.

      Whereas if the above steps are repeated with Merlinb71 on Win2k Prof. on IE5 or NS4.x browsers the foll. exception is raised on Java Console:

      java.lang.IllegalArgumentException: null source
      at java.util.EventObject.<init>(EventObject.java:37)
      at java.awt.AWTEvent.<init>(AWTEvent.java:228)
      at java.awt.event.ComponentEvent.<init>(ComponentEvent.java:97)
      at java.awt.event.WindowEvent.<init>(WindowEvent.java:178)
      at java.awt.event.WindowEvent.<init>(WindowEvent.java:215)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:511)
      at java.awt.Component.dispatchEventImpl(Component.java:3379)
      at java.awt.Container.dispatchEventImpl(Container.java:1440)
      at java.awt.Window.dispatchEventImpl(Window.java:1531)
      at java.awt.Component.dispatchEvent(Component.java:3349)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
      at java.awt.SentEvent.dispatch(SentEvent.java:53)
              .
              .
              .

      ruchika.mehdiratta@Eng 2001-07-12

            son Oleg Sukhodolsky (Inactive)
            rmehdirasunw Ruchika Mehdiratta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: