Details
- 
                Type: Bug Bug
- 
                Status: Resolved Resolved
- 
                    Priority: Critical Critical
- 
                    Resolution: Fixed
- 
                    Affects Version/s: 2.3.0
- 
                    Fix Version/s: 2.4.0
- 
                    Component/s: jbi-configure
- 
                    Security Level: Public
- 
                                                - Environment:
- -
 
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Priority | Critical [ 2 ] | |
| Description | Using the following Maven command with the a POM file, the following NPE occurs when trying to configure a JBI shared library: {code} mvn org.ow2.petals:maven-petals-plugin:2.3.0:jbi-configure -DgroupId=org.ow2.petals -DartifactId=petals-sl-activemq-5.3.0 -Dversion=1.0.0-SNAPSHOT -DjbiSharedLibrariesMappingFileURL=file:///tmp/jbi-shared-libraries-list-mapping-file.properties -DjbiVersionsMappingFileURL=file:///tmp/jbi-versions-mapping-file.properties -DjbiIdentifiersMappingFileURL=file:///tmp/jbi-identifiers-mapping-file.properties -Dverbose=true -X ...... [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.352s [INFO] Finished at: Wed Feb 12 17:01:03 CET 2014 [INFO] Final Memory: 4M/75M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure (default-cli) on project foo-bar: Execution default-cli of goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure failed. NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure (default-cli) on project foo-bar: Execution default-cli of goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.NullPointerException at org.ow2.petals.plugin.jbiplugin.util.ZipUtil.copyAndUpdateZipFile(ZipUtil.java:123) at org.ow2.petals.plugin.jbiplugin.JBIConfigureMojo.configureSharedLibrary(JBIConfigureMojo.java:306) at org.ow2.petals.plugin.jbiplugin.JBIConfigureMojo.executeMojo(JBIConfigureMojo.java:152) at org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo.execute(JBIAbstractMojo.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) ... 20 more {code} | Using the following Maven command with the a dummy POM file, the following NPE occurs when trying to configure a JBI shared library: {code} mvn org.ow2.petals:maven-petals-plugin:2.3.0:jbi-configure -DgroupId=org.ow2.petals -DartifactId=petals-sl-activemq-5.3.0 -Dversion=1.0.0-SNAPSHOT -DjbiSharedLibrariesMappingFileURL=file:///tmp/jbi-shared-libraries-list-mapping-file.properties -DjbiVersionsMappingFileURL=file:///tmp/jbi-versions-mapping-file.properties -DjbiIdentifiersMappingFileURL=file:///tmp/jbi-identifiers-mapping-file.properties -Dverbose=true -X ...... [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.352s [INFO] Finished at: Wed Feb 12 17:01:03 CET 2014 [INFO] Final Memory: 4M/75M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure (default-cli) on project foo-bar: Execution default-cli of goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure failed. NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure (default-cli) on project foo-bar: Execution default-cli of goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.ow2.petals:maven-petals-plugin:2.4.0-SNAPSHOT:jbi-configure failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.NullPointerException at org.ow2.petals.plugin.jbiplugin.util.ZipUtil.copyAndUpdateZipFile(ZipUtil.java:123) at org.ow2.petals.plugin.jbiplugin.JBIConfigureMojo.configureSharedLibrary(JBIConfigureMojo.java:306) at org.ow2.petals.plugin.jbiplugin.JBIConfigureMojo.executeMojo(JBIConfigureMojo.java:152) at org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo.execute(JBIAbstractMojo.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) ... 20 more {code} | 
| Status | New [ 10000 ] | Open [ 10002 ] | 
| Status | Open [ 10002 ] | In Progress [ 10003 ] | 
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] | 
| Fix Version/s | 2.4.0 [ 10382 ] | |
| Resolution | Fixed [ 1 ] | 
| Transition | Status Change Time | Execution Times | Last Executer | Last Execution Date | |||||||||
| 
 | 
 | 
 | 
 | 
 | |||||||||
| 
 | 
 | 
 | 
 | 
 | |||||||||
| 
 | 
 | 
 | 
 | 
 | 

 
                     
				                                                    
		                        
				                                                    
				                                                   
Fixed in trunk