Throw exception in case of problems with stubs
Possible fix of NPE (due to compiler bug) with ugly lazy calls.