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

sbt NullPointerException resolved by using sbt 0.13.16 #20

Open
DavidAStevenson opened this issue Dec 15, 2021 · 0 comments
Open

sbt NullPointerException resolved by using sbt 0.13.16 #20

DavidAStevenson opened this issue Dec 15, 2021 · 0 comments

Comments

@DavidAStevenson
Copy link

I am reading this book years after it was published, and wanted to have a play with the code samples.

Running sbt in CodeSamples eventually turned up a NullPointerException as shown further below.

I was able to get around this by updating project/build.properties as follows, so I leave this as a note for any others who might follow:
-sbt.version=0.13.8
+sbt.version=0.13.16
(higher versions might work too, but I stuck with the 0.13 series)

~/src/ReactiveDesignPatterns/CodeSamples$ sbt
copying runtime jar...
[info] [launcher] getting org.scala-sbt sbt 0.13.8 (this may take some time)...
...
[info] Done updating.
java.lang.NullPointerException
at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770)
at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
...

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