PharmEasyEngg / lampo

Lampo is developed to run appium mobile automation scripts on mobile devices connected to remote machines. It also aims at allowing users to interact with remotely connected devices for manual testing.
Other
45 stars 7 forks source link

Getting error while launching the master application #10

Open satadip opened 1 year ago

satadip commented 1 year ago

Below is the master.log, we have kept both RabbitMq and Mongodb started, but facing issues with the master startup. We are able to have the slave running with STF, and also the slave application is running successfully, but facing issue with the server.

@sarathpharmeasy please help to have a look.

13:58:38.953 [main] INFO c.l.d.master.MasterApplication - Starting MasterApplication using Java 1.8.0_351 on Automations-MacBook-Pro.local with PID 39258 (/Users/automation/lampo/master/build/libs/master-1.0.0-RELEASE.jar started by automation in /Users/automation/lampo/master) 13:58:38.956 [main] INFO c.l.d.master.MasterApplication - No active profile set, falling back to default profiles: default 13:58:39.852 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 13:58:40.073 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 215 ms. Found 5 MongoDB repository interfaces. 13:58:40.728 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8087 (http) 13:58:40.740 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8087"] 13:58:40.740 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 13:58:40.740 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.56] 13:58:40.800 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext 13:58:40.800 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1776 ms 13:58:41.250 [main] INFO o.s.a.r.c.CachingConnectionFactory - Attempting to connect to: [localhost:5672] 13:58:41.317 [main] INFO o.s.a.r.c.CachingConnectionFactory - Created new connection: rabbitConnectionFactory#1fb700ee:0/SimpleConnection@306cf3ea [delegate=amqp://guest@127.0.0.1:5672/, localPort= 53242] 13:58:41.475 [main] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'} 13:58:41.591 [cluster-ClusterId{value='6448e0b9f711ef480761252e', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:62}] to localhost:27017 13:58:41.591 [cluster-rtt-ClusterId{value='6448e0b9f711ef480761252e', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:61}] to localhost:27017 13:58:41.592 [cluster-ClusterId{value='6448e0b9f711ef480761252e', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=60970914} 13:58:42.229 [main] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:3, serverValue:63}] to localhost:27017 13:58:57.339 [main] INFO c.l.d.master.grid.GridSetupService - --------- starting selenium grid server with args '-role hub -port 4444 -matcher com.lampo.device_lab.master.grid.CustomGridNodeCapabilityMatcher -log /Users/automation/lampo/master/logs/selenium-server.txt -registry com.lampo.device_lab.master.grid.CustomGridRegistry -newSessionWaitTimeout 5000 -browserTimeout 180 -cleanUpCycle 180000 -throwOnCapabilityNotPresent false -timeout 180' --------- 13:58:57.396 [main] INFO o.o.grid.selenium.GridLauncherV3 - Selenium server version: unknown, revision: unknown 13:58:57.470 [main] INFO o.o.grid.selenium.GridLauncherV3 - Launching Selenium Grid hub on port 4444 13:58:57.805 [main] INFO org.seleniumhq.jetty9.util.log - Logging initialized @20244ms to org.seleniumhq.jetty9.util.log.Slf4jLog 13:58:57.892 [main] INFO org.seleniumhq.jetty9.server.Server - jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_351-b10 13:58:57.930 [main] INFO org.seleniumhq.jetty9.server.session - DefaultSessionIdManager workerName=node0 13:58:57.930 [main] INFO org.seleniumhq.jetty9.server.session - No SessionScavenger set, using defaults 13:58:57.933 [main] INFO org.seleniumhq.jetty9.server.session - node0 Scavenging every 600000ms 13:58:57.946 [main] INFO o.s.j.server.handler.ContextHandler - Started o.s.j.s.ServletContextHandler@4278284b{/,null,AVAILABLE} 13:58:57.954 [Matcher thread] INFO o.o.g.internal.DefaultGridRegistry - Shutting down registry. 13:58:57.963 [main] INFO o.s.jetty9.server.AbstractConnector - Stopped ServerConnector@6c0d7c83{HTTP/1.1,[http/1.1]}{0.0.0.0:4444} 13:58:57.963 [main] INFO org.seleniumhq.jetty9.server.session - node0 Stopped scavenging 13:58:57.966 [main] INFO o.s.j.server.handler.ContextHandler - Stopped o.s.j.s.ServletContextHandler@4278284b{/,null,UNAVAILABLE} 13:58:57.967 [main] ERROR org.openqa.grid.web.Hub - Port 4444 is busy, please choose a free port for the hub and specify it using -port option 13:58:58.009 [main] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'} 13:58:58.053 [cluster-ClusterId{value='6448e0caf711ef480761252f', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:4, serverValue:64}] to localhost:27017 13:58:58.053 [cluster-ClusterId{value='6448e0caf711ef480761252f', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=42206900} 13:58:58.055 [cluster-rtt-ClusterId{value='6448e0caf711ef480761252f', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:5, serverValue:65}] to localhost:27017 13:58:58.465 [main] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 13:58:58.488 [main] INFO o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 13:58:58.488 [main] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created. 13:58:58.489 [main] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 13:58:58.490 [main] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

13:58:58.490 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance. 13:58:58.491 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2 13:58:58.491 [main] INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@7502291e 13:58:58.893 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8087"] 13:58:58.906 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8087 (http) with context path '' 13:58:58.927 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Failed to declare queue: stf-devices 13:58:58.930 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Queue declaration failed; retries left=3 org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[stf-devices] at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:743) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:620) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:607) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1350) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1195) at java.lang.Thread.run(Thread.java:750) Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129) at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:1012) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1157) at com.sun.proxy.$Proxy61.queueDeclarePassive(Unknown Source) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:721) ... 5 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66) at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502) at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ... 14 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) ... 1 common frames omitted 13:59:03.955 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Failed to declare queue: stf-devices 13:59:03.956 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Queue declaration failed; retries left=2 org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[stf-devices] at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:743) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:620) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:607) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1350) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1195) at java.lang.Thread.run(Thread.java:750) Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129) at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:1012) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1157) at com.sun.proxy.$Proxy61.queueDeclarePassive(Unknown Source) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:721) ... 5 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66) at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502) at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ... 14 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) ... 1 common frames omitted 13:59:08.961 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Failed to declare queue: stf-devices 13:59:08.962 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Queue declaration failed; retries left=1 org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[stf-devices] at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:743) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:620) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:607) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1350) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1195) at java.lang.Thread.run(Thread.java:750) Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129) at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:1012) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1157) at com.sun.proxy.$Proxy61.queueDeclarePassive(Unknown Source) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:721) ... 5 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66) at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502) at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ... 14 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) ... 1 common frames omitted 13:59:13.969 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] WARN o.s.a.r.l.BlockingQueueConsumer - Failed to declare queue: stf-devices 13:59:13.970 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] ERROR o.s.a.r.l.SimpleMessageListenerContainer - Consumer threw missing queues exception, fatal=true org.springframework.amqp.rabbit.listener.QueuesNotAvailableException: Cannot prepare queue for listener. Either the queue doesn't exist or the broker will not allow us to use it. at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.handleDeclarationException(BlockingQueueConsumer.java:693) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:627) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:607) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1350) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1195) at java.lang.Thread.run(Thread.java:750) Caused by: org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[stf-devices] at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:743) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:620) ... 4 common frames omitted Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129) at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:1012) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1157) at com.sun.proxy.$Proxy61.queueDeclarePassive(Unknown Source) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:721) ... 5 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66) at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502) at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ... 14 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOTFOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) ... 1 common frames omitted 13:59:13.974 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry'; nested exception is org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup 13:59:13.976 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] ERROR o.s.a.r.l.SimpleMessageListenerContainer - Stopping container from aborted consumer 13:59:13.977 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] INFO o.s.a.r.l.SimpleMessageListenerContainer - Waiting for workers to finish. 13:59:13.977 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#0-1] INFO o.s.a.r.l.SimpleMessageListenerContainer - Successfully waited for workers to finish. 13:59:13.996 [main] INFO o.s.s.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler 13:59:13.997 [main] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler$_NONCLUSTERED shutting down. 13:59:13.997 [main] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler$_NONCLUSTERED paused. 13:59:13.997 [main] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler$_NON_CLUSTERED shutdown complete. 13:59:14.021 [main] INFO o.a.coyote.http11.Http11NioProtocol - Pausing ProtocolHandler ["http-nio-8087"] 13:59:14.022 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat] 13:59:14.028 [main] INFO o.a.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8087"] 13:59:14.031 [main] INFO o.a.coyote.http11.Http11NioProtocol - Destroying ProtocolHandler ["http-nio-8087"] 13:59:14.040 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener -

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 13:59:14.073 [main] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry'; nested exception is org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181) at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54) at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356) at java.lang.Iterable.forEach(Iterable.java:75) at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155) at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414) at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) at com.lampo.device_lab.master.MasterApplication.main(MasterApplication.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) Caused by: org.springframework.amqp.AmqpIllegalStateException: Fatal exception on listener startup at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.waitForConsumersToStart(SimpleMessageListenerContainer.java:601) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doStart(SimpleMessageListenerContainer.java:561) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:1387) at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.startIfNecessary(RabbitListenerEndpointRegistry.java:289) at org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry.start(RabbitListenerEndpointRegistry.java:239) at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) ... 22 common frames omitted Caused by: org.springframework.amqp.rabbit.listener.QueuesNotAvailableException: Cannot prepare queue for listener. Either the queue doesn't exist or the broker will not allow us to use it. at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.handleDeclarationException(BlockingQueueConsumer.java:693) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:627) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:607) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.initialize(SimpleMessageListenerContainer.java:1350) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1195) at java.lang.Thread.run(Thread.java:750) Caused by: org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[stf-devices] at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:743) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.passiveDeclarations(BlockingQueueConsumer.java:620) ... 4 common frames omitted Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129) at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:1012) at com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:1157) at com.sun.proxy.$Proxy61.queueDeclarePassive(Unknown Source) at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:721) ... 5 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66) at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502) at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293) at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ... 14 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no queue 'stf-devices' in vhost '/', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) ... 1 common frames omitted

satadip commented 1 year ago

Tried adding the queue manually via rabbitmqadmin commands. But getting the below error logs

@nishantkashyap18.

16:20:25.350 [main] INFO c.l.d.master.MasterApplication - Starting MasterApplication using Java 1.8.0_351 on Automations-MacBook-Pro.local with PID 16447 (/Users/automation/lampo/master/build/libs/master-1.0.0-RELEASE.jar started by automation in /Users/automation/lampo/master) 16:20:25.353 [main] INFO c.l.d.master.MasterApplication - No active profile set, falling back to default profiles: default 16:20:26.076 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 16:20:26.299 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 216 ms. Found 5 MongoDB repository interfaces. 16:20:26.885 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 80 (http) 16:20:26.898 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-80"] 16:20:26.899 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 16:20:26.900 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.56] 16:20:26.960 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext 16:20:26.960 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1547 ms 16:20:27.438 [main] INFO o.s.a.r.c.CachingConnectionFactory - Attempting to connect to: [localhost:5672] 16:20:27.519 [main] INFO o.s.a.r.c.CachingConnectionFactory - Created new connection: rabbitConnectionFactory#53aad5d5:0/SimpleConnection@4e268090 [delegate=amqp://guest@127.0.0.1:5672/, localPort= 51217] 16:20:27.673 [main] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'} 16:20:27.751 [cluster-ClusterId{value='644901f399ba7f58d62bfbbf', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:24}] to localhost:27017 16:20:27.752 [cluster-ClusterId{value='644901f399ba7f58d62bfbbf', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=26378249} 16:20:27.752 [cluster-rtt-ClusterId{value='644901f399ba7f58d62bfbbf', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:25}] to localhost:27017 16:20:28.317 [main] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:3, serverValue:26}] to localhost:27017 16:20:28.461 [main] INFO c.l.d.master.grid.GridSetupService - --------- starting selenium grid server with args '-role hub -port 4444 -matcher com.lampo.device_lab.master.grid.CustomGridNodeCapabilityMatcher -log /Users/automation/lampo/master/logs/selenium-server.txt -registry com.lampo.device_lab.master.grid.CustomGridRegistry -newSessionWaitTimeout 5000 -browserTimeout 180 -cleanUpCycle 180000 -throwOnCapabilityNotPresent false -timeout 180' --------- 16:20:28.512 [main] INFO o.o.grid.selenium.GridLauncherV3 - Selenium server version: unknown, revision: unknown 16:20:28.569 [main] INFO o.o.grid.selenium.GridLauncherV3 - Launching Selenium Grid hub on port 4444 16:20:28.897 [main] INFO org.seleniumhq.jetty9.util.log - Logging initialized @4800ms to org.seleniumhq.jetty9.util.log.Slf4jLog 16:20:28.975 [main] INFO org.seleniumhq.jetty9.server.Server - jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_351-b10 16:20:29.010 [main] INFO org.seleniumhq.jetty9.server.session - DefaultSessionIdManager workerName=node0 16:20:29.010 [main] INFO org.seleniumhq.jetty9.server.session - No SessionScavenger set, using defaults 16:20:29.012 [main] INFO org.seleniumhq.jetty9.server.session - node0 Scavenging every 600000ms 16:20:29.021 [main] INFO o.s.j.server.handler.ContextHandler - Started o.s.j.s.ServletContextHandler@3148f668{/,null,AVAILABLE} 16:20:29.046 [main] INFO o.s.jetty9.server.AbstractConnector - Started ServerConnector@3d246ea3{HTTP/1.1,[http/1.1]}{0.0.0.0:4444} 16:20:29.047 [main] INFO org.seleniumhq.jetty9.server.Server - Started @4949ms 16:20:29.047 [main] INFO org.openqa.grid.web.Hub - Selenium Grid hub is up and running 16:20:29.047 [main] INFO org.openqa.grid.web.Hub - Nodes should register to http://169.254.89.32:4444/grid/register/ 16:20:29.047 [main] INFO org.openqa.grid.web.Hub - Clients should connect to http://169.254.89.32:4444/wd/hub 16:20:29.082 [main] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'} 16:20:29.085 [cluster-rtt-ClusterId{value='644901f599ba7f58d62bfbc0', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:5, serverValue:28}] to localhost:27017 16:20:29.085 [cluster-ClusterId{value='644901f599ba7f58d62bfbc0', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:4, serverValue:27}] to localhost:27017 16:20:29.085 [cluster-ClusterId{value='644901f599ba7f58d62bfbc0', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=1456544} 16:20:29.550 [main] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 16:20:29.567 [main] INFO o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 16:20:29.567 [main] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created. 16:20:29.568 [main] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 16:20:29.569 [main] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

16:20:29.569 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance. 16:20:29.569 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2 16:20:29.569 [main] INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@4df5bcb4 16:20:29.985 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-80"] 16:20:29.995 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 80 (http) with context path '' 16:20:30.021 [main] INFO o.s.s.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now 16:20:30.022 [main] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED started. 16:20:30.048 [main] INFO c.l.d.master.MasterApplication - Started MasterApplication in 5.307 seconds (JVM running for 5.951) 16:20:30.121 [ForkJoinPool.commonPool-worker-3] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:7, serverValue:29}] to localhost:27017 16:20:30.122 [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#1-1] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:6, serverValue:30}] to localhost:27017 16:20:30.166 [ForkJoinPool.commonPool-worker-2] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:8, serverValue:31}] to localhost:27017 16:20:31.471 [Thread-12] INFO o.o.g.internal.DefaultGridRegistry - Registered a node http://192.168.50.62:4723 16:20:33.314 [Thread-13] INFO o.o.g.internal.DefaultGridRegistry - Registered a node http://192.168.50.62:4725 16:20:33.989 [Thread-14] INFO o.o.g.internal.DefaultGridRegistry - Registered a node http://192.168.50.62:4724 16:20:55.729 [http-nio-80-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' 16:20:55.729 [http-nio-80-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' 16:20:55.731 [http-nio-80-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 2 ms 16:21:01.101 [http-nio-80-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.StackOverflowError] with root cause java.lang.StackOverflowError: null at java.util.regex.Pattern$GroupTail.match(Pattern.java:4731) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3791) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672) at java.util.regex.Pattern$Branch.match(Pattern.java:4616) at java.util.regex.Pattern$Branch.match(Pattern.java:4616) at java.util.regex.Pattern$Branch.match(Pattern.java:4616) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4582) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4731) at java.util.regex.Pattern$Curly.match0(Pattern.java:4293) at java.util.regex.Pattern$Curly.match(Pattern.java:4248) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672) at java.util.regex.Pattern$Branch.match(Pattern.java:4618) at java.util.regex.Pattern$Branch.match(Pattern.java:4616) at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3812) at java.util.regex.Pattern$Start.match(Pattern.java:3475) at java.util.regex.Matcher.search(Matcher.java:1248) at java.util.regex.Matcher.find(Matcher.java:664) at java.util.Formatter.parse(Formatter.java:2549) at java.util.Formatter.format(Formatter.java:2501) at java.util.Formatter.format(Formatter.java:2455) at java.lang.String.format(String.java:2940) at com.mongodb.internal.operation.QueryBatchCursor.initFromQueryResult(QueryBatchCursor.java:325) at com.mongodb.internal.operation.QueryBatchCursor.(QueryBatchCursor.java:122) at com.mongodb.internal.operation.FindOperation$4.apply(FindOperation.java:920) at com.mongodb.internal.operation.FindOperation$4.apply(FindOperation.java:914) at com.mongodb.internal.operation.CommandOperationHelper.createReadCommandAndExecute(CommandOperationHelper.java:228) at com.mongodb.internal.operation.FindOperation.lambda$execute$1(FindOperation.java:666) at com.mongodb.internal.operation.OperationHelper.lambda$withSourceAndConnection$2(OperationHelper.java:564) at com.mongodb.internal.operation.OperationHelper.withSuppliedResource(OperationHelper.java:589) at com.mongodb.internal.operation.OperationHelper.lambda$withSourceAndConnection$3(OperationHelper.java:563) at com.mongodb.internal.operation.OperationHelper.withSuppliedResource(OperationHelper.java:589) at com.mongodb.internal.operation.OperationHelper.withSourceAndConnection(OperationHelper.java:562) at com.mongodb.internal.operation.FindOperation.lambda$execute$2(FindOperation.java:661) at com.mongodb.internal.async.function.RetryingSyncSupplier.get(RetryingSyncSupplier.java:65) at com.mongodb.internal.operation.FindOperation.execute(FindOperation.java:692) at com.mongodb.internal.operation.FindOperation.execute(FindOperation.java:86) at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:191) at com.mongodb.client.internal.MongoIterableImpl.execute(MongoIterableImpl.java:135) at com.mongodb.client.internal.MongoIterableImpl.iterator(MongoIterableImpl.java:92) at org.springframework.data.mongodb.core.MongoTemplate.executeFindMultiInternal(MongoTemplate.java:2830) at org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:2582) at org.springframework.data.mongodb.core.ExecutableFindOperationSupport$ExecutableFindSupport.doFind(ExecutableFindOperationSupport.java:220) at org.springframework.data.mongodb.core.ExecutableFindOperationSupport$ExecutableFindSupport.all(ExecutableFindOperationSupport.java:163) at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.lambda$getExecution$1(AbstractMongoQuery.java:148) at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.doExecute(AbstractMongoQuery.java:132) at org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:107) at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:159) at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:138) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:80) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy78.findByName(Unknown Source) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:99) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:94) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:95) at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101)