You didn't fix the errors. I think I found a way to reproduce the first one.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at starlingEx.text::CharLocation/reset()[D:\IdeaProject\ElectricEngineering\src\starlingEx\text\CharLocation.as:549]
at starlingEx.text::CharLocation$/putInstance()[D:\IdeaProject\ElectricEngineering\src\starlingEx\text\CharLocation.as:37]
at starlingEx.text::CharLocation$/putVector()[D:\IdeaProject\ElectricEngineering\src\starlingEx\text\CharLocation.as:54]
`
public static function createApertureTextField():TextFieldEx
{
var fontSize:Number = 14;
var textFormat:TextFormatEx = new TextFormatEx(APERTURE_FONT, fontSize);
textFormat.horizontalAlign = 'center';
textFormat.leading = -4;
textFormat.setCornerColors(0x0, 0x0, 0x0, 0x0);
var textField:TextFieldEx = new TextFieldEx(-1, -1, '', textFormat);
textField.touchable = false;
return textField;
}
private function createApertureTest():void
{
var textField:TextFieldEx = createApertureTextField();
textField.text = '42343cdfasdf';
this.addChild(textField);
Starling.juggler.delayCall(function ():void
{
textField.removeFromParent(true);
var textField2:TextFieldEx = createApertureTextField();
textField2.text = '42343cdfasdf';
this.addChild(textField2);
}, 3);
}`