Grid does not load data

classic Classic list List threaded Threaded
49 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Grid does not load data

Serkan Taş
Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>

Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, February 28, 2020 at 1:08 PM
To: "[hidden email]" <[hidden email]>
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>


Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>



Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:
I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>




Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, February 28, 2020 at 1:36 PM
To: "[hidden email]" <[hidden email]>, Alex Harui <[hidden email]>
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>



 



Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş

Simply list the jobs with some decoration and interactive images :


Here is the source of flex version of the grid class : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

View  :





29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>



 




Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
In reply to this post by Alex Harui-2
It is invisible due to "overflow:auto" value you may want to know.

When change to true it is visible.

But the data is loaded and I can work on.


29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>



 




Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
In reply to this post by Alex Harui-2
First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>



 




Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş <[hidden email]>
Date: Saturday, February 29, 2020 at 4:25 AM
To: "[hidden email]" <[hidden email]>, Alex Harui <[hidden email]>
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>




 






Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>




 







Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>


1.03.2020 09:55 tarihinde Serkan Taş yazdı:
If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>




 








Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

Well, Spark GridItemRenderer is intended for Spark DataGrid.

 

I just pushed changes to get s:MXAdvancedDataGridItemRenderer to work.  You should be able to use that instead of GridItemRenderer.

 

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Sunday, March 1, 2020 at 2:04 AM
To: "[hidden email]" <[hidden email]>, Alex Harui <[hidden email]>
Subject: Re: Grid does not load data

 

Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>

1.03.2020 09:55 tarihinde Serkan Taş yazdı:

If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>





 








 



Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
Hi Alex,

I converted my Spark Grid to mx ADG mostly. I tried to replace
GridItemRenderer with MXAdvancedDataGridItemRendererbut not be able to make it wok.

The commented parts are left needs to be working but not, what you advise ?

        <mx:AdvancedDataGrid id="pinaraJobList" width="100%" height="100%" dataProvider="{jobListXmlCollection}">       
 
            <mx:columns>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" id="mngColumn">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
               
                <mx:AdvancedDataGridColumn labelFunction="getId" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}" />
                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn labelFunction="getGroupId" headerText="{resourceManager.getString('messages', 'jobGrupIdGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobCommandType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobCommandTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobTriggerType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobTriggerTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRecordedDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobLastWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getActualDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobPlannedWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRealizedDuration" sortCompareFunction="compareSortForDuration" headerText="{resourceManager.getString('messages', 'jobRealizedDuration')}" />
                <mx:AdvancedDataGridColumn labelFunction="getLastWorkingStatus" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobLastWorkingStatus')}"/>
            </mx:columns>

        </mx:AdvancedDataGrid>



Complete source you can test :  https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Thanks,
Serkan

2.03.2020 10:39 tarihinde Alex Harui yazdı:

Well, Spark GridItemRenderer is intended for Spark DataGrid.

 

I just pushed changes to get s:MXAdvancedDataGridItemRenderer to work.  You should be able to use that instead of GridItemRenderer.

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Sunday, March 1, 2020 at 2:04 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>

1.03.2020 09:55 tarihinde Serkan Taş yazdı:

If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>





 








 




Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

Hi Serkan,

 

What does “not able to make it work” mean?  Compile errors?  Something else?

 

In the source, it looked like the item renderers were commented out.

 

-Alex

 

From: Serkan Taş <[hidden email]>
Date: Wednesday, March 4, 2020 at 7:30 PM
To: "[hidden email]" <[hidden email]>, Alex Harui <[hidden email]>
Subject: Re: Grid does not load data

 

Hi Alex,

I converted my Spark Grid to mx ADG mostly. I tried to replace GridItemRenderer with MXAdvancedDataGridItemRendererbut not be able to make it wok.

The commented parts are left needs to be working but not, what you advise ?

        <mx:AdvancedDataGrid id="pinaraJobList" width="100%" height="100%" dataProvider="{jobListXmlCollection}">       
 
            <mx:columns>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" id="mngColumn">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
               
                <mx:AdvancedDataGridColumn labelFunction="getId" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}" />
                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn labelFunction="getGroupId" headerText="{resourceManager.getString('messages', 'jobGrupIdGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobCommandType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobCommandTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobTriggerType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobTriggerTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRecordedDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobLastWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getActualDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobPlannedWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRealizedDuration" sortCompareFunction="compareSortForDuration" headerText="{resourceManager.getString('messages', 'jobRealizedDuration')}" />
                <mx:AdvancedDataGridColumn labelFunction="getLastWorkingStatus" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobLastWorkingStatus')}"/>
            </mx:columns>

        </mx:AdvancedDataGrid>



Complete source you can test :  https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Thanks,
Serkan

2.03.2020 10:39 tarihinde Alex Harui yazdı:

Well, Spark GridItemRenderer is intended for Spark DataGrid.

 

I just pushed changes to get s:MXAdvancedDataGridItemRenderer to work.  You should be able to use that instead of GridItemRenderer.

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Sunday, March 1, 2020 at 2:04 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>

1.03.2020 09:55 tarihinde Serkan Taş yazdı:

If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>






 










 






Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
Ok, let me make it clear. When  I enable the simplest one of the commented parts here is the output :



Thanks
Serkan


5.03.2020 06:45 tarihinde Alex Harui yazdı:

Hi Serkan,

 

What does “not able to make it work” mean?  Compile errors?  Something else?

 

In the source, it looked like the item renderers were commented out.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Wednesday, March 4, 2020 at 7:30 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Hi Alex,

I converted my Spark Grid to mx ADG mostly. I tried to replace GridItemRenderer with MXAdvancedDataGridItemRendererbut not be able to make it wok.

The commented parts are left needs to be working but not, what you advise ?

        <mx:AdvancedDataGrid id="pinaraJobList" width="100%" height="100%" dataProvider="{jobListXmlCollection}">       
 
            <mx:columns>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" id="mngColumn">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
               
                <mx:AdvancedDataGridColumn labelFunction="getId" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}" />
                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn labelFunction="getGroupId" headerText="{resourceManager.getString('messages', 'jobGrupIdGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobCommandType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobCommandTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobTriggerType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobTriggerTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRecordedDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobLastWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getActualDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobPlannedWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRealizedDuration" sortCompareFunction="compareSortForDuration" headerText="{resourceManager.getString('messages', 'jobRealizedDuration')}" />
                <mx:AdvancedDataGridColumn labelFunction="getLastWorkingStatus" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobLastWorkingStatus')}"/>
            </mx:columns>

        </mx:AdvancedDataGrid>



Complete source you can test :  https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Thanks,
Serkan

2.03.2020 10:39 tarihinde Alex Harui yazdı:

Well, Spark GridItemRenderer is intended for Spark DataGrid.

 

I just pushed changes to get s:MXAdvancedDataGridItemRenderer to work.  You should be able to use that instead of GridItemRenderer.

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Sunday, March 1, 2020 at 2:04 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>

1.03.2020 09:55 tarihinde Serkan Taş yazdı:

If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>






 










 







Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

When you changed from s:DataGrid to mx:AdvancedDataGrid, you have to change s:itemRenderer to mx:itemRenderer.  Those are the “rules” of MXML.

 

Let us know if there are other issues after you make those changes.

 

HTH,

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, March 4, 2020 at 10:53 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: Grid does not load data

 

Ok, let me make it clear. When  I enable the simplest one of the commented parts here is the output :



Thanks
Serkan

5.03.2020 06:45 tarihinde Alex Harui yazdı:

Hi Serkan,

 

What does “not able to make it work” mean?  Compile errors?  Something else?

 

In the source, it looked like the item renderers were commented out.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Wednesday, March 4, 2020 at 7:30 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Hi Alex,

I converted my Spark Grid to mx ADG mostly. I tried to replace GridItemRenderer with MXAdvancedDataGridItemRendererbut not be able to make it wok.

The commented parts are left needs to be working but not, what you advise ?

        <mx:AdvancedDataGrid id="pinaraJobList" width="100%" height="100%" dataProvider="{jobListXmlCollection}">       
 
            <mx:columns>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" id="mngColumn">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
               
                <mx:AdvancedDataGridColumn labelFunction="getId" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}" />
                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn labelFunction="getGroupId" headerText="{resourceManager.getString('messages', 'jobGrupIdGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobCommandType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobCommandTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobTriggerType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobTriggerTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRecordedDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobLastWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getActualDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobPlannedWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRealizedDuration" sortCompareFunction="compareSortForDuration" headerText="{resourceManager.getString('messages', 'jobRealizedDuration')}" />
                <mx:AdvancedDataGridColumn labelFunction="getLastWorkingStatus" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobLastWorkingStatus')}"/>
            </mx:columns>

        </mx:AdvancedDataGrid>



Complete source you can test :  https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Thanks,
Serkan

2.03.2020 10:39 tarihinde Alex Harui yazdı:

Well, Spark GridItemRenderer is intended for Spark DataGrid.

 

I just pushed changes to get s:MXAdvancedDataGridItemRenderer to work.  You should be able to use that instead of GridItemRenderer.

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Sunday, March 1, 2020 at 2:04 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>

1.03.2020 09:55 tarihinde Serkan Taş yazdı:

If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>







 












 










Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
Sorry for the rules :)


First I tried

                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
                </mx:AdvancedDataGridColumn>


than

            <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
            </mx:AdvancedDataGridColumn>

Same error

Here it is :

D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

18.7288801 seconds


5.03.2020 11:31 tarihinde Alex Harui yazdı:

When you changed from s:DataGrid to mx:AdvancedDataGrid, you have to change s:itemRenderer to mx:itemRenderer.  Those are the “rules” of MXML.

 

Let us know if there are other issues after you make those changes.

 

HTH,

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Wednesday, March 4, 2020 at 10:53 PM
To: [hidden email] [hidden email]
Subject: Re: Grid does not load data

 

Ok, let me make it clear. When  I enable the simplest one of the commented parts here is the output :



Thanks
Serkan

5.03.2020 06:45 tarihinde Alex Harui yazdı:

Hi Serkan,

 

What does “not able to make it work” mean?  Compile errors?  Something else?

 

In the source, it looked like the item renderers were commented out.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Wednesday, March 4, 2020 at 7:30 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Hi Alex,

I converted my Spark Grid to mx ADG mostly. I tried to replace GridItemRenderer with MXAdvancedDataGridItemRendererbut not be able to make it wok.

The commented parts are left needs to be working but not, what you advise ?

        <mx:AdvancedDataGrid id="pinaraJobList" width="100%" height="100%" dataProvider="{jobListXmlCollection}">       
 
            <mx:columns>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" id="mngColumn">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
               
                <mx:AdvancedDataGridColumn labelFunction="getId" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}" />
                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <!--s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer-->
                </mx:AdvancedDataGridColumn>
                <mx:AdvancedDataGridColumn labelFunction="getGroupId" headerText="{resourceManager.getString('messages', 'jobGrupIdGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobCommandType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobCommandTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getJobTriggerType" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobTriggerTypeGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRecordedDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobLastWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getActualDT" sortCompareFunction="compareSortForDate" headerText="{resourceManager.getString('messages', 'jobPlannedWTGrid')}" />
                <mx:AdvancedDataGridColumn labelFunction="getRealizedDuration" sortCompareFunction="compareSortForDuration" headerText="{resourceManager.getString('messages', 'jobRealizedDuration')}" />
                <mx:AdvancedDataGridColumn labelFunction="getLastWorkingStatus" sortCompareFunction="compareSortString" headerText="{resourceManager.getString('messages', 'jobLastWorkingStatus')}"/>
            </mx:columns>

        </mx:AdvancedDataGrid>



Complete source you can test :  https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Thanks,
Serkan

2.03.2020 10:39 tarihinde Alex Harui yazdı:

Well, Spark GridItemRenderer is intended for Spark DataGrid.

 

I just pushed changes to get s:MXAdvancedDataGridItemRenderer to work.  You should be able to use that instead of GridItemRenderer.

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Sunday, March 1, 2020 at 2:04 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Addition :

Itemrenderers are not iöplemented in MX ADG

<s:GridColumn headerText="{resourceManager.getString('messages', 'stateGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:GridItemRenderer>
                                <s:layout>
                                    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                </s:layout>
                                <jobdetail:StateImageItem id="stateImageItem" data="{data}"/>
                            </s:GridItemRenderer>
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" maxWidth="250" id="mngColumn">
                    <s:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn selectedGroupId="{outerDocument.selectedGroupId}" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="@Id" headerText="{resourceManager.getString('messages', 'jobIdGrid')}" sortDescending="false" sortCompareFunction="compareIds" width="{this.pinaraJobList.width * 0.06}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component->
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="baseJobInfos.jsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>

1.03.2020 09:55 tarihinde Serkan Taş yazdı:

If you have time may you please check the file  : https://drive.google.com/open?id=1_6-rBQqTISbeoLvS2-yV8bSFkvS_ApxZ

Looks like more rework is needed to convert it to MX ADG.

Need your opinion.

Serkan

1.03.2020 02:38 tarihinde Alex Harui yazdı:

Pretty sure Spark DG “selectionChange” is just “change” for MX ADG.

 

-Alex

 

From: Serkan Taş [hidden email]
Date: Saturday, February 29, 2020 at 4:25 AM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

First requirement : selectionChanged

This event handler does not exist for mx:DataGrid.

D:\dev\royale-emulation-works\github\pinaraui-royale\src\com\likya\pinara\comps\jobdetail\PinaraJobListGrid.mxml(204): col: 61 Error: This attribute is unexpected. It will be ignored.

        <mx:DataGrid id="pinaraJobList" width="100%" height="100%" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{jobListXmlCollection}">

29.02.2020 01:28 tarihinde Alex Harui yazdı:

This was working recently:  https://github.com/apache/royale-asjs/issues/681

 

What did your subclass of Spark DG do?

 

-Alex

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:36 PM
To: [hidden email] [hidden email], Alex Harui [hidden email]
Subject: Re: Grid does not load data

 

Alex, if any working example of MX:AdvancedDataGrid may you share ?

29.02.2020 00:16 tarihinde Serkan Taş yazdı:

I have custom class extending the spark advancedatagrid, I am not sure if it will satisify the requirements but let me try and let you know.

Thanks,
Serkan

29.02.2020 00:14 tarihinde Alex Harui yazdı:

We have hardly worked on Spark DataGrid at all.  Can you use MX:AdvancedDataGrid instead?

 

From: Serkan Taş [hidden email]
Reply-To: [hidden email] [hidden email]
Date: Friday, February 28, 2020 at 1:08 PM
To: [hidden email] [hidden email]
Subject: Grid does not load data

 

Hi,

Before creating issue I want to get comment why the below code is not working, mean grid is not displayed ?


<?xml version="1.0" encoding="latin5" ?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               height="600" width="800">

    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
        ]]>
    </fx:Script>
   
    <fx:Declarations>
        <s:ArrayCollection id="employeeArrColl">
            <fx:Object first="Anders" last="Öhlund" age="36"/>
            <fx:Object first="Eileen" last="Oehland" age="25"/>
            <fx:Object first="Anders" last="Zorn" age="36"/>
            <fx:Object first="Steve" last="Aaron" age="40"/>
            <fx:Object first="Toren" last="Ohlin" age="20"/>
            <fx:Object first="Toren" last="Aaron" age="36"/>
            <fx:Object first="Torolf" last="Aaron" age="40"/>
        </s:ArrayCollection>
    </fx:Declarations>
   
    <s:Panel title="Spark Sort and SortField" width="100%" height="100%">
       
        <s:DataGrid id="dg" dataProvider="{employeeArrColl}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="first" headerText="First Name"/>
                    <s:GridColumn dataField="last" headerText="Last Name"/>
                    <s:GridColumn dataField="age" headerText="Age"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
       
    </s:Panel>   
</s:Application>







 












 











Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
To separate the errors :


Sorry for the rules :)


First I tried

                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
                </mx:AdvancedDataGridColumn>




D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

18.7288801 seconds





than

            <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
            </mx:AdvancedDataGridColumn>

Here it is :



D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                                                        ^

21.4602447 seconds

Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Alex Harui-2

It should be

<s:MXAdvancedDataGridItemRenderer textAlign="left" />

 

For any tag, the xmlns prefix specifies the namespace (Spark or MX).  MXAdvancedDataGridItemRenderer is in the Spark namespace because it is a way to use Spark components in MX AdvancedDataGrid.

 

For any tag, the properties must have the same xmlns prefix as the tag.

 

HTH,

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
Date: Thursday, March 5, 2020 at 2:47 AM
To: "[hidden email]" <[hidden email]>
Subject: Re: Grid does not load data

 

To separate the errors :


Sorry for the rules :)



First I tried

                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
                </mx:AdvancedDataGridColumn>




D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

18.7288801 seconds





than

            <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
            </mx:AdvancedDataGridColumn>


Here it is :



D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                                                        ^

21.4602447 seconds


Reply | Threaded
Open this post in threaded view
|

Re: Grid does not load data

Serkan Taş
In reply to this post by Serkan Taş
Alex,

Everthing is mixed up.

What should be what ?

Ofcourse  i know what s stands for.

I was using spark 

You wanted me to use mx


I  migrated to mx
.
You sent spark component  <s:MXAdvancedDataGridItemRenderer why ?


I sent you the complete code that contains mx adg
Which does not compile.


I do not know what ca i do more to express mh self




Kimden: Alex Harui <[hidden email]>
Gönderildi: 6 Mart 2020 Cuma 02:20
Kime: [hidden email]; [hidden email]
Konu: Re: Grid does not load data

It should be

<s:MXAdvancedDataGridItemRenderer textAlign="left" />

 

For any tag, the xmlns prefix specifies the namespace (Spark or MX).  MXAdvancedDataGridItemRenderer is in the Spark namespace because it is a way to use Spark components in MX AdvancedDataGrid.

 

For any tag, the properties must have the same xmlns prefix as the tag.

 

HTH,

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>, "[hidden email]" <[hidden email]>
Date: Thursday, March 5, 2020 at 2:47 AM
To: "[hidden email]" <[hidden email]>
Subject: Re: Grid does not load data

 

To separate the errors :


Sorry for the rules :)



First I tried

                <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
                </mx:AdvancedDataGridColumn>




D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <s:DefaultGridItemRenderer textAlign="left" />
                                                        ^

18.7288801 seconds





than

            <mx:AdvancedDataGridColumn labelFunction="getJsName" headerText="{resourceManager.getString('messages', 'jobNameGrid')}" width="{this.pinaraJobList.width * 0.10}">
                    <mx:itemRenderer>
                        <fx:Component>
                            <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </mx:itemRenderer>
            </mx:AdvancedDataGridColumn>


Here it is :



D:\dev\royale-emulation-works\github\royale-testing>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Duser.country=U -Duser.language=en
MXMLJSC
-sdk-js-lib=..\royale-asjs\frameworks\js\Royale\generated-sources
.\src\main\mtest\FindBug.mxml
-js-compiler-option
goog.LOCALE='en_US'
-closure-lib=D:/dev/royale-emulation-works/closure-library-20180910
-compiler.namespaces.namespace
library://ns.apache.org/royale/mx
..\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
library://ns.apache.org/royale/spark
..\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
http://ns.adobe.com/mxml/2009
..\royale-asjs\frameworks\projects\..\mxml-2009-manifest.xml
-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\libs\MXRoyale.swc,..\royale-asjs\frameworks\libs\SparkRoyale.swc
-js-library-path+=.\libs\as3corelib.swc,.\libs\fiber-lib.swc,.\libs\serializers-lib.swc,..\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc,..\royale-asjs\frameworks\js\libs\SparkRoyaleJS.swc
-source-path=.\src\*,.\locale\{locale}
-locale+=tr_TR,en_US
Loading configuration: D:\dev\royale-emulation-works\github\royale-asjs\frameworks\royale-config.xml

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                                                        ^

D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml Error: Internal error in ABC generator subsystem, when generating code for: D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml: java.lang.NullPointerException
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLComponent(MXMLClassDirectiveProcessor.java:4925)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:1020)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3757)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3430)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:942)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3169)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:929)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3686)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:965)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
        at org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
        at org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
        at org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)
        at org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:125)
        at org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
        at org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



D:\dev\royale-emulation-works\github\royale-testing\src\main\mtest\FindBug.mxml(260): col: 8 Error: Internal problem during semantic analysis of MXML

                                                        <mx:MXAdvancedDataGridItemRenderer textAlign="left" />
                                                        ^

21.4602447 seconds



123