Skip to content

sbt NullPointerException resolved by using sbt 0.13.16 #20

Open
@DavidAStevenson

Description

@DavidAStevenson

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)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions