@Override
    public boolean hasResult() {
      return true;
    }
Simple function that throws NullPointerException after sending some results.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/FunctionExceptionsIncludeLocalMemberRegressionTest.java