Dmitry Sh
Dmitry Sh

Reputation: 311

Vaadin 7.1.8 Uncaught client side exception

after migration from Vaadin 7.0.3 to Vaadin 7.1.8, Vaadin client side produce Exception when mouseenter/mouseleave event over Chrome plugin (NPAPI plugin).

creation plugin object code:

        Label pluginContainer = new Label("<OBJECT ID=\"chromePluginObj\" NAME=\"chromePluginObj\" WIDTH=\"100%\" HEIGHT=\"100%\" type=\"application/x-umekcc\"></OBJECT>", ContentMode.HTML);
        pluginContainer.setWidth("100%");
        pluginContainer.setHeight("1115px");
        pluginContainer.setStyleName("htmlLabel");

        addComponent(pluginContainer);

screenshot of app:

normal state

when trigger mouseenter/mouseleave on plugin object:

exception state

also when i open window (vaadin window) or make other UI changes, vaadin ?recreate? my object, and browser send NPP_Destroy event to NPAPI plugin, and its destroy:

plugin destroyed

Maybe there is a possibility to specify Vaadin not recreate my NPAPI plugin object?

also apologize for my bad English))

Upvotes: 2

Views: 524

Answers (1)

blubb
blubb

Reputation: 9910

This kind of problem can be caused by a corrupted widgetset. Flush your webapp's VAADIN directory, then recompile the widgetset. If this doesn't help: recompile the widgetset without the pretty option instead of obfuscate to get more information about where in the JavaScript code the clientside exception occurrs.

Upvotes: 1

Related Questions