UnsupportedOperationException when a namespace is used in place of an expression

e.g. System!!