[prev in list] [next in list] [prev in thread] [next in thread]
List: cactus-user
Subject: NPE on CactifyEAR
From: "Smith, Josh - Kansas City, Missouri" <josh.smith () kcc ! usda ! gov>
Date: 2008-12-12 14:41:33
Message-ID: 4BA9A4A91A431D4DBB7F7F920992C8EEA4AB90 () mokansascis307 ! agcentral ! one ! usda ! gov
[Download RAW message or body]
I am trying to run the CactifyEAR goal, and having it include a existing
WAR file as the cactus.war.
I am throwing a NPE in the AssemblyFileUtils.
Pom section is.
<plugin>
<groupId>org.apache.cactus</groupId>
<artifactId>cactus.integration.maven2</artifactId>
<version>1.8.1-SNAPSHOT</version>
<configuration>
<srcFile>target\${project.build.finalName}.ear</srcFile>
<destFile>target\cactus-${project.build.finalName}.ear</destFile>
<cactusWar>
<srcFile>..\test-servlet\target\test-servlet-1.0.war</srcFile>
<testClasses>
<directory>..\test-servlet\target/test-classes</directory>
<includes>
<include>**/**Test*.class</include>
</includes>
</testClasses>
</cactusWar>
<addEjbReferences>true</addEjbReferences>
</configuration>
<executions>
<execution>
<id>cactus-cactifyear</id>
<phase>pre-integration-test</phase>
<goals>
<goal>cactifyear</goal>
</goals>
</execution>
</executions>
</plugin>
Stack Trace is :
[info] Inspecting..
[info] The AspectJ Runtime JAR is already present in the WAR. Will skip.
[info] Inspecting..
[info] The Cactus Framework JAR is already present in the WAR. Will
skip.
[info] Inspecting..
[info] The Commons-Logging JAR is already present in the WAR. Will skip.
[info] Inspecting..
[info] The Commons-HttpClient JAR is already present in the WAR. Will
skip.
[info] Inspecting..
[info] The JUnit JAR is already present in the WAR. Will skip.
------------------------------------------------------------------------
[ERROR]FATAL ERROR
------------------------------------------------------------------------
null
------------------------------------------------------------------------
Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.assembly.utils.AssemblyFileUtils.unpack(Assembly
FileUtils.java:77)
at
org.apache.cactus.maven2.mojos.CactifyWarMojo.execute(CactifyWarMojo.jav
a:369)
at
org.apache.cactus.maven2.mojos.CactifyEarMojo.createCactusWarFile(Cactif
yEarMojo.java:272)
at
org.apache.cactus.maven2.mojos.CactifyEarMojo.execute(CactifyEarMojo.jav
a:202)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.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:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
Any ideas?
Josh Smith
USDA
AFAO / FMG
816-926-2114
Josh.Smith@one.usda.gov <mailto:Josh.Smith@one.usda.gov>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic