carlosrovira commented on issue #102: MXML tag without prefix causes 
NullPointerException
URL: https://github.com/apache/royale-compiler/issues/102#issuecomment-559560120
 
 
   I just tested a similar case that gives error too due to latest changes:
   
   ```mxml
   <j:List>
        <j:dataProvider>
                <fx:Array>
                        <fx:String>Features</fx:String>
                        <fx:String>Support</fx:String>
                </fx:Array>
        </j:dataProvider>
   </j:List>
   ```
   
   error trace:
   
   > [INFO] Executing MXMLC in tool group Royale with args: 
[-load-config=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/TourDeJewel/target/compile-app-config.xml,
 -source-map=true, -js-dynamic-access-unknown-members=true, 
-js-output=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/TourDeJewel/target/javascript,
 -compiler.targets=JSRoyale, 
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/TourDeJewel/src/main/royale/App.mxml]
   > 
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml(47):
 col: 7 Error: This tag is unexpected. It will be ignored.
   > 
   >                                                 <fx:Array>
   >                                                 ^
   > 
   > 
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml(62):
 col: 7 Error: This tag is unexpected. It will be ignored.
   > 
   >                                                 <fx:Array>
   >                                                 ^
   
   (aside from the problem, did you notice that errors are printed twice?)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to