Skip to content

Instantly share code, notes, and snippets.

@djspiewak
Created July 7, 2025 18:52
Show Gist options
  • Save djspiewak/a46543ceab8ea8209e728a31015708fb to your computer and use it in GitHub Desktop.
Save djspiewak/a46543ceab8ea8209e728a31015708fb to your computer and use it in GitHub Desktop.
org.scalajs.linker.runtime.UndefinedBehaviorError: java.lang.NullPointerException
at $throwNullPointerException(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/main.js:67:9)
at $n(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/main.js:71:5)
at cats.effect.std.MutexSpec.<init>(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/file:/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/shared/src/test/scala/cats/effect/std/MutexSpec.scala:30:37)
at {anonymous}()(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/file:/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/shared/src/test/scala/cats/effect/std/MutexSpec.scala:28:13)
at scala.scalajs.reflect.InvokableConstructor.newInstance(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/https:/raw.githubusercontent.com/scala-js/scala-js/v1.17.0/library/src/main/scala/scala/scalajs/reflect/Reflect.scala:65:50)
at scala.scalajs.reflect.InstantiatableClass.newInstance(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/https:/raw.githubusercontent.com/scala-js/scala-js/v1.17.0/library/src/main/scala/scala/scalajs/reflect/Reflect.scala:43:23)
at org.specs2.reflect.Classes.newInstance(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/https:/raw.githubusercontent.com/etorreborre/specs2/specs2-4.20.5/common/js-native/src/main/scala/org/specs2/reflect/Classes.scala:21:25)
at org.specs2.reflect.Classes.newInstance(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/https:/raw.githubusercontent.com/etorreborre/specs2/specs2-4.20.5/common/js-native/src/main/scala/org/specs2/reflect/Classes.scala:72:8)
at org.specs2.reflect.Classes.newInstance(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/https:/raw.githubusercontent.com/etorreborre/specs2/specs2-4.20.5/common/js-native/src/main/scala/org/specs2/reflect/Classes.scala:72:8)
at org.specs2.reflect.Classes.newInstance(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/https:/raw.githubusercontent.com/etorreborre/specs2/specs2-4.20.5/common/js-native/src/main/scala/org/specs2/reflect/Classes.scala:72:8)
Caused by: java.lang.NullPointerException
at $throwNullPointerException(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/main.js:67:97)
at $n(/Users/daniel/Development/Scala/cats-effect/series-3.6.x/tests/js/target/scala-2.13/cats-effect-tests-test-fastopt/main.js:71:5)
... 8 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment