Make two places that get an error for the unimplemented SQL calling convention report it slightly better.

Right now you get an NPE and a Java object hash.

This does nothing to fix the underlying cause, though it shouldn't be that hard.