org.springframework.web.util.NestedServletException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I just upgraded to 1.6.1 from 1.6.0 and am now receiving this exception {code} 2014-11-18 15:32:57.294 [ERROR] c.f.a.web.filter.LoggingFilter:29 - Exception 1449160599 calling doFilter(RequestFacade org.apache.catalina.connector.RequestFacade@23f06605, ResponseFacade org.apache.catalina.connector.ResponseFacade@7acd6fb5, ApplicationFilterChain org.apache.catalina.core.ApplicationFilterChain@2ea43209) {} org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Read operation to server localhost:27017 failed on database test; nested exception is com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978) ~[FrameworkServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857) ~[FrameworkServlet.class:4.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) ~[servlet-api.jar:?] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842) ~[FrameworkServlet.class:4.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[FilterSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[FilterSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[ExceptionTranslationFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[AnonymousAuthenticationFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) ~[SecurityContextHolderAwareRequestFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:94) ~[AbstractPreAuthenticatedProcessingFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) ~[WebAsyncManagerIntegrationFilter.class:3.2.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[OncePerRequestFilter.class:4.1.2.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[SecurityContextPersistenceFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144) ~[ChannelProcessingFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[FilterChainProxy.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[FilterChainProxy.class:3.2.5.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at c.f.a.web.filter.LoggingFilter.doFilter(LoggingFilter.java:53) ~[LoggingFilter.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy140.doFilter(Unknown Source) ~[?:?] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) ~[Log4jServletFilter.class:2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) ~[catalina.jar:8.0.12] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[catalina.jar:8.0.12] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) ~[catalina.jar:8.0.12] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534) ~[catalina.jar:8.0.12] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081) ~[tomcat-coyote.jar:8.0.12] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) ~[tomcat-coyote.jar:8.0.12] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) ~[tomcat-coyote.jar:8.0.12] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) ~[tomcat-coyote.jar:8.0.12] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) ~[tomcat-coyote.jar:8.0.12] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_20] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.0.12] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_20] Caused by: org.springframework.dao.DataAccessResourceFailureException: Read operation to server localhost:27017 failed on database test; nested exception is com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:59) ~[MongoExceptionTranslator.class:?] at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1934) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:412) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264) ~[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105) ~[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) ~[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source) ~[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60) ~[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122) ~[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source) ~[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48) ~[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>) ~[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>) ~[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) ~[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) ~[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more Caused by: com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:300) ~[DBTCPConnector.class:?] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:271) ~[DBTCPConnector.class:?] at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) ~[DBCollectionImpl.class:?] at com.mongodb.DB.command(DB.java:317) ~[DB.class:?] at com.mongodb.DB.command(DB.java:296) ~[DB.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1189) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1154) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1138) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1107) ~[DBCollection.class:?] at com.mongodb.DBCollection.count(DBCollection.java:1040) ~[DBCollection.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:652) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:650) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:410) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264) ~[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105) ~[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) ~[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source) ~[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60) ~[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122) ~[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source) ~[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48) ~[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>) ~[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>) ~[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) ~[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) ~[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_20] at java.net.SocketInputStream.read(SocketInputStream.java:150) ~[?:1.8.0_20] at java.net.SocketInputStream.read(SocketInputStream.java:121) ~[?:1.8.0_20] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_20] at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[?:1.8.0_20] at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[?:1.8.0_20] at org.bson.io.Bits.readFully(Bits.java:48) ~[Bits.class:?] at org.bson.io.Bits.readFully(Bits.java:35) ~[Bits.class:?] at org.bson.io.Bits.readFully(Bits.java:30) ~[Bits.class:?] at com.mongodb.Response.<init>(Response.java:42) ~[Response.class:?] at com.mongodb.DBPort$1.execute(DBPort.java:141) ~[DBPort$1.class:?] at com.mongodb.DBPort$1.execute(DBPort.java:135) ~[DBPort$1.class:?] at com.mongodb.DBPort.doOperation(DBPort.java:164) ~[DBPort.class:?] at com.mongodb.DBPort.call(DBPort.java:135) ~[DBPort.class:?] at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:292) ~[DBTCPConnector.class:?] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:271) ~[DBTCPConnector.class:?] at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) ~[DBCollectionImpl.class:?] at com.mongodb.DB.command(DB.java:317) ~[DB.class:?] at com.mongodb.DB.command(DB.java:296) ~[DB.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1189) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1154) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1138) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1107) ~[DBCollection.class:?] at com.mongodb.DBCollection.count(DBCollection.java:1040) ~[DBCollection.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:652) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:650) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:410) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264) ~[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105) ~[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) ~[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source) ~[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60) ~[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122) ~[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source) ~[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48) ~[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>) ~[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>) ~[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) ~[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) ~[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more {code} Here is my spring config {code:xml} <mongo:mongo id="mongoRead" replica-set="${mongo.read.replica.set}"> <mongo:options auto-connect-retry="${mongo.read.auto.connect.retry}" connections-per-host="${mongo.read.connections.per.host}" threads-allowed-to-block-for-connection-multiplier="${mongo.read.threads.allowed.to.block.for.connection.multiplier}" connect-timeout="${mongo.read.connect.timeout}" socket-timeout="${mongo.read.socket.timeout}" /> </mongo:mongo> <mongo:db-factory id="mongoReadFactory" mongo-ref="mongoRead" dbname="${mongo.read.db}" /> <bean id="mongoReadTemplate" class="org.springframework.data.mongodb.core.MongoTemplate"> <constructor-arg ref="mongoReadFactory"/> <property name="writeResultChecking" value="${mongo.read.writeResultChecking}"/> <property name="writeConcern" value="${mongo.read.writeConcern}" /> <property name="readPreference"> <bean class="com.mongodb.TaggableReadPreference.SecondaryPreferredReadPreference" /> </property> </bean> {code}
    via by Ryan Kaltreider,
  • I just upgraded to 1.6.1 from 1.6.0 and am now receiving this exception {code} 2014-11-18 15:32:57.294 [ERROR] c.f.a.web.filter.LoggingFilter:29 - Exception 1449160599 calling doFilter(RequestFacade org.apache.catalina.connector.RequestFacade@23f06605, ResponseFacade org.apache.catalina.connector.ResponseFacade@7acd6fb5, ApplicationFilterChain org.apache.catalina.core.ApplicationFilterChain@2ea43209) {} org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Read operation to server localhost:27017 failed on database test; nested exception is com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978) ~[FrameworkServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857) ~[FrameworkServlet.class:4.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) ~[servlet-api.jar:?] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842) ~[FrameworkServlet.class:4.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[FilterSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[FilterSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[ExceptionTranslationFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[AnonymousAuthenticationFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) ~[SecurityContextHolderAwareRequestFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:94) ~[AbstractPreAuthenticatedProcessingFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) ~[WebAsyncManagerIntegrationFilter.class:3.2.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[OncePerRequestFilter.class:4.1.2.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[SecurityContextPersistenceFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144) ~[ChannelProcessingFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[FilterChainProxy.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[FilterChainProxy.class:3.2.5.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at c.f.a.web.filter.LoggingFilter.doFilter(LoggingFilter.java:53) ~[LoggingFilter.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy140.doFilter(Unknown Source) ~[?:?] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) ~[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) ~[Log4jServletFilter.class:2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) ~[catalina.jar:8.0.12] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[catalina.jar:8.0.12] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) ~[catalina.jar:8.0.12] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) ~[catalina.jar:8.0.12] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534) ~[catalina.jar:8.0.12] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081) ~[tomcat-coyote.jar:8.0.12] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) ~[tomcat-coyote.jar:8.0.12] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) ~[tomcat-coyote.jar:8.0.12] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) ~[tomcat-coyote.jar:8.0.12] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) ~[tomcat-coyote.jar:8.0.12] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_20] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.0.12] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_20] Caused by: org.springframework.dao.DataAccessResourceFailureException: Read operation to server localhost:27017 failed on database test; nested exception is com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:59) ~[MongoExceptionTranslator.class:?] at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1934) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:412) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264) ~[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105) ~[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) ~[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source) ~[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60) ~[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122) ~[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source) ~[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48) ~[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>) ~[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>) ~[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) ~[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) ~[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more Caused by: com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:300) ~[DBTCPConnector.class:?] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:271) ~[DBTCPConnector.class:?] at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) ~[DBCollectionImpl.class:?] at com.mongodb.DB.command(DB.java:317) ~[DB.class:?] at com.mongodb.DB.command(DB.java:296) ~[DB.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1189) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1154) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1138) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1107) ~[DBCollection.class:?] at com.mongodb.DBCollection.count(DBCollection.java:1040) ~[DBCollection.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:652) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:650) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:410) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264) ~[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105) ~[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) ~[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source) ~[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60) ~[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122) ~[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source) ~[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48) ~[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>) ~[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>) ~[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) ~[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) ~[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_20] at java.net.SocketInputStream.read(SocketInputStream.java:150) ~[?:1.8.0_20] at java.net.SocketInputStream.read(SocketInputStream.java:121) ~[?:1.8.0_20] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_20] at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[?:1.8.0_20] at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[?:1.8.0_20] at org.bson.io.Bits.readFully(Bits.java:48) ~[Bits.class:?] at org.bson.io.Bits.readFully(Bits.java:35) ~[Bits.class:?] at org.bson.io.Bits.readFully(Bits.java:30) ~[Bits.class:?] at com.mongodb.Response.<init>(Response.java:42) ~[Response.class:?] at com.mongodb.DBPort$1.execute(DBPort.java:141) ~[DBPort$1.class:?] at com.mongodb.DBPort$1.execute(DBPort.java:135) ~[DBPort$1.class:?] at com.mongodb.DBPort.doOperation(DBPort.java:164) ~[DBPort.class:?] at com.mongodb.DBPort.call(DBPort.java:135) ~[DBPort.class:?] at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:292) ~[DBTCPConnector.class:?] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:271) ~[DBTCPConnector.class:?] at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) ~[DBCollectionImpl.class:?] at com.mongodb.DB.command(DB.java:317) ~[DB.class:?] at com.mongodb.DB.command(DB.java:296) ~[DB.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1189) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1154) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1138) ~[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1107) ~[DBCollection.class:?] at com.mongodb.DBCollection.count(DBCollection.java:1040) ~[DBCollection.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:652) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:650) ~[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:410) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641) ~[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264) ~[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105) ~[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381) ~[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512) ~[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source) ~[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60) ~[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122) ~[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source) ~[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48) ~[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>) ~[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58) ~[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257) ~[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112) ~[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>) ~[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) ~[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721) ~[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) ~[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877) ~[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) ~[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more {code} Here is my spring config {code:xml} <mongo:mongo id="mongoRead" replica-set="${mongo.read.replica.set}"> <mongo:options auto-connect-retry="${mongo.read.auto.connect.retry}" connections-per-host="${mongo.read.connections.per.host}" threads-allowed-to-block-for-connection-multiplier="${mongo.read.threads.allowed.to.block.for.connection.multiplier}" connect-timeout="${mongo.read.connect.timeout}" socket-timeout="${mongo.read.socket.timeout}" /> </mongo:mongo> <mongo:db-factory id="mongoReadFactory" mongo-ref="mongoRead" dbname="${mongo.read.db}" /> <bean id="mongoReadTemplate" class="org.springframework.data.mongodb.core.MongoTemplate"> <constructor-arg ref="mongoReadFactory"/> <property name="writeResultChecking" value="${mongo.read.writeResultChecking}"/> <property name="writeConcern" value="${mongo.read.writeConcern}" /> <property name="readPreference"> <bean class="com.mongodb.TaggableReadPreference.SecondaryPreferredReadPreference" /> </property> </bean> {code}
    via by Ryan Kaltreider,
  • Cassandra another frame size issue
    via Stack Overflow by Kacu
    ,
    • org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Read operation to server localhost:27017 failed on database test; nested exception is com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)[FrameworkServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)[FrameworkServlet.class:4.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)[servlet-api.jar:?] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)[FrameworkServlet.class:4.1.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)[servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.12] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.12] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)[FilterSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)[FilterSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[ExceptionTranslationFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[AnonymousAuthenticationFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)[SecurityContextHolderAwareRequestFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:94)[AbstractPreAuthenticatedProcessingFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)[WebAsyncManagerIntegrationFilter.class:3.2.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[OncePerRequestFilter.class:4.1.2.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[SecurityContextPersistenceFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)[ChannelProcessingFilter.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[FilterChainProxy$VirtualFilterChain.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[FilterChainProxy.class:3.2.5.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[FilterChainProxy.class:3.2.5.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.12] at c.f.a.web.filter.LoggingFilter.doFilter(LoggingFilter.java:53)[LoggingFilter.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58)[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257)[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112)[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy140.doFilter(Unknown Source)[?:?] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)[DelegatingFilterProxy.class:4.1.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.12] at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)[Log4jServletFilter.class:2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.12] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.12] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.12] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.12] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.12] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.12] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[catalina.jar:8.0.12] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.12] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)[catalina.jar:8.0.12] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)[tomcat-coyote.jar:8.0.12] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)[tomcat-coyote.jar:8.0.12] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)[tomcat-coyote.jar:8.0.12] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)[tomcat-coyote.jar:8.0.12] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)[tomcat-coyote.jar:8.0.12] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_20] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.12] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_20] Caused by: org.springframework.dao.DataAccessResourceFailureException: Read operation to server localhost:27017 failed on database test; nested exception is com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:59)[MongoExceptionTranslator.class:?] at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1934)[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:412)[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:650)[MongoTemplate.class:?] at org.springframework.data.mongodb.core.MongoTemplate.count(MongoTemplate.java:641)[MongoTemplate.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery$PagedExecution.execute(AbstractMongoQuery.java:264)[AbstractMongoQuery$PagedExecution.class:?] at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:105)[AbstractMongoQuery.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:421)[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:381)[RepositoryFactorySupport$QueryExecutorMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.invoke(RepositoryFactorySupport.java:512)[RepositoryFactorySupport$DefaultMethodInvokingMethodInterceptor.class:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy94.findByUserId(Unknown Source)[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58)[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:115)[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy95.findByUserId(Unknown Source)[?:?] at c.f.a.user.service.impl.UserInteractionServiceImpl.getAllByUserId(UserInteractionServiceImpl.java:60)[UserInteractionServiceImpl.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_20] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[AopUtils.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:122)[MethodValidationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58)[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257)[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112)[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[JdkDynamicAopProxy.class:4.1.2.RELEASE] at com.sun.proxy.$Proxy96.getAllByUserId(Unknown Source)[?:?] at c.f.a.user.controller.UserInteractionController.getUserInteractions(UserInteractionController.java:48)[UserInteractionController.class:?] at c.f.a.user.controller.UserInteractionController$$FastClassBySpringCGLIB$$a8f976b4.invoke(<generated>)[ReflectUtils.class:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[MethodProxy.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)[CglibAopProxy$CglibMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58)[AspectJAfterThrowingAdvice.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)[MethodSecurityInterceptor.class:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:257)[CustomizableTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:112)[AbstractTraceInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[ExposeInvocationInterceptor.class:4.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[ReflectiveMethodInvocation.class:4.1.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)[CglibAopProxy$DynamicAdvisedInterceptor.class:4.1.2.RELEASE] at c.f.a.user.controller.UserInteractionController$$EnhancerBySpringCGLIB$$82fe0b0a.getUserInteractions(<generated>)[ReflectUtils.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_20] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)[InvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)[ServletInvocableHandlerMethod.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781)[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721)[RequestMappingHandlerAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)[AbstractHandlerMethodAdapter.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)[DispatcherServlet.class:4.1.2.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)[FrameworkServlet.class:4.1.2.RELEASE] ... 74 more Caused by: com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database test at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:300)[DBTCPConnector.class:?] at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:271)[DBTCPConnector.class:?] at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)[DBCollectionImpl.class:?] at com.mongodb.DB.command(DB.java:317)[DB.class:?] at com.mongodb.DB.command(DB.java:296)[DB.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1189)[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1154)[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1138)[DBCollection.class:?] at com.mongodb.DBCollection.getCount(DBCollection.java:1107)[DBCollection.class:?] at com.mongodb.DBCollection.count(DBCollection.java:1040)[DBCollection.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:652)[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate$7.doInCollection(MongoTemplate.java:650)[MongoTemplate$7.class:?] at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:410)[MongoTemplate.class:?] ... 148 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method)[?:1.8.0_20] at java.net.SocketInputStream.read(SocketInputStream.java:150)[?:1.8.0_20] at java.net.SocketInputStream.read(SocketInputStream.java:121)[?:1.8.0_20] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)[?:1.8.0_20] at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)[?:1.8.0_20] at java.io.BufferedInputStream.read(BufferedInputStream.java:345)[?:1.8.0_20] at org.bson.io.Bits.readFully(Bits.java:48)[Bits.class:?] at org.bson.io.Bits.readFully(Bits.java:35)[Bits.class:?] at org.bson.io.Bits.readFully(Bits.java:30)[Bits.class:?] at com.mongodb.Response.<init>(Response.java:42)[Response.class:?] at com.mongodb.DBPort$1.execute(DBPort.java:141)[DBPort$1.class:?] at com.mongodb.DBPort$1.execute(DBPort.java:135)[DBPort$1.class:?] at com.mongodb.DBPort.doOperation(DBPort.java:164)[DBPort.class:?] at com.mongodb.DBPort.call(DBPort.java:135)[DBPort.class:?] at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:292)[DBTCPConnector.class:?] ... 160 more

    Users with the same issue

    mauritiusmauritius
    39 times, last one,
    kidkid
    10 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    151 more bugmates