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

Applets throws unwanted exceptions on refreshing the mozilla/firefox browser window

XMLWordPrintable

    • generic
    • linux

      Tested Build : build 1.6.0-b66 and pit build
      Build Location : /net/sqesvr-nfs.sfbay/global/nfs/deployment5/pit_builds

      Build Location : /net/koori/onestop/jdk/1.6.0/latest
      OS/Machines : DNM-011(winxp professional), windows-64(winxp professional), JITENDER(winxp home), paris2(Linux ADS3.0), jd-sqe01(linux ADS4.0), kgb(solaris10)

      Problem description:
      Different applets throws any of the following exception when Refresh button is pressed

      (mainly on unix platforms)
      java.lang.NullPointerException
      at sun.plugin.viewer.MNetscapePluginObject.setParameter(Unknown Source)
      at sun.plugin.viewer.MNetscapePluginObject.setFrameSize(Unknown Source)
      at sun.plugin.viewer.MNetscapePluginObject.appletStateChanged(Unknown Source)
      at sun.applet.AppletEventMulticaster.appletStateChanged(Unknown Source)
      at sun.applet.AppletPanel.dispatchAppletEvent(Unknown Source)
      at sun.applet.AppletPanel.runLoader(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      OR
      (mainly on unix platforms)
      Exception in thread "AWT-EventQueue-10" java.lang.NullPointerException
      at sun.awt.X11.XButtonPeer.paintText(Unknown Source)
      at sun.awt.X11.XButtonPeer.paint(Unknown Source)
      at sun.awt.X11.XButtonPeer.paint(Unknown Source)
      at sun.awt.X11.XWindow.repaint(Unknown Source)
      at sun.awt.X11.XButtonPeer.focusLost(Unknown Source)
      at sun.awt.X11.XComponentPeer.handleJavaFocusEvent(Unknown Source)
      at sun.awt.X11.XComponentPeer.handleEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
      at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at sun.awt.X11.XWindow$1.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      OR
      (mainly on unix platforms)
      Exception in thread "AWT-EventQueue-69" java.util.NoSuchElementException
      at java.util.LinkedList.getFirst(Unknown Source)
      at java.awt.SequencedEvent.getFirst(Unknown Source)
      at java.awt.SequencedEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Sourc

      OR
      (Mainly on windows)
      Exception in thread "AWT-EventQueue-1" 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.SequencedEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Steps to reproduce:
      1) Load the following applet inside the mozilla browser
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/applet_communication/static_var/test3/applet_frame.html
      2)Invoke Java console
      3) Press Refresh button on browser repeatedly
      4) Click on Java console and click back on applet window, if you notice any of the above mentioned exception on the java console then the bug is reporduced
      Tested Build : build 1.6.0-b66 and pit build
      Build Location : /net/sqesvr-nfs.sfbay/global/nfs/deployment5/pit_builds

      Build Location : /net/koori/onestop/jdk/1.6.0/latest
      OS/Machines : DNM-011(winxp professional), windows-64(winxp professional), JITENDER(winxp home), paris2(Linux ADS3.0), jd-sqe01(linux ADS4.0), kgb(solaris10)

      Problem description:
      Different applets throws any of the following exception when Refresh button is pressed

      (mainly on unix platforms)
      java.lang.NullPointerException
      at sun.plugin.viewer.MNetscapePluginObject.setParameter(Unknown Source)
      at sun.plugin.viewer.MNetscapePluginObject.setFrameSize(Unknown Source)
      at sun.plugin.viewer.MNetscapePluginObject.appletStateChanged(Unknown Source)
      at sun.applet.AppletEventMulticaster.appletStateChanged(Unknown Source)
      at sun.applet.AppletPanel.dispatchAppletEvent(Unknown Source)
      at sun.applet.AppletPanel.runLoader(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      OR
      (mainly on unix platforms)
      Exception in thread "AWT-EventQueue-10" java.lang.NullPointerException
      at sun.awt.X11.XButtonPeer.paintText(Unknown Source)
      at sun.awt.X11.XButtonPeer.paint(Unknown Source)
      at sun.awt.X11.XButtonPeer.paint(Unknown Source)
      at sun.awt.X11.XWindow.repaint(Unknown Source)
      at sun.awt.X11.XButtonPeer.focusLost(Unknown Source)
      at sun.awt.X11.XComponentPeer.handleJavaFocusEvent(Unknown Source)
      at sun.awt.X11.XComponentPeer.handleEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
      at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at sun.awt.X11.XWindow$1.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      OR
      (mainly on unix platforms)
      Exception in thread "AWT-EventQueue-69" java.util.NoSuchElementException
      at java.util.LinkedList.getFirst(Unknown Source)
      at java.awt.SequencedEvent.getFirst(Unknown Source)
      at java.awt.SequencedEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Sourc

      OR
      (Mainly on windows)
      Exception in thread "AWT-EventQueue-1" 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.SequencedEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Steps to reproduce:
      1) Load the following applet inside the mozilla browser
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/applet_communication/static_var/test3/applet_frame.html
      2)Invoke Java console
      3) Press Refresh button on browser repeatedly
      4) Click on Java console and click back on applet window, if you notice any of the above mentioned exception on the java console then the bug is reporduced

            vdrozdov Victor Drozdov (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: