Hi there,
when we attach an event listener to a Pivot table on a web module we will get a strange error.
transactionPivot.addRefreshListener(new PivotTable.RefreshListener() { @Override void onRefresh(PivotTable.RefreshEvent event) { progressBar.visible = false } })
It has to be related to the data somehow, as it works in dev and staging, just on our live database it throws:
java.lang.IllegalStateException: Can’t find method onRefresh with 0 parameters in com.haulmont.charts.web.toolkit.ui.client.pivottable.CubaPivotTableServerRpc
at com.vaadin.server.ServerRpcMethodInvocation.findInvocationMethod(ServerRpcMethodInvocation.java:82)
at com.vaadin.server.ServerRpcMethodInvocation.(ServerRpcMethodInvocation.java:42)
at com.vaadin.server.communication.ServerRpcHandler.parseServerRpcInvocation(ServerRpcHandler.java:604)
at com.vaadin.server.communication.ServerRpcHandler.parseInvocation(ServerRpcHandler.java:546)
at com.vaadin.server.communication.ServerRpcHandler.parseInvocations(ServerRpcHandler.java:512)
at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:343)
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:274)
at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1435)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:361)
Could you please help me with this issue?
Thanks
Gabor