added type token instance to state in error state to mode mapping.
Fixed null pointer issue with othereml list.