You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an instance of FilterTable in which I want to support drag&drop feature of rows. I do it by sample code:
table.setDragMode(TableDragMode.ROW);
table.setDropHandler( /* my drop handler */ );
Until 0.9.2.v7 everything worked fine. After upgrade to 0.9.3.v7 and drag&drop some row, the exception is being thrown:
java.lang.ClassCastException: org.tepi.filtertable.FilterTable cannot be cast to com.vaadin.ui.Table
at com.vaadin.ui.CustomTable$TableTransferable.getSourceComponent(CustomTable.java:5062)
at com.vaadin.ui.CustomTable$TableTransferable.getSourceComponent(CustomTable.java:5036)
at com.vaadin.event.dd.acceptcriteria.SourceIsTarget.accept(SourceIsTarget.java:51)
at com.vaadin.server.DragAndDropService.handleDropRequest(DragAndDropService.java:135)
at com.vaadin.server.DragAndDropService.changeVariables(DragAndDropService.java:102)
at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:396)
at com.vaadin.server.communication.ServerRpcHandler.handleBurst(ServerRpcHandler.java:221)
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:111)
at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:91)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1382)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
After downgrade to 0.9.2.v7 it works again with no exception. Vaadin 7.1.9.
The text was updated successfully, but these errors were encountered:
I have an instance of
FilterTable
in which I want to support drag&drop feature of rows. I do it by sample code:Until 0.9.2.v7 everything worked fine. After upgrade to 0.9.3.v7 and drag&drop some row, the exception is being thrown:
After downgrade to 0.9.2.v7 it works again with no exception. Vaadin 7.1.9.
The text was updated successfully, but these errors were encountered: