It looks that you have some problem with your keyStore.
KeyStoreService.getKeyStoreKeyPair (resourceResolver, ID, keyPairAlias) returns null. The KeyPairAlias is the value configured at the OSGI service "Adobe Granite Access Token Provider" with the property name "auth.token.provider.keypair.alias" (default value is "access-token-key-pair").