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
in Scio pipelines that ingest triples in our databases. We were using com.spotify" %% "scio-test" % "0.8.0-beta2" % Test and all tests for test validation are green and passing but the moment we bump to com.spotify" %% "scio-test" % "0.8.0" % Test we get this exception in all test that are about validating Shex and that were working OK:
[info] - should validate simple examples *** FAILED ***
[info] java.lang.NullPointerException:
[info] at es.weso.rbe.interval.IntLimit.<init>(IntOrUnbounded.scala:110)
[info] at es.weso.shex.validator.Table$CTable$.max2IntOrUnbounded(Table.scala:178)
[info] at es.weso.shex.validator.Table$CTable$.mkTableAux(Table.scala:160)
[info] at es.weso.shex.validator.Table$CTable$.$anonfun$mkTableAux$2(Table.scala:112)
[info] at scala.util.Either.flatMap(Either.scala:341)
[info] at es.weso.shex.validator.Table$CTable$.comb$1(Table.scala:110)
[info] at es.weso.shex.validator.Table$CTable$.$anonfun$mkTableAux$5(Table.scala:116)
[info] at scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
[info] at scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
[info] at scala.collection.immutable.List.foldLeft(List.scala:89)
We are using shex with these dependencies (Scala 2.12) :
in Scio pipelines that ingest triples in our databases. We were using
com.spotify" %% "scio-test" % "0.8.0-beta2" % Test
and all tests for test validation are green and passing but the moment we bump tocom.spotify" %% "scio-test" % "0.8.0" % Test
we get this exception in all test that are about validating Shex and that were working OK:And looking at the offending code https://github.com/weso/shex-s/blob/master/modules/rbe/src/main/scala/es/weso/rbe/interval/IntOrUnbounded.scala#L110 it is in a function provided by scalastic that our dependency
scio-test
bumped from 3.0.8 to 3.1.0. So somehow that version bumping has a spurious interaction with the shex library but I weren't able to reproduce in downsizedbuild.sbt
(still trying).Does this bug report rings any bell on you?
The text was updated successfully, but these errors were encountered: