jescapo / gwteventservice

Automatically exported from code.google.com/p/gwteventservice
Other
0 stars 0 forks source link

Error in GWT event service while rebooting the system. #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I face following issue when I use.

RemoteEventServiceServlet's addEvent() method.

This happens perticularly when i try to reboot my system.

Please provide any additional information below.

 de.novanic.eventservice.service.exception.NoSessionAvailab
        at de.novanic.eventservice.service.connection.id.SessionConnectionIdGenerator.getConnectionId(SessionConnectionIdGenerator.java:64)                                 
        at de.novanic.eventservice.service.EventExecutorServiceFactory.getEventExecutorService(EventExecutorServiceFactory.java:97)                                         
        at de.novanic.eventservice.service.RemoteEventServiceServlet.getEventExecutorService(RemoteEventServiceServlet.java:111)                                            
        at de.novanic.eventservice.service.RemoteEventServiceServlet.addEvent(RemoteEventServiceServlet.java:64)    

Original issue reported on code.google.com by kalyanik...@gmail.com on 21 Jan 2015 at 9:40

GoogleCodeExporter commented 9 years ago
Following is the exact ERROR I GET

2015-01-21 09:53:52.282 GMT+00:00 [http-apr-80-exec-2] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] 185 Exception 
while dispatching incoming RPC 
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
abstract java.util.List 
de.novanic.eventservice.client.event.service.EventService.listen()' threw
        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385) ~[gwt-servlet.jar:na]                                                                  
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588) ~[gwt-servlet.jar:na]                                                                   
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) ~[gwt-servlet.jar:na]                                             
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) ~[gwt-servlet.jar:na]                                             
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) ~[gwt-servlet.jar:na]                                   
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) [servlet-api.jar:na]                                                                                
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [servlet-api.jar:na]                                                                                
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) [catalina.jar:7.0.19]                                          
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.19]                                                  
        at com.ericsson.wifi.web.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) [CacheControlFilter.class:na]                                               
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.19]                                          
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.19]                                                  
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) [catalina.jar:7.0.19]                                                        
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [catalina.jar:7.0.19]                                                        
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) [catalina.jar:7.0.19]                                                     
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) [catalina.jar:7.0.19]                                                              
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [catalina.jar:7.0.19]                                                              
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.19]                                                          
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) [catalina.jar:7.0.19]                                                                
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:257) [tomcat-coyote.jar:7.0.19]                                                      
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) [tomcat-coyote.jar:7.0.19]                                       
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1764) [tomcat-coyote.jar:7.0.19]                                                     
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_17]                                                                                  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_17]                                                                                 
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_17]                                                                                                               
Caused by: 
de.novanic.eventservice.service.exception.NoSessionAvailableException: There is 
no session available! Maybe no session was generated explicitly by the 
connection
        at de.novanic.eventservice.service.connection.id.SessionConnectionIdGenerator.getConnectionId(SessionConnectionIdGenerator.java:64) ~[eventservice-1.2.1.jar:na]    
        at de.novanic.eventservice.service.EventServiceImpl.getClientId(EventServiceImpl.java:356) ~[eventservice-1.2.1.jar:na]                                             
        at de.novanic.eventservice.service.EventServiceImpl.getClientId(EventServiceImpl.java:347) ~[eventservice-1.2.1.jar:na]                                             
        at de.novanic.eventservice.service.EventServiceImpl.listen(EventServiceImpl.java:232) ~[eventservice-1.2.1.jar:na]                                                  
        at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source) ~[na:na]                                                                                           
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                   
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                                   
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) ~[gwt-servlet.jar:na]                                                                   
        ... 23 common frames omitted 
2015-01-21 09:53:52.291 GMT+00:00 [http-apr-80-exec-6] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] 185 Exception 
while dispatching incoming RPC 
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
abstract void 
de.novanic.eventservice.client.event.service.EventService.unlisten(de.novanic.ev
ent
        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385) ~[gwt-servlet.jar:na]                                                                  
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588) ~[gwt-servlet.jar:na]                                                                   
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) ~[gwt-servlet.jar:na]                                             
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) ~[gwt-servlet.jar:na]                                             
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) ~[gwt-servlet.jar:na]                                   
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) [servlet-api.jar:na]                                                                                
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [servlet-api.jar:na]                                                                                
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) [catalina.jar:7.0.19]                                          
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.19]                                                  
        at com.ericsson.wifi.web.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) [CacheControlFilter.class:na]                                               
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.19]                                          
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.19]                                                  
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) [catalina.jar:7.0.19]                                                        
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [catalina.jar:7.0.19]                                                        
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) [catalina.jar:7.0.19]                                                     
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) [catalina.jar:7.0.19]                                                              
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [catalina.jar:7.0.19]                                                              
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.19]                                                          
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) [catalina.jar:7.0.19]                                                                
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:257) [tomcat-coyote.jar:7.0.19]                                                      
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) [tomcat-coyote.jar:7.0.19]                                       
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1764) [tomcat-coyote.jar:7.0.19]                                                     
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_17]                                                                                  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_17]                                                                                 
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_17]                                                                                                               
Caused by: 
de.novanic.eventservice.service.exception.NoSessionAvailableException: There is 
no session available! Maybe no session was generated explicitly by the 
connection
        at de.novanic.eventservice.service.connection.id.SessionConnectionIdGenerator.getConnectionId(SessionConnectionIdGenerator.java:64) ~[eventservice-1.2.1.jar:na]    
        at de.novanic.eventservice.service.EventServiceImpl.getClientId(EventServiceImpl.java:356) ~[eventservice-1.2.1.jar:na]                                             
        at de.novanic.eventservice.service.EventServiceImpl.getClientId(EventServiceImpl.java:347) ~[eventservice-1.2.1.jar:na]                                             
        at de.novanic.eventservice.service.EventServiceImpl.unlisten(EventServiceImpl.java:268) ~[eventservice-1.2.1.jar:na]                                                
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_17]                                                                                       
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                       
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                   
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                                   
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) ~[gwt-servlet.jar:na]                                                                   
        ... 23 common frames omitted            
2015-01-21 09:53:52.295 GMT+00:00 [http-apr-80-exec-1] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] 185 Exception 
while dispatching incoming RPC 
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
abstract void 
de.novanic.eventservice.client.event.service.EventService.unlisten(java.util.Set
)' 
        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385) ~[gwt-servlet.jar:na]                                                                  
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588) ~[gwt-servlet.jar:na]                                                                   
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) ~[gwt-servlet.jar:na]                                             
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) ~[gwt-servlet.jar:na]                                             
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) ~[gwt-servlet.jar:na]                                   
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) [servlet-api.jar:na]                                                                                
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [servlet-api.jar:na]                                                                                
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) [catalina.jar:7.0.19]                                          
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.19]                                                  
        at com.ericsson.wifi.web.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) [CacheControlFilter.class:na]                                               
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.19]                                          
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.19]                                                  
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) [catalina.jar:7.0.19]                                                        
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [catalina.jar:7.0.19]                                                        
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) [catalina.jar:7.0.19]                                                     
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) [catalina.jar:7.0.19]                                                              
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [catalina.jar:7.0.19]                                                              
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.19]                                                          
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) [catalina.jar:7.0.19]                                                                
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:257) [tomcat-coyote.jar:7.0.19]                                                      
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) [tomcat-coyote.jar:7.0.19]                                       
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1722) [tomcat-coyote.jar:7.0.19]                                          
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_17]                                                                                  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_17]                                                                                 
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_17]                                                                                                               
Caused by: 
de.novanic.eventservice.service.exception.NoSessionAvailableException: There is 
no session available! Maybe no session was generated explicitly by the 
connection
        at de.novanic.eventservice.service.connection.id.SessionConnectionIdGenerator.getConnectionId(SessionConnectionIdGenerator.java:64) ~[eventservice-1.2.1.jar:na]    
        at de.novanic.eventservice.service.EventServiceImpl.getClientId(EventServiceImpl.java:356) ~[eventservice-1.2.1.jar:na]                                             
        at de.novanic.eventservice.service.EventServiceImpl.getClientId(EventServiceImpl.java:347) ~[eventservice-1.2.1.jar:na]                                             
        at de.novanic.eventservice.service.EventServiceImpl.unlisten(EventServiceImpl.java:268) ~[eventservice-1.2.1.jar:na]                                                
        at de.novanic.eventservice.service.EventServiceImpl.unlisten(EventServiceImpl.java:280) ~[eventservice-1.2.1.jar:na]                                                
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_17]                                                                                       
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                       
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                   
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_17]                                                                                                   
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) ~[gwt-servlet.jar:na]                                                                   
        ... 23 common frames omitted                                              

Original comment by kalyanik...@gmail.com on 21 Jan 2015 at 10:10