[DROOLS-578] add double null check to asm stub builders