[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] NPE with tycho-buildtimestamp-jgit
|
The problem is windows-specific, everything works under osx and linux.
tycho-buildtimestamp-jgit sources are in [1]
Tycho development environment setup is documented in [2]. I did not
review/try instructions on that page recently, however.
[1]
http://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/tree/tycho-buildtimestamp-jgit
[2] http://wiki.eclipse.org/Developing_Tycho
--
Regards,
Igor
On 12-07-25 7:54 AM, Marco Lehmann-Mörz wrote:
Sorry, no luck.
I did a clean git clone
https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder.git and then
cls && mvn -X clean package -Dmaven.repo.local=.maven > mvn.log
The result is in the appended log file.
Maybe I can debug it? Any hints how to do that? What sources (from
where) do I need?
TIA,
Marco
2012/7/25 Igor Fedorenko <igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>>
I can't reproduce the problem. The project builds for me locally and
generated version qualifiers match git timestamp as far as I can tell.
Can you try with clean local repository?
--
Regards,
Igor
On 12-07-23 1:51 PM, Marco Lehmann-Mörz wrote:
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
<https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder.git>
HTH,
Marco
2012/7/23 Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx> <mailto:igor@xxxxxxxxxxxxxx
<mailto: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
<http://cwiki.apache.org/__confluence/display/MAVEN/__PluginExecutionException>
<http://cwiki.apache.org/__confluence/display/MAVEN/__PluginExecutionException
<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
<https://github.com/mlehmannm/__mlm-eclipse-ide-jsbuilder>
<https://github.com/mlehmannm/__mlm-eclipse-ide-jsbuilder
<https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder>>
TIA,
Marco
___________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
<mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>__>
https://dev.eclipse.org/____mailman/listinfo/tycho-user
<https://dev.eclipse.org/__mailman/listinfo/tycho-user>
<https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>>
___________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
<mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>__>
https://dev.eclipse.org/____mailman/listinfo/tycho-user
<https://dev.eclipse.org/__mailman/listinfo/tycho-user>
<https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>>
--
Tschö Marco
_________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>
_________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>
--
Tschö Marco
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user