Vaadin Control Panel for Liferay - compile error

I tried to use Control Panel portlet. I added AutoCompleteTextField into web-inf/lib of Liferay.
When I choose it to complile in control panel portlet I receive following error:

Loading inherited module ‘com.itmill.incubator.autocomplete.widgetset.AutoCompleteWidgetset’
Unable to find ‘com/itmill/incubator/autocomplete/widgetset/AutoCompleteWidgetset.gwt.xml’ on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
Line 5: Unexpected exception while processing element ‘inherits’ (see previous log entries)

Any advice?

Looks like the META-INF/MANIFEST.MF has invalid path for the widgetset:

Vaadin-Widgetsets: com.itmill.incubator.autocomplete.widgetset.AutoCompleteWidgetset

But the Jar contains:


I hope Sami fixes this. If you want a quick fix, unjar the jar, fix the manifest, and update it in the jar.

Thank you, thank you, thank you :slight_smile:

It’s the 2nd addon with wrong widgetset definition. I didn’t think this would be a problem . :mad:


The add-on manifest should be verified when submitting them. I’m not sure if this issue has been treated yet, or if the add-on in question is just too old, so I added a ticket (
) about this. There was a similar ticket
about the same topic but from a different perspective.

could compiling a widgetset serve as test?

Yes, I think it would be a good test. It would have to compile using the widget set generator, which generates a combining widget set, and not just the single widget set, which is also possible.

There has been discussion about running regression tests for the add-ons automatically in Directory or in an open CI system, and compilation would of course be part of that.

If my memory servers me correctly, there may also have been some discussion about compiling combining widget sets (as add-ons) in Directory, much like with the Vaadin Control Panel for Liferay. I don’t know what is the status of that. Well, if I remember wrong, it still might be a good idea.

use any experimental add-ons on production, unless they are marked as “stable”.
BTW, I’ve just got “Communication Problem” nag screen in Vaadin Add-On shop…

Never say never :slight_smile: I am not yet in production.

I wanted to compile with maven but firstly I want to try it with Control Panel, it’s easier for me now.

And btw I received long “Communication error” too.

Yes, and your portlet is gonna
suffer from this problem
as well as mine. I’ve posted there also a solution how to semi-fix it (not really a fix, but no alert either). BTW, I betcha
this great Vaadin Mail Portlet
is suffering the same problem. Unfortunately, I can not confirm it right now, since when I am trying to setup it, then it just crashes on Liferay 5.x like this:

        at com.vaadin.liferay.mail.Controller.getUserLocale(
        at com.vaadin.liferay.mail.util.Lang.get(
        at com.vaadin.liferay.mail.PreferencesView.<init>(
        at com.vaadin.liferay.mail.MailApplication.createPreferencesView(
        at com.vaadin.liferay.mail.MailApplication.access$700(
        at com.vaadin.liferay.mail.MailApplication$MailPortletListener.handleRenderRequest(
        at com.vaadin.terminal.gwt.server.PortletApplicationContext.firePortletRenderRequest(
        at com.vaadin.terminal.gwt.server.ApplicationPortlet.writeAjaxWindow(
        at com.vaadin.terminal.gwt.server.ApplicationPortlet.render(

…and like this:

Cause: java.lang.IllegalArgumentException: The collection passed to BeanItemContainer must not be null or empty
        at com.vaadin.event.ListenerMethod.receiveEvent(
        at com.vaadin.event.EventRouter.fireEvent(
        at com.vaadin.ui.AbstractComponent.fireEvent(
        at com.vaadin.ui.Button.fireClick(
        at com.vaadin.ui.Button.changeVariables(
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(


I don’t use mail portlet, but I saw this error on vaadin web page.

I came accross little change in Control panel portlet today. The gwt jars should go to WEB-INF/vaadin/gwt/ folder.

I use latest version from trunk and widgets stopped compiling :slight_smile: Fortunately it’s open source and we can debug