I have the same problem on one of my computers but not on the other one.
I've read somewhere that it can be related to the git
version/configuration. I'm not completely sure, though.

Peter

2015-06-03 15:46 GMT+02:00 F. Beligianni <faybeligia...@gmail.com>:

> Hello,
>
> I have a problem to build Flink master branch. Specifically, when I am
> running "mvn clean install" in master branch I take the following
> exception:
>
>
> [ERROR] Failed to execute goal
> pl.project13.maven:git-commit-id-plugin:2.1.5:revision (default) on project
> flink-runtime: Execution default of goal
> pl.project13.maven:git-commit-id-plugin:2.1.5:revision failed.
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal pl.project13.maven:git-commit-id-plugin:2.1.5:revision (default) on
> project flink-runtime: Execution default of goal
> pl.project13.maven:git-commit-id-plugin:2.1.5:revision failed.
>   at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
>   at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>   at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>   at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>   at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>   at
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>   at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
>   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at
>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>   at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>   at
>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>   at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
> default of goal pl.project13.maven:git-commit-id-plugin:2.1.5:revision
> failed.
>   at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
>   at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>   ... 20 more
> Caused by: java.lang.NullPointerException
>   at org.eclipse.jgit.lib.ObjectIdOwnerMap.get(ObjectIdOwnerMap.java:131)
>   at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:810)
>   at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:725)
>   at
>
> pl.project13.maven.git.GitCommitIdMojo.loadGitData(GitCommitIdMojo.java:386)
>   at
> pl.project13.maven.git.GitCommitIdMojo.execute(GitCommitIdMojo.java:269)
>   at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>   ... 21 more
> [ERROR]
>
>
> Maven and java versions that I am using are:
>
> Apache Maven 3.3.1
> Maven home: /usr/local/Cellar/maven/3.3.1/libexec
> Java version: 1.8.0_40, vendor: Oracle Corporation
>
>
> It seams that no one else has this problem, especially with building the
> master branch, so any help about how to get over this problem would be
> highly appreciated!
>
> BR,
> Faye
>

Reply via email to