Hi,
I am currently switching to Flex4 and therefore had to upgrade to
newer versions. I had allready tried upgrading to Flex versions
greater than 4.0.0.10485 but had no luck in getting them to work. In
the meanwhile I have managed to compile using the latest version
(4.0.0.14159) but am aving trouble with flexmojos. The version 3.5 had
issued with the globalplaye versions 10.0 and 10.1 so I updated to 3.6
and am having the problem, that my code-generation steps have stopped
working. I am suddenly getting NPEs. At first I thought they were
caused by my custom templates, but even without any template
definitions I am getting them. Here the stacktrace:
[INFO]
------------------------------------------------------------------------
[INFO] Building EE Webapp (Client): Library Model
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory E:\Projekte\EE\trunk\modules\ee-webapp
\modules\client\modules\lib-model\target
[INFO] [flexmojos:generate {execution: default}]
[INFO] Flexmojos 3.6
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
file
[INFO] flexmojos 3.6 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
file
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at
org.sonatype.flexmojos.generator.SimpleGeneratorMojo.execute(SimpleGeneratorMojo.java:
208)
at
org.sonatype.flexmojos.generator.GeneratorMojo.execute(GeneratorMojo.java:
40)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
60)
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.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)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:
110)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 36 seconds
[INFO] Finished at: Tue Mar 30 02:08:57 CEST 2010
[INFO] Final Memory: 41M/254M
[INFO]
------------------------------------------------------------------------
Any help greatly appreciated.
Chris
--
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/
To unsubscribe from this group, send email to
flex-mojos+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.