Thanks for your help. I am able to Inject bean. 

Regards,
Varunkumar N


-----Original Message-----
From: Alina Kazi <[email protected]> 
Sent: Saturday, October 3, 2020 5:22 AM
To: [email protected]
Subject: Re: Crux [Inject] failed to access object - Object as null


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:    Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Thanks alot Greg for the suggestion and Carlos for that fix in example.

Alina

On Sat, 3 Oct 2020, 3:42 am Carlos Rovira, <[email protected]> wrote:

> Hi,
> as Greg suggested the problems is solved removing the mx exclude css 
> line In Jewel we need to add that to avoid messing styles.
> I really want to work on separate mxroyale from mxrpc to avoid this 
> problem.
>
>
>
> El vie., 2 oct. 2020 a las 23:48, Greg Dove (<[email protected]>)
> escribió:
>
> > Hi Alina,
> >
> > I did make sure that Crux worked in MXRoyale, someone asked for that 
> > previously at some point.
> >
> > I checked quickly and was able to see your code run. Well done for
> creating
> > the example
> > You need to remove this from your pom.xml:
> >
> >
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.versi
> on}-js.swc:defaults.css;
> >
> >
> > -Greg
> >
> > On Sat, Oct 3, 2020 at 10:37 AM Alina Kazi <[email protected]> wrote:
> >
> > > j:GridCell replaced with mx:Panel in UserForm I see that the 
> > > problem is with the mx:Panel on Console and compiler is unable to 
> > > read contentArea property because object itself is null.
> > > I am trying to figure out the problem with creating more simple 
> > > Test
> > Cases.
> > >
> > >
> > > Alina
> > >
> > > On Sat, Oct 3, 2020 at 2:16 AM Alina Kazi <[email protected]>
> wrote:
> > >
> > > > Hi Carlos,
> > > > I have added this example mx with crux  , I have replaced 
> > > > mx:Grid
> with
> > > > Panel as it was in original SWIZ Example
> > > >
> > > >
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_swiz_s
> wiz-2Dexamples_tree_master_SwizQuickStartExample-2DFlex4&d=DwIFaQ&c=H5
> 0I6Bh8SW87d_bXfZP_8g&r=_Sq3Ltwi6jcu4QQ6_EYw1bjH07KBj-0tuPTUi65gpL4&m=h
> Iv1_aYDeI8tbkSkOLIL1iOETfq47rJHiARLx6q1HSk&s=wzPYbBGeZhKi9La9--Byy1aO_
> FIoO8TfMLaB7K5UHzM&e=
> > > > as I have used mxRoyale only so instead of s:Panel i have used
> mx:Panel
> > > > Application is compiled successfully but still has an error on
> Console.
> > > > error screenshot link:
> > > >
> > > >
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_
> file_d_1Gny9qGrti7KgbUN-5FUESAnVhRRKWSJjXv_view-3Fusp-3Dsharing&d=DwIF
> aQ&c=H50I6Bh8SW87d_bXfZP_8g&r=_Sq3Ltwi6jcu4QQ6_EYw1bjH07KBj-0tuPTUi65g
> pL4&m=hIv1_aYDeI8tbkSkOLIL1iOETfq47rJHiARLx6q1HSk&s=BI9p0kJdQ7v2YNaCxo
> JNZ4Y3ET2kFR6sXo87VsAhr9E&e=
> > > > Carlos can you see and tell what this error is about. I mean it 
> > > > has something to do with the emulation libraries in the sdk or 
> > > > the Crux
> > > library
> > > > code(to behave appropriately for emulation) in the sdk to run. 
> > > > Any suggestions? or Hint to make this path easy.
> > > > Alex and others who took part in this process of Emulation can
> comment
> > > too
> > > > in this regard.
> > > >
> > > >
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache
> _royale-2Dasjs_tree_develop_examples_crux_CruxQuickStartMX&d=DwIFaQ&c=
> H50I6Bh8SW87d_bXfZP_8g&r=_Sq3Ltwi6jcu4QQ6_EYw1bjH07KBj-0tuPTUi65gpL4&m
> =hIv1_aYDeI8tbkSkOLIL1iOETfq47rJHiARLx6q1HSk&s=ZyZPEZs7vceUhVd1P8e9vOX
> dDhA5MtuCWJmRpQCVMnY&e=
> > > > Alina
> > > >
> > > >
> > > >
> > > >
> > > > On Fri, Oct 2, 2020 at 4:13 PM Carlos Rovira <
> [email protected]>
> > > > wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> just read now that Alina is planning to do a MXRoyale Crux example.
> I
> > > >> think
> > > >> just converting the CruxQuickStart to MXRoyale will throw info 
> > > >> about what's going on. I think it should work without problem. 
> > > >> Let's see what
> Alina
> > > >> reports.
> > > >>
> > > >> El vie., 2 oct. 2020 a las 13:09, Nallathambi, Varunkumar (<
> > > >> [email protected]>) escribió:
> > > >>
> > > >> > Hi Carlos,
> > > >> >         Thanks for your response. I am unable to share the code.
> > Since
> > > >> it
> > > >> > is in secure network without internet.
> > > >> > The issue is we are using mx flex  application with Swiz
> > > 0.6.4framework.
> > > >> > We are trying to migrate the application in to Crux framework .
> > > >> >
> > > >> > I tried modified the working sample of CruxQuickStartBasic 
> > > >> > with
> mx:
> > > >> > components. I am facing the same bean initialization issue in 
> > > >> > mx
> > > >> components
> > > >> > sample. Can I get any sample program which has mx component 
> > > >> > and
> Crux
> > > >> > framework.
> > > >> > That will help us a lot .
> > > >> >
> > > >> > Regards,
> > > >> > Varunkumar N
> > > >> >
> > > >> >
> > > >> > -----Original Message-----
> > > >> > From: Carlos Rovira <[email protected]>
> > > >> > Sent: Friday, October 2, 2020 4:27 PM
> > > >> > To: Apache Royale Development <[email protected]>
> > > >> > Subject: Re: Crux [Inject] failed to access object - Object 
> > > >> > as
> null
> > > >> >
> > > >> >
> > > >> > EXTERNAL SENDER:   Do not click any links or open any attachments
> > > unless
> > > >> > you trust the sender and know the content is safe.
> > > >> > EXPÉDITEUR EXTERNE:    Ne cliquez sur aucun lien et n’ouvrez
> aucune
> > > >> pièce
> > > >> > jointe à moins qu’ils ne proviennent d’un expéditeur fiable, 
> > > >> > ou
> que
> > > vous
> > > >> > ayez l'assurance que le contenu provient d'une source sûre.
> > > >> >
> > > >> > Hi,
> > > >> >
> > > >> > sorry but don't understand fully. I'll need some more 
> > > >> > background
> to
> > > >> > understand what's going on. You need to invest time in create 
> > > >> > a
> good
> > > >> email
> > > >> > to help us to understand the problem, adding some code (the
> minimum
> > to
> > > >> > understand)
> > > >> > For example, here I'll need you to post here:
> > > >> >
> > > >> >
> > > >> >    - The beanprovider declaration
> > > >> >    - The bean class that's causing the problem (not all class
> code,
> > > but
> > > >> >    just the declaration part with name "extends"...etc)
> > > >> >    - The use (how you use)
> > > >> >
> > > >> > thanks
> > > >> >
> > > >> >
> > > >> > El jue., 1 oct. 2020 a las 20:55, Nallathambi, Varunkumar (<
> > > >> > [email protected]>) escribió:
> > > >> >
> > > >> > > Hi,
> > > >> > >                 In my Royale (Crux) migration from flex 
> > > >> > > (Swiz
> > > 0.6.4),
> > > >> > > my bean was not initialize. It is throwing null. I can see 
> > > >> > > the
> > trace
> > > >> > > in bean provider calling. Even though I can't access after
> adding
> > > >> > > [Inject] in module variable.
> > > >> > > Kindly help me here.
> > > >> > >
> > > >> > > Regards,
> > > >> > > Varunkumar N
> > > >> > >
> > > >> > >
> > > >> >
> > > >> > --
> > > >> > Carlos Rovira
> > > >> >
> > > >> >
> > > >>
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__about.me_carlosrov
> ira&d=DwIFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=_Sq3Ltwi6jcu4QQ6_EYw1bjH07KBj-
> 0tuPTUi65gpL4&m=fzV6RqVDLN4gr5CZjamFYXAv488ZazLctiWy0EfQ27U&s=gerkmeD1
> NwNgebC9CPaqj8V4JuGCwRAokyl-ATvgWzo&e=
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >> Carlos Rovira
> > > >> https://urldefense.proofpoint.com/v2/url?u=http-3A__about.me_ca
> > > >> rlosrovira&d=DwIFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=_Sq3Ltwi6jcu4QQ6
> > > >> _EYw1bjH07KBj-0tuPTUi65gpL4&m=hIv1_aYDeI8tbkSkOLIL1iOETfq47rJHi
> > > >> ARLx6q1HSk&s=L7JfiMUB0z6LvNgj21FPr9MD9JHgn5M9oVL9NbxNttE&e=
> > > >>
> > > >
> > >
> >
>
>
> --
> Carlos Rovira
> https://urldefense.proofpoint.com/v2/url?u=http-3A__about.me_carlosrov
> ira&d=DwIFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=_Sq3Ltwi6jcu4QQ6_EYw1bjH07KBj-
> 0tuPTUi65gpL4&m=hIv1_aYDeI8tbkSkOLIL1iOETfq47rJHiARLx6q1HSk&s=L7JfiMUB
> 0z6LvNgj21FPr9MD9JHgn5M9oVL9NbxNttE&e=
>

Reply via email to