You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing Dev UI cards in a multi-module Maven repo the Dev UI fails to render when accessing it using /q/dev. See screenshot below.
Here is the stack trace from the screenshot:
io.quarkus.qute.TemplateException: Property not found in expression {info:arcContainer.observers.size} in template io.quarkus.quarkus-arc/embedded.html on line 7
at io.quarkus.vertx.http.deployment.devmode.console.DevConsoleProcessor$5.map(DevConsoleProcessor.java:503)
at io.quarkus.qute.SingleResultNode.process(SingleResultNode.java:25)
at io.quarkus.qute.MultiResultNode.process(MultiResultNode.java:29)
at io.quarkus.qute.TemplateImpl$TemplateInstanceImpl.lambda$renderData$3(TemplateImpl.java:110)
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.TemplateImpl$TemplateInstanceImpl.renderData(TemplateImpl.java:104)
at io.quarkus.qute.TemplateImpl$TemplateInstanceImpl.renderAsync(TemplateImpl.java:90)
at io.quarkus.qute.TemplateImpl$TemplateInstanceImpl.render(TemplateImpl.java:55)
at io.quarkus.qute.Template.render(Template.java:109)
at io.quarkus.vertx.http.deployment.devmode.console.DevConsole.sendMainPage(DevConsole.java:166)
at io.quarkus.vertx.http.deployment.devmode.console.DevConsole.handle(DevConsole.java:97)
at io.quarkus.vertx.http.deployment.devmode.console.DevConsole.handle(DevConsole.java:34)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1127)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:151)
at io.vertx.ext.web.impl.RoutingContextWrapper.next(RoutingContextWrapper.java:201)
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:1127)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:151)
at io.vertx.ext.web.impl.RoutingContextWrapper.next(RoutingContextWrapper.java:201)
at io.vertx.ext.web.impl.RouterImpl.handleContext(RouterImpl.java:236)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1127)
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:191)
at io.quarkus.vertx.http.deployment.devmode.console.DevConsoleProcessor$2$1.handle(DevConsoleProcessor.java:188)
at io.vertx.core.impl.EventLoopContext.emit(EventLoopContext.java:49)
at io.vertx.core.impl.EventLoopContext.lambda$emit$1(EventLoopContext.java:56)
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)
Expected behavior
In Quarkus 1.13 any Quarkus extensions "local" to the multi-module Maven project which provided a Dev UI didn't render correctly, they were just rendered as standard extensions (without explicit Dev UI card). I think this is acceptable.
For multi-module Maven repos developing Quarkus extensions it would be nice if at least the cards provided by Quarkus itself would render properly.
Actual behavior
The Dev UI completely fails to render. I get the impression that this has to do with build steps using DevConsoleRuntimeTemplateInfoBuildItem(String, Supplier) and is possibly also related to the fact that ArtifactInfoUtil#groupIdAndArtifactId() is unable to determine the group-id and artifact-id of the corresponding extension.
To Reproduce
Run the following inside the Quarkus Git repo: mvn quarkus:dev -f integration-tests/resteasy-jackson/
Access http://localhost:8080/q/dev in the browser
Screenshots
Environment (please complete the following information):
Output of uname -a or ver
$ uname -a
MSYS_NT-10.0-19043 WIN10-KNUT 3.1.7-340.x86_64 2020-10-23 13:08 UTC x86_64 Msys
Output of java -version
$ java -version
openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+22-SA (build 11.0.9+11-LTS)
OpenJDK 64-Bit Server VM Zulu11.43+22-SA (build 11.0.9+11-LTS, mixed mode)
GraalVM version (if different from Java)
Quarkus version or git rev
2.0.0.CR3
Build tool (ie. output of mvnw --version or gradlew --version)
@knutwannheden You're right that the code in DevConsoleRuntimeTemplateInfoBuildItem constructor is not able to find the corresponding groupId and artifactId. It fails now becuase the issue with "local" extensions was partially fixed in the PR for #16699.
We can try to supply the CurateOutcomeBuildItem that can be used here or the pom.properties like here.
Describe the bug
When developing Dev UI cards in a multi-module Maven repo the Dev UI fails to render when accessing it using
/q/dev
. See screenshot below.Here is the stack trace from the screenshot:
Expected behavior
In Quarkus 1.13 any Quarkus extensions "local" to the multi-module Maven project which provided a Dev UI didn't render correctly, they were just rendered as standard extensions (without explicit Dev UI card). I think this is acceptable.
For multi-module Maven repos developing Quarkus extensions it would be nice if at least the cards provided by Quarkus itself would render properly.
Actual behavior
The Dev UI completely fails to render. I get the impression that this has to do with build steps using
DevConsoleRuntimeTemplateInfoBuildItem(String, Supplier)
and is possibly also related to the fact thatArtifactInfoUtil#groupIdAndArtifactId()
is unable to determine the group-id and artifact-id of the corresponding extension.To Reproduce
mvn quarkus:dev -f integration-tests/resteasy-jackson/
http://localhost:8080/q/dev
in the browserScreenshots
Environment (please complete the following information):
Output of
uname -a
orver
Output of
java -version
GraalVM version (if different from Java)
Quarkus version or git rev
2.0.0.CR3
Build tool (ie. output of
mvnw --version
orgradlew --version
)The text was updated successfully, but these errors were encountered: