The following code fails due to $tagA assigned to a state type component:
state "A" as a $tagA {
}
http://www.plantuml.com/plantuml/umla/Km_9I5L8oy_9oI_Fp4jNICvF0N8JCtEA5L9AKnLAyXLKIXBJ7HKIYuipq_DIKq0YYGh59OabGCdAWbIWXjo2_BpKl18hBYw8i9AZ4b2vGY9KPpLNBG00
Same issue is observed for object component, and may be other types too