IcedTea6-plugin PluginAppletSecurityContext NullPointers

Xerxes Rånby xerxes at zafena.se
Thu Feb 12 01:44:41 PST 2009


Hello oliver!

Oliver May wrote:
> Hi all!
>
> I am having some difficulties with icedtea-6-plugin on debian (armel). 
> I am working on a java applet for communication between a browser 
> (iceweasel) and hardware (gpsd) on the neo freerunner phone.
>
Do you have a url to this applet and its sourcecode? without it it is 
really hard to see whats going on.
It would be great if you happen to have a small testcase based on code 
from the applet that exposes this bug so that it can be fixed properly 
on  ARM armel platforms.
> The problem lies mainly in the communication between the browser and 
> the applet, I am calling java methods from javascript code. Whenever I 
> try to call a method on a java object I get following errors:
>
> java.lang.NullPointerException:
>     at 
> sun.applet.PluginAppletSecurityContext.checkPermission(PluginAppletSecurityContext.java:1002) 
>
>     at 
> sun.applet.PluginAppletSecurityContext.handleMessage(PluginAppletSecurityContext.java:658) 
>
>     at 
> sun.applet.AppletSecurityContextManager.handleMessage(AppletSecurityContextManager.java:31) 
>
>     at 
> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:248) 
>
>     at 
> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:34) 
>
>
> Occasionally I also get following error:
> IcedTeaPlugin.cc:4735: Error: parse int
>
>
> My configuration:
>
> Icedtea6-plugin: Version: 6b14-1~exp1
> Openjdk6-jre: Version: 6b14-1~exp1
> Iceweasel: 3.06-1
> Linux debian-gta02 2.6.24-20081103.git7172ec57 #1 PREEMPT Wed Dec 17 
> 18:06:43 UTC 2008 armv4tl GNU/Linux
>
> I have also set up a x86 debian installation in a virtual machine with 
> the same package configuration as on the phone. And the same errors 
> occur there, so i guess it's not platform (armel) related.
>
Thank you for the cool report that you are running the icedtea-6 plugin 
on you phone!
Do you have a picture?
Do all applets crash or only the one you are working on?
>
> kind regards,
>
Cheers and have a great day!
Xerxes



More information about the distro-pkg-dev mailing list