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
SEVERE: HTTP 500: class java.io.IOException cannot be cast to class io.cryostat.net.reports.SubprocessReportGenerator$ReportGenerationException (java.io.IOException is in module java.base of loader 'bootstrap'; io.cryostat.net.reports.SubprocessReportGenerator$ReportGenerationException is in unnamed module of loader 'app')
io.vertx.ext.web.handler.impl.HttpStatusException: Internal Server Error
Caused by: java.lang.ClassCastException: class java.io.IOException cannot be cast to class io.cryostat.net.reports.SubprocessReportGenerator$ReportGenerationException (java.io.IOException is in module java.base of loader 'bootstrap'; io.cryostat.net.reports.SubprocessReportGenerator$ReportGenerationException is in unnamed module of loader 'app')
at io.cryostat.net.web.http.api.v1.TargetReportGetHandler.targetRecordingNotFound(TargetReportGetHandler.java:134)
at io.cryostat.net.web.http.api.v1.TargetReportGetHandler.handleAuthenticated(TargetReportGetHandler.java:124)
at io.cryostat.net.web.http.AbstractAuthenticatedRequestHandler.handle(AbstractAuthenticatedRequestHandler.java:90)
at io.cryostat.net.web.http.AbstractAuthenticatedRequestHandler.handle(AbstractAuthenticatedRequestHandler.java:65)
at io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)
at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$2(ContextImpl.java:313)
at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
[INFO] Running itest.ReportJwtDownloadIT
Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.388 s <<< FAILURE! - in itest.ReportJwtDownloadIT
Error: testDownloadRecordingUsingJwt Time elapsed: 10.387 s <<< ERROR!
java.util.concurrent.ExecutionException: java.lang.Exception: HTTP 500
at itest.ReportJwtDownloadIT.testDownloadRecordingUsingJwt(ReportJwtDownloadIT.java:68)
Caused by: java.lang.Exception: HTTP 500
This log seems strange. The itest client-side logs show that it was ReportJwtDownloadIT that failed, which should be calling through the beta JWT asset download path, so perhaps this test is written incorrectly and is making the request through the original /api/v1 handler.
Either way, the ClassCastException on the server-side logs reveal a problem that appears to be present in both the v1 and beta handlers since the beta implementation here is a copy-paste of the v1 implementation.
The text was updated successfully, but these errors were encountered:
https://github.com/cryostatio/cryostat/runs/4388180314?check_suite_focus=true#step:9:1081
https://github.com/cryostatio/cryostat/blob/d486871f35479b18c1a44360fe4e18697bee58ff/src/main/java/io/cryostat/net/web/http/api/v1/TargetReportGetHandler.java#L132 / https://github.com/cryostatio/cryostat/blob/d486871f35479b18c1a44360fe4e18697bee58ff/src/main/java/io/cryostat/net/web/http/api/beta/TargetReportGetHandler.java#L139
This log seems strange. The itest client-side logs show that it was
ReportJwtDownloadIT
that failed, which should be calling through thebeta
JWT asset download path, so perhaps this test is written incorrectly and is making the request through the original/api/v1
handler.Either way, the
ClassCastException
on the server-side logs reveal a problem that appears to be present in both thev1
andbeta
handlers since thebeta
implementation here is a copy-paste of thev1
implementation.The text was updated successfully, but these errors were encountered: