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

SwingSet2 demo throws IllegalArgumentException in Plugin only

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      When SwingSet2 Demo is run in a Java Plugin-enabled browser with Merlin Build81, throws IllegalArgumentException. This exception is not thrown when run on command-line, as stand-alone application. I suspect this may be a Plugin specific only.

      To reproduce the problem:
      1. Install JRE Merlin B81
      2. Load the following applet in Netscape/IE:
         http://javaweb.sfbay.sun.com/~vijayy/BrowserTestSuite/Suite/QLhtml/1/4.html
      3. After loading all the demos, go to JSplitPane demo.
      4. Edit the textfield, associated with "First Component's Minimum Size", with a
         value less than 10.
      5. Press Enter-->Warning Dialog pops up.
      6. Close the warning dialog.
      7. Select any of the checkboxes -- Continuous Layout, One-Touch expandable.
      6. You will see an Exception thrown in the JavaPlugin console.

      This behavior is only on Windows 2000.

      Note : With Merlin-Beta build 65, it is working fine.

      Here is the exception :

      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:521)
      at java.awt.Component.dispatchEventImpl(Component.java:3397)
      at java.awt.Container.dispatchEventImpl(Container.java:1440)
      at java.awt.Window.dispatchEventImpl(Window.java:1568)
      at java.awt.Component.dispatchEvent(Component.java:3368)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
      at java.awt.SentEvent.dispatch(SentEvent.java:53)
      at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:143)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
      at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:176)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:361)
      at java.awt.Component.dispatchEventImpl(Component.java:3397)
      at java.awt.Container.dispatchEventImpl(Container.java:1440)
      at java.awt.Component.dispatchEvent(Component.java:3368)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
      at java.awt.SequencedEvent.dispatch(SequencedEvent.java:108)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)

        Attachments

          Activity

            People

            Assignee:
            mafishersunw Margarita Fisher (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: