@Override
    public Object[] next() {
      Object[] next = delegate.next();

      // delegate.next() will return null if an error occurred
      if (next == null) {
        return null;
      }

      try {
        return (Object[]) invokeRaw(context.getSharedInstance(), context.getCurrentFeature().getDataProcessorMethod(), next);
      } catch (Throwable t) {
        supervisor.error(context.getErrorInfoCollector(), new ErrorInfo(context.getCurrentFeature().getDataProcessorMethod(), t, getErrorContext()));
        return null;
      }
    }
A fallback iterator that returns a single empty iteration.
<p>
This is used when a feature has no data provider method and iteration behavior is forcefully enabled.

@since 2.3
spock-core/src/main/java/org/spockframework/runtime/DataIteratorFactory.java