NullPointerException building ----------------------------- Key: MNG-4127 URL: http://jira.codehaus.org/browse/MNG-4127 Project: Maven 2 Issue Type: Bug Affects Versions: 2.0.10 Environment: linux, java 1.4.2 Reporter: Trenton
I don't have much info, except the null pointer exception. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] oros [INFO] oros rmi component [INFO] oros web component [INFO] Searching repository for plugin with prefix: 'tomcat'. [INFO] ------------------------------------------------------------------------ [INFO] Building oros [INFO] task-segment: [package, tomcat:undeploy, tomcat:deploy] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor] [INFO] [tomcat:undeploy] [INFO] Skipping non-war project [INFO] Preparing tomcat:deploy [INFO] [site:attach-descriptor] [INFO] [tomcat:deploy] [INFO] Skipping non-war project [INFO] ------------------------------------------------------------------------ [INFO] Building oros rmi component [INFO] task-segment: [package, tomcat:undeploy, tomcat:deploy] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 5 resources [INFO] [compiler:compile] [INFO] Compiling 1 source file to /data/MyDocuments/java/oros/oros-gcap/rmi/target/classes [INFO] [rmic:rmic {execution: rmi compilation}] [INFO] Compiling 1 remote classes [INFO] [resources:testResources] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /data/MyDocuments/java/oros/oros-gcap/rmi/src/test/resources [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] Building jar: /data/MyDocuments/java/oros/oros-gcap/rmi/target/oros-rmi.jar [INFO] [rmic:package {execution: rmi package}] [INFO] Building RMI stub jar: /data/MyDocuments/java/oros/oros-gcap/rmi/target/oros-rmi-client.jar [INFO] Building jar: /data/MyDocuments/java/oros/oros-gcap/rmi/target/oros-rmi-client.jar [INFO] [tomcat:undeploy] [INFO] Skipping non-war project [INFO] Preparing tomcat:deploy [INFO] [resources:resources] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 5 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [rmic:rmic {execution: rmi compilation}] [INFO] No out of date rmi classes to process. [INFO] [resources:testResources] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /data/MyDocuments/java/oros/oros-gcap/rmi/src/test/resources [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] Building jar: /data/MyDocuments/java/oros/oros-gcap/rmi/target/oros-rmi.jar [INFO] [rmic:package {execution: rmi package}] [INFO] Building RMI stub jar: /data/MyDocuments/java/oros/oros-gcap/rmi/target/oros-rmi-client.jar [INFO] Building jar: /data/MyDocuments/java/oros/oros-gcap/rmi/target/oros-rmi-client.jar [INFO] [tomcat:deploy] [INFO] Skipping non-war project [INFO] ------------------------------------------------------------------------ [INFO] Building oros web component [INFO] task-segment: [package, tomcat:undeploy, tomcat:deploy] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] Copying 5 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /data/MyDocuments/java/oros/oros-gcap/web/src/test/resources [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[web] in [/data/MyDocuments/java/oros/oros-gcap/web/target/oros] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.war.util.WebappStructure.getDependencies(WebappStructure.java:109) at org.apache.maven.plugin.war.util.WebappStructure.analyseDependencies(WebappStructure.java:288) at org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTask.performPackaging(DependenciesAnalysisPackagingTask.java:46) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:439) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:375) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:181) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) 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:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16 seconds [INFO] Finished at: Thu Apr 09 09:56:24 GMT-07:00 2009 [INFO] Final Memory: 30M/61M [INFO] ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira