Updated Java SDK 1.9.2 and fixed bugs in samples