I just add a FAQ for it....
https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-Q.WhenIbuilditwithFlexBuilder%2FFlashBuildereverythingworksfine%2CbutwhenIbuilditusingFlexmojossomethinggoeswrong...


<https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-Q.WhenIbuilditwithFlexBuilder%2FFlashBuildereverythingworksfine%2CbutwhenIbuilditusingFlexmojossomethinggoeswrong...>
VELO

On Wed, Oct 21, 2009 at 2:36 PM, ruchitel <[email protected]> wrote:

>
> I have project that I built using Flex 3.4 SDK. Project uses signed
> RSLs from Adobe. When I build it with FlexBuilder everything works
> fine, but when I build it with maven using maven fex mojos, I get
> following runtime errors during loding (one per RSL loaded):
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
>        at mx.managers::SystemManager/preloader_rslCompleteHandler()
>        at flash.events::EventDispatcher/dispatchEventFunction()
>        at flash.events::EventDispatcher/dispatchEvent()
>        at mx.preloaders::Preloader/http://www.adobe.com/2006/flex/mx/
> internal::rslCompleteHandler()
>        at mx.core::RSLListLoader/listCompleteHandler()
>        at mx.core::RSLItem/itemCompleteHandler()
>        at mx.core::CrossDomainRSLItem/loadBytesCompleteHandler()
> I tried 3.2.0, 3.3.0 and 3.4-Snapshot versions of mojo - same result.
>
> I built it with debug on, and was able to debug to offending line:
> private function preloader_rslCompleteHandler(event:RSLEvent):void
>    {
>        if (event.loaderInfo)
>            preloadedRSLs[event.loaderInfo] = event.url.url;
>    }
>
> preloadedRSLs is null when build is done by Maven, but when I build
> with flexbuilder - it's not. Any help to fix maven build will be
> greately appreciated.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to