flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Metzger <rmetz...@apache.org>
Subject Re: Null pointer exception on pl.project13.maven:git-commit-id-plugin:2.1.5:revision
Date Wed, 03 Jun 2015 14:19:59 GMT
I think P├ęter had a similar issue recently. Did you resolve it?

I'll look into it now ...

On Wed, Jun 3, 2015 at 3:46 PM, F. Beligianni <faybeligianni@gmail.com>
wrote:

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message