Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] MatchExpression invalidation failure: Uncaught exception received by Vert.x: java.lang.IllegalStateException: This cache is not an instance of io.quarkus.cache.CaffeineCache #248

Closed
andrewazores opened this issue Jan 22, 2024 · 0 comments · Fixed by #255
Assignees
Labels
bug Something isn't working

Comments

@andrewazores
Copy link
Member

andrewazores commented Jan 22, 2024

Current Behavior

2024-01-22 11:07:21,169 INFO  [io.cry.ws.MessagingServer] (pool-8-thread-1) Broadcasting: {message=Rule<5>, meta={category=RuleDeleted}}
2024-01-22 11:07:21,169 INFO  [io.cry.ws.MessagingServer] (pool-8-thread-1) Broadcasting: {message=MatchExpression<5>, meta={category=ExpressionDeleted}}
2024-01-22 11:07:21,169 ERROR [io.qua.ver.cor.run.VertxCoreRecorder] (vert.x-eventloop-thread-9) Uncaught exception received by Vert.x: java.lang.IllegalStateException: This cache is not an instance of io.quarkus.cache.CaffeineCache
	at io.quarkus.cache.runtime.AbstractCache.as(AbstractCache.java:26)
	at io.cryostat.expressions.MatchExpressionEvaluator.invalidate(MatchExpressionEvaluator.java:109)
	at io.cryostat.expressions.MatchExpressionEvaluator.onMessage(MatchExpressionEvaluator.java:68)
	at io.cryostat.expressions.MatchExpressionEvaluator_ClientProxy.onMessage(Unknown Source)
	at io.cryostat.expressions.MatchExpressionEvaluator_VertxInvoker_onMessage_38ac9d892c9b05077a8ffa7126e1c8d353a99214.invokeBean(Unknown Source)
	at io.quarkus.vertx.runtime.EventConsumerInvoker.invoke(EventConsumerInvoker.java:41)
	at io.quarkus.vertx.runtime.VertxRecorder$3$1$1.handle(VertxRecorder.java:116)
	at io.quarkus.vertx.runtime.VertxRecorder$3$1$1.handle(VertxRecorder.java:112)
	at io.vertx.core.impl.ContextBase.lambda$null$0(ContextBase.java:137)
	at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264)
	at io.vertx.core.impl.ContextBase.lambda$executeBlocking$1(ContextBase.java:135)
	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:840)

2024-01-22 11:07:21,169 INFO  [io.qua.htt.access-log] (executor-thread-2) 127.0.0.1 - - [22/Jan/2024:11:07:21 -0500] "DELETE /api/v2/rules/my_rule?clean=true HTTP/1.1" 200 73

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

@andrewazores andrewazores added bug Something isn't working needs-triage Needs thorough attention from code reviewers labels Jan 22, 2024
@andrewazores andrewazores self-assigned this Jan 22, 2024
@andrewazores andrewazores removed the needs-triage Needs thorough attention from code reviewers label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant