Error when uploading build scan

I got the following error when uploading a build scan:

Gradle version: 3.3-20161128195544+0000
Plugin version: 1.3

java.lang.NullPointerException
at com.gradle.scan.plugin.internal.a.j.e.a(SourceFile:77)
at com.gradle.scan.plugin.internal.c.e.run(SourceFile:62)

java.lang.NullPointerException
at com.gradle.scan.plugin.internal.a.j.e.a(SourceFile:77)
at com.gradle.scan.plugin.internal.c.e.run(SourceFile:62)

java.lang.NullPointerException
at com.gradle.scan.plugin.internal.a.j.e.a(SourceFile:77)
at com.gradle.scan.plugin.internal.c.e.run(SourceFile:62)

java.lang.NullPointerException
at com.gradle.scan.plugin.internal.a.j.f.a(SourceFile:91)
at com.gradle.scan.plugin.internal.c.e.run(SourceFile:62)

java.lang.NullPointerException
at com.gradle.scan.plugin.internal.a.j.f.a(SourceFile:91)
at com.gradle.scan.plugin.internal.c.e.run(SourceFile:62)

java.lang.NullPointerException
at com.gradle.scan.plugin.internal.a.j.f.a(SourceFile:91)
at com.gradle.scan.plugin.internal.c.e.run(SourceFile:62)


I’m creating a build scan against [GRADLE_SOURCE]//usr/local/hans/gradle-source/subprojects/docs/src/samples/java/quickstart

I only get this exception when running gradle clean build -u -Dscan not when running gradle build -u -Dscan. Here is the build scan for the latter: https://gradle.com/s/45s6cocp2crxu

Hi @hansd,

Looks like you were using a Gradle nightly with changes incompatible with the build scan plugin.
Our CI infrastructure also warned us about these changes, and this has been fixed in Gradle Build Tool.

Can you try with the latest nightly ?

François

Thanks Francois, with the latest Gradle this is now working.

Hans