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

java.lang.InternalError- HTHEME is null

XMLWordPrintable

    • x86
    • windows_xp

      When running the test case for 24 hours continuously, there are java.lang.InternalError- HTHEME is null exceptions thrown on the Java console. At this time, the exception doesn't seem to affect the functionality of the test case and the test can be run completely in 24 hours. Nevertheless, this exception should be examined and cleaned up.

      The test case is to use Internet Explorer to repeatedly open and close an applet page using JavaScript. The page is loaded by JavaScript and the repeating period is around 5 seconds.

      Tested Configuration: XP-pro(sp2)
             Browser: Internet Explorer 6.0
             java build: jre 1.5.0_14-b03

      Steps to reproduce:
      ------------------
      1) Get the attached <TC04-01.tar> file
      2) Follow steps in <howtorun.txt> to launch the test
      3) Keep the test running for 24-hour period


      The test can run for 24 hours and the exception below thrown on the Java console:

      **************************************************************************************
      Java Plug-in 1.5.0_14
      Using JRE version 1.5.0_14 Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\dtftest


      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------

      Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)
      at com.sun.java.swing.plaf.windows.WindowsScrollBarUI.paintThumb(Unknown Source)
      at javax.swing.plaf.basic.BasicScrollBarUI.paint(Unknown Source)
      at javax.swing.plaf.ComponentUI.update(Unknown Source)
      at javax.swing.JComponent.paintComponent(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JLayeredPane.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
      at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
      at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
      at java.awt.Container.paint(Unknown Source)
      at sun.awt.RepaintArea.paintComponent(Unknown Source)
      at sun.awt.RepaintArea.paint(Unknown Source)
      at sun.awt.windows.WComponentPeer.handleEvent(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.EventDispatchThread.pumpOneEventForHierarchy(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)
      Exception in thread "AWT-EventQueue-1" java.lang.InternalError: HTHEME is null
      at sun.awt.windows.ThemeReader.paintBackground(Native Method)
      at sun.awt.windows.ThemeReader.paintBackground(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.paintToImage(Unknown Source)
      at sun.swing.CachedPainter.paint0(Unknown Source)
      at sun.swing.CachedPainter.paint(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.WindowsScrollBarUI.paintThumb(Unknown Source)
      at javax.swing.plaf.basic.BasicScrollBarUI.paint(Unknown Source)
      at javax.swing.plaf.ComponentUI.update(Unknown Source)
      at javax.swing.JComponent.paintComponent(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      at javax.swing.JComponent._paintImmediately(Unknown Source)
      at javax.swing.JComponent.paintImmediately(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Exception in thread "AWT-EventQueue-1" Exception in thread "AWT-EventQueue-1" java.lang.InternalError: HTHEME is null
      at sun.awt.windows.ThemeReader.paintBackground(Native Method)
      at sun.awt.windows.ThemeReader.paintBackground(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.paintToImage(Unknown Source)
      at sun.swing.CachedPainter.paint0(Unknown Source)
      at sun.swing.CachedPainter.paint(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.WindowsScrollBarUI.paintTrack(Unknown Source)
      at javax.swing.plaf.basic.BasicScrollBarUI.paint(Unknown Source)
      at javax.swing.plaf.ComponentUI.update(Unknown Source)
      at javax.swing.JComponent.paintComponent(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      at javax.swing.JComponent._paintImmediately(Unknown Source)
      at javax.swing.JComponent.paintImmediately(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      java.lang.InternalError: HTHEME is null
      at sun.awt.windows.ThemeReader.paintBackground(Native Method)
      at sun.awt.windows.ThemeReader.paintBackground(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.paintToImage(Unknown Source)
      at sun.swing.CachedPainter.paint0(Unknown Source)
      at sun.swing.CachedPainter.paint(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.WindowsScrollBarUI.paintThumb(Unknown Source)
      at javax.swing.plaf.basic.BasicScrollBarUI.paint(Unknown Source)
      at javax.swing.plaf.ComponentUI.update(Unknown Source)
      at javax.swing.JComponent.paintComponent(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      at javax.swing.JComponent._paintImmediately(Unknown Source)
      at javax.swing.JComponent.paintImmediately(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Exception in thread "AWT-EventQueue-1" java.lang.InternalError: HTHEME is null
      at sun.awt.windows.ThemeReader.paintBackground(Native Method)
      at sun.awt.windows.ThemeReader.paintBackground(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.paintToImage(Unknown Source)
      at sun.swing.CachedPainter.paint0(Unknown Source)
      at sun.swing.CachedPainter.paint(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
      at com.sun.java.swing.plaf.windows.WindowsScrollBarUI.paintThumb(Unknown Source)
      at javax.swing.plaf.basic.BasicScrollBarUI.paint(Unknown Source)
      at javax.swing.plaf.ComponentUI.update(Unknown Source)
      at javax.swing.JComponent.paintComponent(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintChildren(Unknown Source)
      at javax.swing.JComponent.paint(Unknown Source)
      at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      at javax.swing.JComponent._paintImmediately(Unknown Source)
      at javax.swing.JComponent.paintImmediately(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      ......
      ......

      *****************************************************************************************

            robm Robert Mckenna
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: