Fixed NPE
Error was caused by wrong instance name.