justinmclean opened a new issue #73: Accidentally adding bead to style causes null pointer exception when compiling URL: https://github.com/apache/royale-asjs/issues/73 Someone may run into this issue and documenting it may help them. Example code: ``` <?xml version="1.0" encoding="utf-8"?> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/royale/basic"> <js:valuesImpl> <js:SimpleCSSValuesImpl/> </js:valuesImpl> <js:initialView> <js:View width="200" height="200"> <js:Container> <js:style> <js:VerticalLayout /> <js:SimpleCSSStyles padding="20" margin="50" backgroundColor="red" /> </js:style> <js:Label text="Hello" /> <js:Label text="World" /> </js:Container> </js:View> </js:initialView> </js:Application> ``` May not be unreasonable to think that VerticalLayout is a style rather than a bead and make this error. Will on compilation give the rather unhelpful error below with no stack trace or other information. ``` Error: Unexpected exception 'java.lang.NullPointerException'. Unexpected exception 'java.lang.NullPointerException'. ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
