Hi Velo,
Thanks for your reply.  I'm not sure what you are trying to refer me
to though.  I see it has something to do with apparat, but I don't
have any of the code coverage reporting enabled via flexmojos; and i'm
not looking for that.  is there a config setting i need to
specifically disable it?  something else i'm missing?

thanks again.
paul


On Jun 6, 6:01 pm, Marvin Froeder <[email protected]> wrote:
> http://groups.google.com/group/flex-mojos/msg/ed5d2874036e6757
> Em 06/06/2011 17:00, "paul sheldon" <[email protected]> escreveu:
>
>
>
>
>
>
>
> > I am using FM 4.0-snapshot, building a flex library project against
> > flex compiler 4.5.0.20967, target player 10.2.0.
>
> > When I run mvn on my local dev environment, which is win7, it works
> > fine - the build completes successfully.
>
> > But when our continuous integration server, which is Hudson, running
> > on a linux box, the build fails, with the following errors in the
> > output:
>
> > ...
> > [INFO]
> > [INFO] --- flexmojos-maven-plugin:4.0-SNAPSHOT:create-rsl (default-
> > create-rsl) @ FlexComponents ---
> > [INFO] Flexmojos 4.0-SNAPSHOT
> > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
> > file
> > /opt/eng/hudson/jobs/7.7-FlexComponents-nightly/workspace/trunk/target/
> > classes/original.swf (134517 bytes)
> > /opt/eng/hudson/jobs/7.7-FlexComponents-nightly/workspace/trunk/target/
> > classes/optimized.swf (72060 bytes)
> > <function0>: caught java.lang.NullPointerException
> > <function0>: caught java.lang.NullPointerException
> > java.lang.NullPointerException
> > at
>
> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter.write(CLibJPEGImageWriter.java:
>
>
>
>
>
>
>
> > 176)
> > at apparat.tools.reducer.Reducer$ReducerTool.apparat$tools$reducer
> > $Reducer$ReducerTool$$lossless2jpg(Reducer.scala:289)
> > at apparat.tools.reducer.Reducer$ReducerTool$$anonfun$reduce
> > $1.apply(Reducer.scala:194)
> > at apparat.tools.reducer.Reducer$ReducerTool$$anonfun$reduce
> > $1.apply(Reducer.scala:191)
> > at apparat.swf.SwfTagMapping$$anonfun$1$$anonfun$apply
> > $2.apply(SwfTagMapping.scala:34)
> > at apparat.swf.SwfTagMapping$$anonfun$1$$anonfun$apply
> > $2.apply(SwfTagMapping.scala:34)
> > at scala.actors.Futures$$anonfun$1.apply(Future.scala:128)
> > at scala.actors.Futures$$anonfun$1.apply(Future.scala:128)
> > at scala.actors.FutureActor$$anonfun$act$1.apply(Future.scala:94)
> > at scala.actors.FutureActor$$anonfun$act$1.apply(Future.scala:94)
> > at scala.actors.Reactor$class.seq(Reactor.scala:280)
> > at scala.actors.FutureActor.seq(Future.scala:56)
> > at scala.actors.Reactor$$anon$3.andThen(Reactor.scala:258)
> > at scala.actors.FutureActor.act(Future.scala:95)
> > at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222)
> > at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222)
> > at scala.actors.ReactorTask.run(ReactorTask.scala:36)
> > at scala.concurrent.forkjoin.ForkJoinPool
> > $AdaptedRunnable.exec(ForkJoinPool.java:611)
> > at
> > scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:
> > 422)
> > at
>
> scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:>
>  340)
> > at
>
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:
>
>
>
>
>
>
>
> > 325)
> > <function0>: caught java.lang.NullPointerException
>
> > Here is what my pom.xml looks like:
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <project xmlns="http://maven.apache.org/POM/4.0.0";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >http://maven.apache.org/maven-v4_0_0.xsd";>
> > <modelVersion>4.0.0</modelVersion>
>
> > <groupId>com.digabit</groupId>
> > <artifactId>FlexComponents</artifactId>
> > <version>1.0-SNAPSHOT</version>
> > <packaging>swc</packaging>
>
> > <properties>
> > <project.build.sourceEncoding>UTF-8</
> > project.build.sourceEncoding>
> > <flexmojos.maven.plugin.version>4.0-SNAPSHOT</
> > flexmojos.maven.plugin.version>
> > <com.adobe.flex.version>4.5.0.20967</com.adobe.flex.version>
> > <target.player>10.2.0</target.player>
> > <player.global.classifier>10.2</player.global.classifier>
> > <parsley.version>2.4.0</parsley.version>
> > <parsley.popup.version>1.7</parsley.popup.version>
> > </properties>
>
> > <name>Flex Components</name>
>
> > <build>
> > <sourceDirectory>src/main/flex</sourceDirectory>
> > <testSourceDirectory>src/test/flex</testSourceDirectory>
> > <plugins>
> > <plugin>
> > <groupId>org.sonatype.flexmojos</groupId>
> > <artifactId>flexmojos-maven-plugin</artifactId>
> > <version>${flexmojos.maven.plugin.version}</version>
> > <extensions>true</extensions>
> > <configuration>
> > <ditaSkip>true</ditaSkip>
> > <headlessServer>true</headlessServer>
> > <targetPlayer>${target.player}</targetPlayer>
> > <namespaces>
> > <namespace>
> > <uri>http://digabit.com/documoto/components</
> > uri>
> > <manifest>${basedir}/src/main/flex/
> > manifest.xml</manifest>
> > </namespace>
> > </namespaces>
> > <includeNamespaces>
> > <namespace>http://digabit.com/documoto/
> > components</namespace>
> > </includeNamespaces>
> > </configuration>
> > <dependencies>
> > <dependency>
> > <groupId>com.adobe.flex</groupId>
> > <artifactId>compiler</artifactId>
> > <version>${com.adobe.flex.version}</version>
> > <type>pom</type>
> > </dependency>
> > </dependencies>
> > </plugin>
>
> > </plugins>
> > </build>
>
> > <dependencies>
> > <dependency>
> > <groupId>com.digabit</groupId>
> > <artifactId>FlexCore</artifactId>
> > <version>1.0-SNAPSHOT</version>
> > <type>swc</type>
> > <exclusions>
> > <!-- This exclusion is temporary b/c flexcore is built
> > against flex3.5 -->
> > <exclusion>
> > <groupId>com.adobe.flex.framework</groupId>
> > <artifactId>playerglobal</artifactId>
> > </exclusion>
> > <exclusion>
> > <groupId>com.adobe.flexunit</groupId>
> > <artifactId>flexunit</artifactId>
> > </exclusion>
> > </exclusions>
> > </dependency>
>
> > <dependency>
> > <groupId>com.adobe.flex.framework</groupId>
> > <artifactId>flex-framework</artifactId>
> > <version>${com.adobe.flex.version}</version>
> > <type>pom</type>
> > </dependency>
>
> > <dependency>
> > <groupId>com.adobe.flex.compiler</groupId>
> > <artifactId>asdoc</artifactId>
> > <version>${com.adobe.flex.version}</version>
> > <type>pom</type>
> > </dependency>
>
> > <dependency>
> > <groupId>com.adobe.flex.framework</groupId>
> > <artifactId>mx</artifactId>
> > <version>${com.adobe.flex.version}</version>
> > <type>swc</type>
> > </dependency>
>
> > <dependency>
> > <groupId>org.spicefactory</groupId>
> > <artifactId>parsley-flex4</artifactId>
> > <version>${parsley.version}</version>
> > <type>swc</type>
> > </dependency>
> > <dependency>
> > <groupId>org.spicefactory</groupId>
> > <artifactId>parsley-popup</artifactId>
> > <version>${parsley.popup.version}</version>
> > <type>swc</type>
> > </dependency>
>
> > </dependencies>
>
> > <pluginRepositories>
> > <pluginRepository>
> > <id>flex-mojos-repository</id>
> > <url>http://repository.sonatype.org/content/groups/
> > flexgroup/</url>
> > </pluginRepository>
> > </pluginRepositories>
>
> > <repositories>
> > <repository>
> > <id>vailRepos</id>
> > <name>Vail Repository</name>
> > <url>http://vail/repository</url>
> > <layout>default</layout>
> > <releases>
> > <enabled>true</enabled>
> > <updatePolicy>always</updatePolicy>
> > <checksumPolicy>warn</checksumPolicy>
> > </releases>
> > <snapshots>
> > <enabled>true</enabled>
> > <updatePolicy>always</updatePolicy>
> > <checksumPolicy>warn</checksumPolicy>
> > </snapshots>
> > </repository>
> > <repository>
> > <id>flex-mojos-repository</id>
> > <url>http://repository.sonatype.org/content/groups/
> > flexgroup/</url>
> > <releases>
> > <enabled>true</enabled>
> > </releases>
> > <snapshots>
> > <enabled>true</enabled>
> > </snapshots>
> > </repository>
>
> > </repositories>
>
> > </project>
>
> > I'm trying to figure out what's causing the exception; and to that
> > end, why does it work fine on my win7 dev env, but not in our CI Build
> > env?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Flex Mojos" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to