Added message with java assertions

Updated the java assertions, as following: assert condition : "message" ;

Signed-off-by: Herbert Rocha <herberthb12@gmail.com>
Fixed bug in claim translation

Fixed bug related to typos, such as: NULL to null and a.length() to a.length.

Signed-off-by: Herbert Rocha <herberthb12@gmail.com>