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

SlickProjectionSpec: A Slick grouped projection must restart from previous offset - handler throwing an exception, save after 2 #192

Open
raboof opened this issue Jul 22, 2024 · 0 comments

Comments

@raboof
Copy link
Member

raboof commented Jul 22, 2024

https://github.com/apache/pekko-projection/actions/runs/10040359450/job/27746257858

Notably:

org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: NULL not allowed for column "CONCATENATED"; SQL statement:
merge into "TEST_MODEL" ("ID","CONCATENATED")  values (?,?) [23502-224]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:520)

and

[info]   check: last seen offset is 2L The Option on which value was invoked was not defined. (SlickProjectionSpec.scala:953)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.OptionValues$OptionValuable.value(OptionValues.scala:114)
[info]   at org.apache.pekko.projection.slick.SlickProjectionSpec.f$proxy17$1$$anonfun$4(SlickProjectionSpec.scala:953)
[info]   at org.scalatest.Assertions.withClue(Assertions.scala:1208)
[info]   at org.scalatest.Assertions.withClue$(Assertions.scala:421)
[info]   at org.apache.pekko.actor.testkit.typed.scaladsl.ScalaTestWithActorTestKit.withClue(ScalaTestWithActorTestKit.scala:41)
[info]   at org.apache.pekko.projection.slick.SlickProjectionSpec.f$proxy17$1(SlickProjectionSpec.scala:955)
[info]   at org.apache.pekko.projection.slick.SlickProjectionSpec.$init$$$anonfun$3$$anonfun$5(SlickProjectionSpec.scala:923)

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

No branches or pull requests

1 participant