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

Null pointer exception at redis.RedisCluster.$anonfun$onConnectStatus$1 #248

Open
jonaskoelker-jypo opened this issue Dec 12, 2022 · 0 comments

Comments

@jonaskoelker-jypo
Copy link

jonaskoelker-jypo commented Dec 12, 2022

I see the following stack trace in my logs:

java.lang.NullPointerException: null
	at redis.RedisCluster.$anonfun$onConnectStatus$1(RedisCluster.scala:44)
	at redis.RedisCluster.$anonfun$onConnectStatus$1$adapted(RedisCluster.scala:39)
	at redis.actors.RedisWorkerIO.onConnected(RedisWorkerIO.scala:70)
	at redis.actors.RedisWorkerIO$$anonfun$connecting$1.applyOrElse(RedisWorkerIO.scala:57)
	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:269)
	at akka.actor.Actor.aroundReceive(Actor.scala:537)
	at akka.actor.Actor.aroundReceive$(Actor.scala:535)
	at redis.actors.RedisWorkerIO.aroundReceive(RedisWorkerIO.scala:15)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:580)
	at akka.actor.ActorCell.invoke(ActorCell.scala:548)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
	at akka.dispatch.Mailbox.run(Mailbox.scala:231)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

This is with both version 2.6.1 and 2.7.0 of play-redis.
Play version is 2.8.5.
Scala version is 2.13.8.
This is running in an AWS cloud.
Expected behavior is the absence of null pointer exceptions.

To reproduce, run my entire non-open source in the AWS account I'm not going to share, I guess :|
I haven't noticed correlations with anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant