openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00327
[Bug 199732] Re: applet fails to load with nullpointerexception
I am not sure either if setting the height and width for an applet in a stylesheet is correct. A brief read of section 17.3 of the HTML 4.01 spec (http://www.w3.org/TR/html401/struct/objects.html#h-13.7) does seem to clear it up for me. Although I would lean towards saying that the height and width should be set on the tag and not in the stylesheet given the fact that all other attributes that are support via stylesheet are marked depricated.
If setting the height and width in the stylesheet is valid, there still is the issue of accessing that information in the plugin. I did not see anyway the plugin could resolve the stylesheet settings. My C programming is not strong and I am not familiar with Mozilla plugin programming so I may have missed something.
When I get a free moment I will write a test applet to see how the sun plugin reacts to having the height and width in a stylesheet verses not being set at all
--
applet fails to load with nullpointerexception
https://bugs.launchpad.net/bugs/199732
You received this bug notification because you are a member of OpenJDK,
which is subscribed to icedtea-gcjwebplugin in ubuntu.
Status in Source Package "icedtea-gcjwebplugin" in Ubuntu: Confirmed
Bug description:
Binary package hint: icedtea-java7-plugin
I am trying to access an applet from http://www.jigzone.com. The applet fails to load with error:
Exception in thread "main" java.lang.NullPointerException
at sun.applet.PluginMain.start(PluginMain.java:211)
at sun.applet.PluginMain.main(PluginMain.java:73)
I am running Hardy Alpha 6 (firefox3, icedtea-java7). The applet works just fine on my Gutsy box (firefox2, sun6).
I have attached the complete console output
ProblemType: Bug
Architecture: i386
Date: Fri Mar 7 23:13:26 2008
DistroRelease: Ubuntu 8.04
Package: firefox 3.0~b3+nobinonly-0ubuntu4
PackageArchitecture: all
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-11-generic i686