Possible bug with upload component

Hi,

I’ve been using vaadin to build one application that will manage users. In that application i need to use the upload component.

When using this small code:


Upload upload = new Upload(
            "User Photo",
            new GenericUploadReceiver()
 );
upload.setImmediate(true);
upload.setButtonCaption("Select File");
upload.setStyleName("v-button-small"); 

I was expecting that the upload button would be like the buttons in the the reender theme with the small size.

The problem is that the button appears “almost” ok. The left image of the button is wrong. It’s with the aspect of the normal button of the reender theme.

You can check the image that i attached to this post.

One possible problem that i could find with firebug is that the button doesn’t have has class the v-button-small.

The version of vaadin that i’me using is 6.2.2.

Best regards

Hugo
11176.png

Hi,

The problem is that the stylenames added to the upload component don’t affect the button element, only the wrapping DIV element. This seems unnatural when you use the immediate upload, but if you look at the default upload component, you’ll see it contains two separate widgets: the native file-input plus a button. So the stylename must be specified to the wrapping element in that case. The immediate upload is another case.

There is currently no specification how this should work, and it’s not supported at the moment. You need to override the button element style yourself to match the small style button, or extend the client side VUpload component to handle stylenames differently.

You can also create a new issue to our Trac at http://dev.vaadin.com, if you feel this is a bug in the framework.

Hi Jouni,

I was able to fix the problem by setting a new style to the upload component and then overwriting in the css.


upload.setStylename("k-upload");

CSS:


.k-upload div {
/* fix for upload component when we set the style of the component to be .v-buitton-small*/
    background-image: none !important;
}

[font=Verdana]

[size=1]

greetings,

i’ va trying to use the vaadin upload component to submit an image file to server, but in the first attemp, in the page appears an error message in top of page that says:

im developing a liferay portlet with vaadin.
versions:

  • vaadin: 6.4.5
  • liferay: 6.0.5
  • portlet spec: 2.0

here is a trace of the attemp…

10:35:22,326 ERROR [STDERR]
 java.lang.NumberFormatException: For input string: "undefined"
10:35:22,327 ERROR [STDERR]
 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
10:35:22,327 ERROR [STDERR]
 	at java.lang.Integer.parseInt(Integer.java:449)
10:35:22,327 ERROR [STDERR]
 	at java.lang.Integer.valueOf(Integer.java:554)
10:35:22,327 ERROR [STDERR]
 	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.convertVariableValue(AbstractCommunicationManager.java:1233)
10:35:22,327 ERROR [STDERR]
 	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1039)
10:35:22,327 ERROR [STDERR]
 	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:561)
10:35:22,327 ERROR [STDERR]
 	at com.vaadin.terminal.gwt.server.PortletCommunicationManager.handleUidlRequest(PortletCommunicationManager.java:227)
10:35:22,328 ERROR [STDERR]
 	at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.handleRequest(AbstractApplicationPortlet.java:413)
10:35:22,328 ERROR [STDERR]
 	at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.serveResource(AbstractApplicationPortlet.java:703)
10:35:22,328 ERROR [STDERR]
 	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:119)
10:35:22,328 ERROR [STDERR]
 	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
10:35:22,328 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
10:35:22,328 ERROR [STDERR]
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
10:35:22,328 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:35:22,328 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,328 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
10:35:22,328 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
10:35:22,328 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
10:35:22,328 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:635)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:747)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:504)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:847)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:602)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:229)
10:35:22,329 ERROR [STDERR]
 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
10:35:22,329 ERROR [STDERR]
 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:154)
10:35:22,329 ERROR [STDERR]
 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
10:35:22,329 ERROR [STDERR]
 	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
10:35:22,329 ERROR [STDERR]
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
10:35:22,329 ERROR [STDERR]
 	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
10:35:22,329 ERROR [STDERR]
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
10:35:22,330 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:35:22,330 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,330 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,330 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,330 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,330 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,330 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,330 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,330 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,330 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,330 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,330 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,331 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,331 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,331 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,331 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:137)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,331 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,331 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,331 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,332 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
10:35:22,332 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,332 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,332 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,332 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,332 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:256)
10:35:22,332 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,332 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,332 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,332 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
10:35:22,332 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
10:35:22,333 ERROR [STDERR]
 	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:134)
10:35:22,333 ERROR [STDERR]
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,333 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,333 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,333 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,333 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,333 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,334 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,334 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,334 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,334 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,334 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:137)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,335 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,335 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,335 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,335 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:212)
10:35:22,335 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,335 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,335 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,336 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,336 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,336 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,336 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)
10:35:22,336 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,337 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,337 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:256)
10:35:22,337 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
10:35:22,337 ERROR [STDERR]
 	at com.liferay.portal.servlet.I18nServlet.service(I18nServlet.java:102)
10:35:22,337 ERROR [STDERR]
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
10:35:22,337 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:35:22,339 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,339 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,339 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
10:35:22,339 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,339 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,339 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,339 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,339 ERROR [STDERR]
 	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:181)
10:35:22,339 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,339 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,340 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:245)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,340 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,340 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,340 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,340 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,340 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,341 ERROR [STDERR]
 	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,341 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
10:35:22,341 ERROR [STDERR]
 	at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:40)
10:35:22,341 ERROR [STDERR]
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,341 ERROR [STDERR]
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:35:22,341 ERROR [STDERR]
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
10:35:22,342 ERROR [STDERR]
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
10:35:22,342 ERROR [STDERR]
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
10:35:22,342 ERROR [STDERR]
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
10:35:22,342 ERROR [STDERR]
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
10:35:22,342 ERROR [STDERR]
 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
10:35:22,342 ERROR [STDERR]
 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
10:35:22,342 ERROR [STDERR]
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
10:35:22,342 ERROR [STDERR]
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
10:35:22,342 ERROR [STDERR]
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
10:35:22,342 ERROR [STDERR]
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:35:22,342 ERROR [STDERR]
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
10:35:22,342 ERROR [STDERR]
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
10:35:22,343 ERROR [STDERR]
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
10:35:22,343 ERROR [STDERR]
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
10:35:22,343 ERROR [STDERR]
 	at java.lang.Thread.run(Thread.java:619)

regards,
[/font]
[/size]

This sounds like you are using a different version of Vaadin JAR than the widgetset on the portal. If you do not use the Vaadin version included in the portal, you also need to replace /ROOT/html/VAADIN/* with versions that match the JAR you are using.

See e.g.
this article
- note that Liferay 6.0.x does come with a Vaadin version pre-configured, but if upgrading it, most steps related to installing Vaadin on Liferay 5.2.x apply except for the configuration file settings which are already correct elsewhere in Liferay 6.