socketWrapper.getEndpoint().getExecutor().execute(streamProcessor);
}
@Override
public void reset(int streamId, long errorCode) throws Http2Exception  {
Stream stream = getStream(streamId, true);
<BUG>if (stream != null) {</BUG>
stream.checkState(FrameType.RST);
stream.reset(errorCode);
}
<BUG>}</BUG>
@Override

socketWrapper.getEndpoint().getExecutor().execute(streamProcessor);
}
@Override
public void reset(int streamId, long errorCode) throws Http2Exception  {
Stream stream = getStream(streamId, true);
stream.checkState(FrameType.RST);
stream.reset(errorCode);
}
@Override
