Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] NPE with tycho-buildtimestamp-jgit

Hello Igor,

I just cloned the repository in question and the stacktrace appeared. Maybe there is a mistake in my parent pom (at the root).

https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder.git


HTH,
Marco

2012/7/23 Igor Fedorenko <igor@xxxxxxxxxxxxxx>
Have you committed the project in question to git repository? Are you
able to provide small standalone example we can use to reproduce the
problem?

--
Regards,
Igor


On 12-07-23 5:20 AM, Marco Lehmann-Mörz wrote:
Hi there!

I'm trying the tycho-buildtimestamp-jgit plugin without luck.
Everytime I get the following stack trace:

[DEBUG] -- end configuration --
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] mlm.eclipse.ide.jsbuilder-parent .................. SUCCESS [0.281s]
[INFO] mlm.eclipse.ide.jsbuilder ......................... FAILURE [0.718s]
[INFO] mlm.eclipse.ide.jsbuilder.feature ................. SKIPPED
[INFO] mlm.eclipse.ide.jsbuilder-repository .............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 34.063s
[INFO] Finished at: Mon Jul 23 10:56:37 CEST 2012
[INFO] Final Memory: 74M/178M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier
(default-build-qualifier) on project mlm.eclipse.ide.jsbuilder:
Execution default-build-quali
fier of goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier
failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier
(default-build-qualifier) on project mlm.ecli
pse.ide.jsbuilder: Execution default-build-qualifier of goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier
failed.
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
         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:84)
         at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-build-qualifier of goal
org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier
failed.
         at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
         ... 19 more
Caused by: java.lang.NullPointerException
         at
org.eclipse.tycho.extras.buildtimestamp.jgit.JGitBuildTimestampProvider.getTimestamp(JGitBuildTimestampProvider.java:86)
         at
org.eclipse.tycho.buildversion.BuildQualifierMojo.getBuildTimestamp(BuildQualifierMojo.java:182)
         at
org.eclipse.tycho.buildversion.BuildQualifierMojo.execute(BuildQualifierMojo.java:156)
         at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
         ... 20 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :mlm.eclipse.ide.jsbuilder


Please have a look at https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder


TIA,
Marco



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Tschö Marco


Back to the top