DATACMNS-501 - Work around potential null returned from GenericTypeResolver in Spring 4.

Spring 4's GenericTypeResolver returns null when trying to resolve type arguments for types that do not fully resolve the generic types.

Related issues: SPR-11763.