I found some strange exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
How it can be possible
Use String.valueOf(integer).
It returns a string representation of integer.