Error: Invalid plugin function table

Chamal De Silva chamal.desilva at gmail.com
Wed Jun 27 07:14:24 PDT 2012


Hi,

I built icedtea web plugin from source today. I got code from this
repository.
hg clone http://icedtea.classpath.org/hg/release/icedtea-web-1.2/

Icedtea plugin built successfully.
But when i try to load a java applet through chrome I get this error
message.

/home/chamal/programs/icedtea/icedtea12plugin/src/icedtea-web-1.2/plugin/icedteanp/IcedTeaNPPlugin.cc:2062:
thread 0x7faa688f9300: Error: Invalid plugin function table.
/home/chamal/programs/icedtea/icedtea12plugin/src/icedtea-web-1.2/plugin/icedteanp/IcedTeaNPPlugin.cc:2062:
thread 0x7faa688f9300: Error: Invalid plugin function table.

I looked at the code of IcedTeaNPPlugin.cc and below mentioned check fails.

if (pluginTable->size < sizeof (NPPluginFuncs))
    {
      PLUGIN_ERROR ("Invalid plugin function table.");

      return NPERR_INVALID_FUNCTABLE_ERROR;
    }

When I debug i get these sizes.
pluginTable->size = 160
sizeof (NPPluginFuncs) = 168

I am using ubuntu 12.04 64 bit version. Icedtea plugin which comes with
ubuntu works fine with chrome.

Please help me to correct this error.

Thanking you,
Chamal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120627/13e4cce5/attachment.html 


More information about the distro-pkg-dev mailing list