Closing MQTT connection failed: Connect already in progress (32110) Closing MQTT connection failed: Connect already in progress (32110) [AWT-EventQueue-0] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0 [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0 [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0 [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0 WARNING: Clock: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [28.0] Jun 06, 2022 2:17:24 AM io.vertx.core.impl.ContextImpl SEVERE: Unhandled exception java.lang.IllegalStateException: Response is closed at io.vertx.core.http.impl.HttpServerResponseImpl.checkValid(HttpServerResponseImpl.java:548) at io.vertx.core.http.impl.HttpServerResponseImpl.end0(HttpServerResponseImpl.java:401) at io.vertx.core.http.impl.HttpServerResponseImpl.end(HttpServerResponseImpl.java:319) at io.vertx.core.http.impl.HttpServerResponseImpl.end(HttpServerResponseImpl.java:308) at io.vertx.ext.web.impl.RoutingContextImplBase.unhandledFailure(RoutingContextImplBase.java:166) at io.vertx.ext.web.impl.RoutingContextImpl.checkHandleNoMatch(RoutingContextImpl.java:129) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:121) at io.vertx.ext.web.impl.RoutingContextImpl.doFail(RoutingContextImpl.java:452) at io.vertx.ext.web.impl.RoutingContextImpl.fail(RoutingContextImpl.java:153) at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$null$0(StaticHandlerImpl.java:218) at io.vertx.ext.web.handler.impl.StaticHandlerImpl.getFileProps(StaticHandlerImpl.java:302) at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$sendStatic$1(StaticHandlerImpl.java:205) at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:76) at io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:289) at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:339) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Jun 06, 2022 2:17:24 AM io.vertx.core.impl.ContextImpl SEVERE: Unhandled exception java.lang.IllegalStateException: Response is closed at io.vertx.core.http.impl.HttpServerResponseImpl.checkValid(HttpServerResponseImpl.java:548) at io.vertx.core.http.impl.HttpServerResponseImpl.end0(HttpServerResponseImpl.java:401) at io.vertx.core.http.impl.HttpServerResponseImpl.end(HttpServerResponseImpl.java:319) at io.vertx.core.http.impl.HttpServerResponseImpl.end(HttpServerResponseImpl.java:308) at io.vertx.ext.web.impl.RoutingContextImplBase.unhandledFailure(RoutingContextImplBase.java:166) at io.vertx.ext.web.impl.RoutingContextImpl.checkHandleNoMatch(RoutingContextImpl.java:129) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:121) at io.vertx.ext.web.impl.RoutingContextImpl.doFail(RoutingContextImpl.java:452) at io.vertx.ext.web.impl.RoutingContextImpl.fail(RoutingContextImpl.java:153) at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$null$0(StaticHandlerImpl.java:218) at io.vertx.ext.web.handler.impl.StaticHandlerImpl.getFileProps(StaticHandlerImpl.java:302) at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$sendStatic$1(StaticHandlerImpl.java:205) at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:76) at io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:289) at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:339) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) WARNING: Clock: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [11.0] WARNING: Clock: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [11.0] [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0 WARNING: Invoking send() too late (probably in a callback), so Camera is not able to send the token {type="class ptolemy.data.AWTImageToken", width="640", height="480"} to the output image. Token is discarded. [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0 WARNING: Invoking send() too late (probably in a callback), so WebSocketServer is not able to send the token {socketID = 0, status = "closed"} to the output connection. Token is discarded. WARNING: Invoking send() too late (probably in a callback), so WebSocketServer is not able to send the token {socketID = 0, status = "closed"} to the output connection. Token is discarded. WARNING: WebSocketClient: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [101.0] WARNING: TestSpontaneous: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [26.0] [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0 [atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0 WARNING: TestSpontaneous: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [12.5] WSClient: Connection failed after 11 tries: Connection refused: localhost/127.0.0.1:8082 Connection refused Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor