Vaadin Charts - License problem...

We have a Pro Account. I downloaded the Vaadin charts package and copied the license file into my home directory (.vaadin.charts.developer.license).
When I run a test web app and try to create a chart it gives me this:

com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
        at com.vaadin.server.ServerRpcManager.applyInvocation(
        at com.vaadin.server.ServerRpcManager.applyInvocation(
        at com.vaadin.server.AbstractCommunicationManager.handleBurst(
        at com.vaadin.server.AbstractCommunicationManager.handleVariables(
        at com.vaadin.server.AbstractCommunicationManager.handleUidlRequest(
        at com.vaadin.server.VaadinServlet.service(
        at com.vaadin.server.VaadinServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.valves.AccessLogValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.AbstractHttp11Processor.process(
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.vaadin.server.ServerRpcManager.applyInvocation(
        ... 23 more
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in$1 failed.
        at com.vaadin.event.ListenerMethod.receiveEvent(
        at com.vaadin.event.EventRouter.fireEvent(
        at com.vaadin.server.AbstractClientConnector.fireEvent(
        at com.vaadin.ui.Button.fireClick(
        at com.vaadin.ui.Button$
        ... 28 more
Caused by: java.lang.NoSuchMethodError:;Ljava/lang/String;)Ljava/util/List;
        at com.vaadin.addon.charts.LicenseChecker.printCVALInformationAndHowToGetRidOfThisInformation(
        at com.vaadin.addon.charts.LicenseChecker.nag(
        at com.vaadin.addon.charts.Chart.<clinit>(
   etc. etc.

I had downloaded and added the jar file commons-io-1.0.jar to my tomcat lib directory. Is there a different library I need to install?
And when I distribute the program, do I have to distribute the license file as well? Where do I put it on the target system??




commons-io-2.2 is the one you should have. That should also be in the zip package.

I’d really suggest to move for more intelligent project management systems like Maven which will deal this kind of stuff automatically.

When distributing the program, you have three options which are practically the same as during the development:

  • ignore the licence nag
  • As suggested in instructions, add licence key to the home directory (of the user who is running your server)
  • Provide the licence as system property (or add in e.g. your servlets constructor like this: “System.setProperty(“vaadin.charts.developer.license”, “MY_KEY_HERE”);” )


I didn’t think to look in the zip package - my bad… I just located the missing jar file and when looking on the web… Thanks very much!


I was getting the same Unable to invoke method click in com.vaadin.shared.ui.button error.

It was just for a regular button, charts was not involved. I upgraded to commons-io-2.2 and the problem went away. However, commons-io-1.4 is what is being bundled with vaadin-all 7.0.4 and 7.05. I will post a bug ticket.


Again I’d suggest to use those dependency management systems. Maven would choose you the newest one automatically. With quality library like ioutils there shouldn’t be backwards incompatibilities.

Don’t know why vaadin all has that version (it is ancient), but to make this less error prone for users without dependency management, I changed to the licence nag part to use just std jre libs. The commons-io is still needed for some more advanced features.


we have a big problems
when i execute my programas get out

Caused by: java.lang.NoSuchMethodError: com.vaadin.addon.charts.Chart.setWidth(FLcom/vaadin/server/Sizeable$Unit;)V
at com.vaadin.addon.charts.Chart.(
at billing.portal.subviews.Estatistica.Basic3DColumn.getChart(

can Helps!!