Fixed bug where exception was thrown ...

when creating instance of generic type with no generic interfaces