Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Tycho build-qualifier-aggregator failed NPE when building osgistarter.config.launcher

Strangely if I modify the feature.xml and pom.xml to change version="1.0.0.qualifier" to just version="1.0.0" I am able to successfully build. It seems there is issue when using the .qualifier.


Thanh

On 09/17/2012 09:49 PM, Thanh Ha wrote:
Hi Everyone,

I'm trying to add "osgistarter.config.launcher" from eclipsebuilder to CBI but am running into a build-qualifier-aggregator error below. The contents of osgistarter.config.launcher looks similar to the existing rcp.config so I thought I could use a similar pom.xml but that doesn't seem to be the case. Does anyone have any ideas what might be causing this error?

Thanks,


Thanh


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator (default-build-qualifier-aggregator) on project org.eclipse.osgi.configuration: Execution default-build-qualifier-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator 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-aggregator (default-build-qualifier-aggregator) on project org.eclipse.osgi.configuration: Execution default-build-qualifier-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator 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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator 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.BuildQualifierAggregatorMojo.getBuildTimestamp(BuildQualifierAggregatorMojo.java:51)
        at org.eclipse.tycho.buildversion.BuildQualifierMojo.execute(BuildQualifierMojo.java:156)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev



Back to the top