Hi, when building AS 5.2.1 p2-profile-gen/pom [1] i'm getting the following error [2].
Seems its a misconfiguration on p2-plugin, worker profile, but I cannot figure out what's missing. I did compare with other released products too, but couldn't find anything out of place. WOuld be glad if someone can have a look.. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/as/5.2.1/modules/p2-profile-gen/pom.xml [2] [INFO] [INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen (p2-profile-generation-for-worker-profile) @ wso2appserver-profile-gen --- [INFO] Running Equinox P2 Director Application [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:32.637s [INFO] Finished at: Mon Dec 02 09:43:34 IST 2013 [INFO] Final Memory: 13M/490M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (p2-profile-generation-for-worker-profile) on project wso2appserver-profile-gen: null: MojoExecutionException: NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (p2-profile-generation-for-worker-profile) on project wso2appserver-profile-gen: null at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:319) 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.MojoExecutionException at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291) at java.util.regex.Matcher.<init>(Matcher.java:211) at java.util.regex.Pattern.matcher(Pattern.java:888) at org.wso2.maven.p2.generate.feature.Bundle.getOSGIVersion(Bundle.java:184) at org.wso2.maven.p2.Feature.getVersion(Feature.java:53) at org.wso2.maven.p2.ProfileGenMojo.getIUsToInstall(ProfileGenMojo.java:197) at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:170) ... 21 more thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: [email protected] <[email protected]> mobile: +94 (0)71 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
