                 catch (e:Error)
                 {
                     //throw new Error("Failed to set attribute "+attrName+"("+attr+") on "+resultTypeName+". Check that class is dynamic or attribute name is spelled correctly");
-                    trace("Failed to set attribute "+attrName+"("+attr+") on "+resultTypeName+". " + e + ". Check that class is dynamic or attribute name is spelled correctly");
+                    /**TRACEDISABLE:trace("Failed to set attribute "+attrName+"("+attr+") on "+resultTypeName+". " + e + ". Check that class is dynamic or attribute name is spelled correctly");*/
                 }
             }
             

                                    {
                                        if (e.errorID == 1034)
                                        {// must be a non-array thingy. IGNORE
                                            trace("Ignoring TypeError on promote to Array on" + propertyName);
                                        }
                                        else
                                            throw e;

        {
            if (isArray && (result as Array).length > 0)
            {
                /**TRACEDISABLE:trace("flushing array");*/
                (result as Array).splice(0);
            }
            else if (isCollection && (result as IList).length > 0)
            {
                /**TRACEDISABLE:trace("flushing collection");*/
                (result as IList).removeAll();
            }
        }
