-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
6u10
-
x86
-
windows
Applet throws NPE and Array Index out of Exception in both Plugin ( OOP and old) on Vista.
Applet URL : http://java.sun.com/products/java-media/2D/samples/suite/Fonts/AllFonts.html
Work around : Minimize and maximize browser. Applet will be displayed.
Exception from OOP :
Exception in thread "Thread-6" java.lang.NullPointerException
at sun.plugin.util.AnimationPanel.createTranslucentImage(AnimationPanel.java:231)
at sun.plugin.util.AnimationPanel.createGradientShapeImage(AnimationPanel.java:243)
at sun.plugin.util.AnimationPanel.initBackground(AnimationPanel.java:319)
at sun.plugin.util.AnimationPanel.preloadResources(AnimationPanel.java:508)
at sun.plugin.util.AnimationPanel.doPaint(AnimationPanel.java:564)
at sun.plugin.util.AnimationPanel.run(AnimationPanel.java:1062)
at java.lang.Thread.run(Unknown Source)
Exception from Old Plugin :
Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at java.util.Vector.get(Unknown Source)
at AllFonts$Demo.reset(AllFonts.java:98)
at AllFonts$Demo.createGraphics2D(AllFonts.java:147)
at AllFonts$Demo.paint(AllFonts.java:161)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1426)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1357)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
at javax.swing.RepaintManager.paint(RepaintManager.java:1172)
at javax.swing.JComponent.paint(JComponent.java:1013)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1797)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Applet URL : http://java.sun.com/products/java-media/2D/samples/suite/Fonts/AllFonts.html
Work around : Minimize and maximize browser. Applet will be displayed.
Exception from OOP :
Exception in thread "Thread-6" java.lang.NullPointerException
at sun.plugin.util.AnimationPanel.createTranslucentImage(AnimationPanel.java:231)
at sun.plugin.util.AnimationPanel.createGradientShapeImage(AnimationPanel.java:243)
at sun.plugin.util.AnimationPanel.initBackground(AnimationPanel.java:319)
at sun.plugin.util.AnimationPanel.preloadResources(AnimationPanel.java:508)
at sun.plugin.util.AnimationPanel.doPaint(AnimationPanel.java:564)
at sun.plugin.util.AnimationPanel.run(AnimationPanel.java:1062)
at java.lang.Thread.run(Unknown Source)
Exception from Old Plugin :
Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at java.util.Vector.get(Unknown Source)
at AllFonts$Demo.reset(AllFonts.java:98)
at AllFonts$Demo.createGraphics2D(AllFonts.java:147)
at AllFonts$Demo.paint(AllFonts.java:161)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1426)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1357)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
at javax.swing.RepaintManager.paint(RepaintManager.java:1172)
at javax.swing.JComponent.paint(JComponent.java:1013)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1797)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
- relates to
-
JDK-6640784 ArrayIndexOutOfBoundsException when refresh my applet running from browser
-
- Closed
-