Skip to main content

NullpointerException in AnimationPanel

1 reply [Last post]
linuxhippy
Offline
Joined: 2004-01-07

Hello,

I see stacktraces which look like the submitted one from time to time on my Linux box (with the new and the old plugin):

<br />
  at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)<br />
  at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)<br />
  at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)<br />
  at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)<br />
  at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)<br />
  at sun.plugin.util.AnimationPanel.run(Unknown Source)<br />
  at java.lang.Thread.run(Unknown Source)<br />

It works without any problems so it is only cosmetic.

I searched a bit in the bug-database and a guy with Vista also had the "problem" above in 6640797. However looking at the code the only possible problem is as far as I can imagine that the return GraphicsConfiguration is null?

lg Clemens

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kbr
Offline
Joined: 2003-06-16

You're right, these exceptions are only cosmetic. This code isn't completely thread safe. Some of the gray box-related exceptions have been cleaned up under 6648922, in particular a few which would actually cause the applet to not work.