@Test
  public void throwsIllegalStateExceptionWithMessage() throws Exception {
    assertThatThrownBy(() -> new StatArchiveReader(new File[] {archiveFile}, null, true))
        .isExactlyInstanceOf(IllegalStateException.class) // was NullPointerException
        .hasMessageStartingWith("ResourceType is missing for resourceTypeId 0")
        .hasMessageContaining("resourceName statistics1");
  }
StatArchiveReader should throw IllegalStateException with detailed information instead of
throwing NullPointerException when encountering a Geode Stats file (.gfs) with a missing
ResourceType.

<p>
{@code StatArchiveWithMissingResourceTypeRegressionTest.gfs} was hacked to have a missing
ResourceType. There is no way to generate an equivalent .gfs file.

<p>
GEODE-2013: StatArchiveReader throws NullPointerException due to missing ResourceType
geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/StatArchiveWithMissingResourceTypeRegressionTest.java