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

Async API throws an exception when serialization fails #83

Closed
KarelCemus opened this issue Mar 27, 2017 · 0 comments
Closed

Async API throws an exception when serialization fails #83

KarelCemus opened this issue Mar 27, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@KarelCemus
Copy link
Owner

AsyncCache throws an actual exception instead of returning failing Future as is expected.
It happens when serialization fails at:

	at play.api.cache.redis.exception.package$.serializationFailed(package.scala:18)
	at play.api.cache.redis.connector.RedisConnectorImpl$$anonfun$play$api$cache$redis$connector$RedisConnectorImpl$$encode$1.applyOrElse(RedisConnectorImpl.scala:87)
	at play.api.cache.redis.connector.RedisConnectorImpl$$anonfun$play$api$cache$redis$connector$RedisConnectorImpl$$encode$1.applyOrElse(RedisConnectorImpl.scala:86)
	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
	at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:216)
	at scala.util.Try$.apply(Try.scala:192)
	at scala.util.Failure.recover(Try.scala:216)
	at play.api.cache.redis.connector.RedisConnectorImpl.play$api$cache$redis$connector$RedisConnectorImpl$$encode(RedisConnectorImpl.scala:86)
	at play.api.cache.redis.connector.RedisConnectorImpl.set(RedisConnectorImpl.scala:82)
	at play.api.cache.redis.impl.RedisCache$$anonfun$set$1.apply(RedisCache.scala:23)
	at play.api.cache.redis.impl.RedisCache$$anonfun$set$1.apply(RedisCache.scala:23)
	at play.api.cache.redis.impl.Builders$AsynchronousBuilder$.toResult(Builders.scala:33)
	at play.api.cache.redis.impl.Builders$AsynchronousBuilder$.toResult(Builders.scala:28)
	at play.api.cache.redis.impl.Implicits$RecoveryUnitFuture.recoverWithUnit(Implicits.scala:39)
	at play.api.cache.redis.impl.RedisCache.set(RedisCache.scala:23)
@KarelCemus KarelCemus added the bug label Mar 27, 2017
@KarelCemus KarelCemus self-assigned this Mar 27, 2017
@KarelCemus KarelCemus added this to the 1.5.0 milestone May 11, 2017
@KarelCemus KarelCemus modified the milestones: 1.4.1, 1.5.0 May 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant