@Override
    public void postCreateTable(ObserverContext<MasterCoprocessorEnvironment> env,
      TableDescriptor desc, RegionInfo[] regions) throws IOException {
      // cause a NullPointerException and don't catch it: this will cause the
      // master to abort().
      Integer i;
      i = null;
      i = i++;
    }
Tests unhandled exceptions thrown by coprocessors running on master. Expected result is that the
master will abort with an informative error message describing the set of its loaded coprocessors
for crash diagnosis. (HBASE-4014).
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java