Andy Lee

Results 5 comments of Andy Lee

What is the symptom? I'm getting: "Cannot invoke method getObjectId() on null object" when I invoke `versionDetails()` in my `build.gradle`, and am wondering if it is the same issue.

and the stacktrace looks like: ``` Caused by: java.lang.NullPointerException: Cannot invoke method getObjectId() on null object at com.palantir.gradle.gitversion.GitVersionPlugin.memoizedMethodPriv$gitHashProject(GitVersionPlugin.groovy:86) at com.palantir.gradle.gitversion.GitVersionPlugin$_closure4.doCall(GitVersionPlugin.groovy) at com.palantir.gradle.gitversion.GitVersionPlugin.gitHash(GitVersionPlugin.groovy) at com.palantir.gradle.gitversion.GitVersionPlugin.memoizedMethodPriv$versionDetailsProject(GitVersionPlugin.groovy:53) at com.palantir.gradle.gitversion.GitVersionPlugin$_closure1.doCall(GitVersionPlugin.groovy) at com.palantir.gradle.gitversion.GitVersionPlugin.versionDetails(GitVersionPlugin.groovy) at com.palantir.gradle.gitversion.GitVersionPlugin$_apply_closure8.doCall(GitVersionPlugin.groovy:38)...

And it worked with git worktrees on version `0.7.2` of the git-version plugin, but fails on `0.7.3`.

First we create a build with which to run tests (using a snapshot version). Only if the tests pass do we run semantic-release to repackage with the generated version and...

That fix looks like it modifies the build of the plugin itself to work with gradle 2.6 What @antony is talking about is that the plugin doesn't work with a...