1 Reply Latest reply on Apr 8, 2010 1:01 PM by Heang Eung

    NullPointerException Error When Trying to Compile MXML File

    Heang Eung

      Hello,

       

      I was reading the Flex Compiler API User Guide at http://livedocs.adobe.com/flex/3/compilerAPI_flex3.pdf and tried to follow the example to create a Java application to compile a Flex application. I have followed all the steps in the Quick Start, but I kept getting the following error message:

       

      Exception in thread "main" java.lang.ExceptionInInitializerError at myApps.MyAppCompiler.main(MyAppCompiler.java:9)

      Caused by: java.lang.NullPointerException at flex2.tools.oem.Application.<clinit> (Application.java:184)

       

      I was wondering if anyone here had run into the same problem before and could offer some ideas?

       

      Thanks in advance,