gradle-gitsemver icon indicating copy to clipboard operation
gradle-gitsemver copied to clipboard

Plugin throws NPE for uninitialized (git) project

Open venkatperi opened this issue 11 years ago • 0 comments

When I use the plugin in a project a) yet to be initialized with git init or b) in a project initialized with git init but without an initial commit the plugin throws this null pointer exception (rather, groovy's equivalent):

> Cannot invoke method getObjectId() on null object

venkatperi avatar Mar 12 '14 22:03 venkatperi