public static void dumpMemberId(Object holder, byte[] memberBytes) throws Exception {
    byte[] newBytes = new byte[memberBytes.length + 17];
    System.arraycopy(memberBytes, 0, newBytes, 0, memberBytes.length);
    ByteArrayInputStream bais = new ByteArrayInputStream(newBytes);
    DataInputStream dataIn = new DataInputStream(bais);
    InternalDistributedMember memberId = InternalDistributedMember.readEssentialData(dataIn);
    String sb = "<" + Thread.currentThread().getName() + "> " + holder
        + " is " + memberId + " byte count = " + memberBytes.length
        + " bytes = " + Arrays.toString(memberBytes);
    System.out.println(sb);
  }
bug 35380: Cycling a DistributedSystem with an initialized pool causes interest registration
NPE

Test Scenario:

Create a DistributedSystem (DS1). Create a pool, initialize (creates a proxy with DS1 memberid)
Disconnect DS1. Create a DistributedSystem (DS2). Create a Region with pool, it attempts to
register interest using DS2 memberid, gets NPE.
geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase.java