SdkContext.java, added init checks