Closed rajithsiriwardana closed 10 years ago
And clicked "back" and tried to stop the game got following error
00:52:10,477 SEVERE com.vaadin.server.DefaultErrorHandler : com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:170) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:118) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.communication.ServerRpcHandler.handleBurst(ServerRpcHandler.java:214) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:111) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:158) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:289) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.communication.PushHandler.onRequest(PushHandler.java:308) [vaadin-server-7.1.2.jar:7.1.2] at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:259) [atmosphere-runtime-1.0.14.vaadin4.jar:1.0.14.vaadin4] at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:166) [atmosphere-runtime-1.0.14.vaadin4.jar:1.0.14.vaadin4] at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:101) [atmosphere-runtime-1.0.14.vaadin4.jar:1.0.14.vaadin4] at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1448) [atmosphere-runtime-1.0.14.vaadin4.jar:1.0.14.vaadin4] at com.vaadin.server.communication.PushRequestHandler.handleRequest(PushRequestHandler.java:109) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1371) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238) [vaadin-server-7.1.2.jar:7.1.2] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:168) [vaadin-server-7.1.2.jar:7.1.2] ... 27 more Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in org.investovator.ui.utils.dashboard.BasicDashboard$2 failed. at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:528) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:167) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:968) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.ui.Button.fireClick(Button.java:368) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.ui.Button$1.click(Button.java:57) [vaadin-server-7.1.2.jar:7.1.2] ... 32 more Caused by: com.vaadin.ui.GridLayout$OverlapsException: com.vaadin.ui.VerticalLayout@44fa2d16( type = com.vaadin.ui.VerticalLayout) is already added to 1,1,0,0(column1, column2, row1, row2). at com.vaadin.ui.GridLayout.checkExistingOverlaps(GridLayout.java:271) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.ui.GridLayout.addComponent(GridLayout.java:205) [vaadin-server-7.1.2.jar:7.1.2] at com.vaadin.ui.GridLayout.addComponent(GridLayout.java:297) [vaadin-server-7.1.2.jar:7.1.2] at org.investovator.ui.dataplayback.admin.DataPlaybackEngineAdminDashboard.addUIElements(DataPlaybackEngineAdminDashboard.java:99) [classes:] at org.investovator.ui.dataplayback.admin.DataPlaybackEngineAdminDashboard.onEnter(DataPlaybackEngineAdminDashboard.java:76) [classes:] at org.investovator.ui.utils.dashboard.BasicDashboard$2.buttonClick(BasicDashboard.java:214) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) [vaadin-server-7.1.2.jar:7.1.2] ... 36 more
The dashboard you get is the dashboard of the admin. When an admin creates a multiplayer, he gets this dashboard. This is the normal and intended behaviour.
The other exception is a seperate issue. Better start a new issue on that and assign it to @amilasurendra
That means admin cannot play?
yp, admin cannot play multiplayer games in DPE. It can be used for market analytics
Ishan's info: www.ishans.info Ishan's way: www.blog.ishans.info
LinkedIn: *www.linkedin.com/in/ishanthilina
On Thu, Dec 5, 2013 at 1:09 AM, Rajith Siriwardana <notifications@github.com
wrote:
That means admin cannot play?
— Reply to this email directly or view it on GitHubhttps://github.com/investovator/investovator-ui/issues/81#issuecomment-29837685 .