Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] NPE in building p2 update site with 0.16.0.SNAPSHOT

Hi Igor,

I run Ubuntu 12.04. Running

mvn clean install -Pits

results in the warning: [WARNING] The requested profile "its" could
not be activated because it does not exist.

Best regards, Lars

2012/8/20 Igor Fedorenko <igor@xxxxxxxxxxxxxx>:
> Assuming you are on windows, are you able to run
> tycho-buildtimestamp-jgit integration tests (i.e. "mvn clean install
> -Pits")?
>
> --
> Regards,
> Igor
>
>
> On 12-08-20 6:10 AM, Lars Vogel wrote:
>>
>> Hi,
>>
>> I'm trying to setup a tycho build for the e4 tools project. During the
>> build of the p2 update site  with 0.16.0.SNAPSHOT I receive an error
>> similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=386133.
>> Details below.
>>
>> The bug is marked as fixed. Is this something else?
>>
>> Best regards, Lars
>>
>>
>> [ERROR] Failed to execute goal
>> org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier
>> (default-build-qualifier) on project org.eclipse.e4.tools.updatesite:
>> Execution default-build-qualifier 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 org.eclipse.e4.tools.updatesite:
>> 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:616)
>>         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:87)
>>         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
>> _______________________________________________
>> 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


Back to the top