Catching NPE is fairly indirect and could grab unrelated errors. I'd prefer an explicit check:
if (uri.getInstance() == null) { throw new KINE(...) }