snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Clicking from dev UI tests from container getting an error #326

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug

Clicking from dev UI tests from container throwing an Internal server error

Expected behavior

Should navigate to new test tab

Actual behavior

Throwing an error io.quarkus.qute.TemplateException: Loop error in template [io.quarkus.quarkus-vertx-http/test] on line 47: {info:tests.results.passing} not found, use {info:tests.results.passing.orEmpty} to ignore this error at io.quarkus.qute.LoopSectidev UI tesstonHelper.extractIterator(LoopSectionHelper.java:119) at io.quarkus.qute.LoopSectionHelper.lambda$resolve$1(LoopSectionHelper.java:44) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143) at io.quarkus.qute.LoopSectionHelper.resolve(LoopSectionHelper.java:36) at io.quarkus.qute.SectionNode.resolve(SectionNode.java:36) at io.quarkus.qute.SectionNode$SectionResolutionContextImpl.execute(SectionNode.java:161) at io.quarkus.qute.InsertSectionHelper.resolve(InsertSectionHelper.java:20) at io.quarkus.qute.SectionNode.resolve(SectionNode.java:36) at io.quarkus.qute.SectionNode$SectionResolutionContextImpl.execute(SectionNode.java:161) at io.quarkus.qute.SectionHelper$SectionResolutionContext.execute(SectionHelper.java:37) at io.quarkus.qute.Parser$1.resolve(Parser.java:1003) at io.quarkus.qute.SectionNode.resolve(SectionNode.java:36) at io.quarkus.qute.IncludeSectionHelper.lambda$resolve$1(IncludeSectionHelper.java:45) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:883) at java.base/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2251) at java.base/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:143) at io.quarkus.qute.IncludeSectionHelper.resolve(IncludeSectionHelper.java:37) at io.quarkus.qute.SectionNode.resolve(SectionNode.java:36) at io.quarkus.qute.SectionNode$SectionResolutionContextImpl.execute(SectionNode.java:161) at io.quarkus.qute.SectionHelper$SectionResolutionContext.execute(SectionHelper.java:37) at io.quarkus.qute.Parser$1.resolve(Parser.java:1003) at io.quarkus.qute.SectionNode.resolve(SectionNode.java:36) at io.quarkus.qute.TemplateImpl$TemplateInstanceImpl.renderData(TemplateImpl.java:104) at io.quarkus.qute.TemplateImpl$TemplateInstanceImpl.renderAsync(TemplateImpl.java:90) at io.quarkus.vertx.http.deployment.devmode.console.DevConsole.renderTemplate(DevConsole.java:129) at io.quarkus.vertx.http.deployment.devmode.console.DevConsole.handle(DevConsole.java:109) at io.quarkus.vertx.http.deployment.devmode.console.DevConsole.handle(DevConsole.java:33) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1129) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:151) at io.vertx.ext.web.impl.RoutingContextWrapper.next(RoutingContextWrapper.java:196) at io.quarkus.vertx.http.deployment.devmode.console.FlashScopeHandler.handle(FlashScopeHandler.java:12) at io.quarkus.vertx.http.deployment.devmode.console.FlashScopeHandler.handle(FlashScopeHandler.java:7) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1129) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:151) at io.vertx.ext.web.impl.RoutingContextWrapper.next(RoutingContextWrapper.java:196) at io.vertx.ext.web.impl.RouterImpl.handleContext(RouterImpl.java:236) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1129) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:151) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:133) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:55) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:37) at io.quarkus.vertx.http.deployment.devmode.console.DevConsoleProcessor$2$1.handle(DevConsoleProcessor.java:189) at io.quarkus.vertx.http.deployment.devmode.console.DevConsoleProcessor$2$1.handle(DevConsoleProcessor.java:186) at io.vertx.core.impl.EventLoopContext.emit(EventLoopContext.java:52) at io.vertx.core.impl.EventLoopContext.lambda$emit$1(EventLoopContext.java:59) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) Resulted in: java.util.concurrent.CompletionException: io.quarkus.qute.TemplateException: Loop error in template [io.quarkus.quarkus-vertx-http/test] on line 47: {info:tests.results.passing} not found, use {info:tests.results.passing.orEmpty} to ignore this error at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1113) ... 52 more

To Reproduce

https://github.com/hhovhann/quarkus-dev-ui-reproducer

Or attach an archive containing the reproducer to the issue.

Steps to reproduce the behavior:

  1. Run application: ./mvnw -Pdrp -Dquarkus.profile=drp clean compile quarkus:dev
  2. Goto http://localhost:8080/q/dev/
  3. Click to Tests -> http://localhost:8080/q/dev/io.quarkus.quarkus-vertx-http/test

Configuration

# Add your application.properties here, if applicable.

Screenshots

(If applicable, add screenshots to help explain your problem.)

Environment (please complete the following information):

Output of uname -a or ver

MINGW64_NT-10.0-19041 hhovhann 3.1.4-340.x86_64 2020-05-19 12:55 UTC x86_64 Msys

Output of java -version

openjdk version "11.0.9.1" 2020-11-04 LTS OpenJDK Runtime Environment Zulu11.43+55-CA (build 11.0.9.1+1-LTS) OpenJDK 64-Bit Server VM Zulu11.43+55-CA (build 11.0.9.1+1-LTS, mixed mode)

GraalVM version (if different from Java)

Quarkus version or git rev

2.0.0..Alpha1

Build tool (ie. output of mvnw --version or gradlew --version)

./mvnw -Pdrp -Dquarkus.profile=drp clean compile quarkus:dev

Additional context

(Add any other context about the problem here.)


https://github.com/quarkusio/quarkus/issues/16805


$upstream:16805$