For building File name i'm constructing name like below mentioned way
public static final String JSON_LOG_FILE_NAME = "JSON"
+getUserName() + System.currentTimeMillis()
+ ".txt";
this is working till yesterday and now it is giving exceptioninintializationerror. And my doubt is can use dynamic values like android device time and database values as a part of static final variable.