yet another NPE in resumptionToken handling