java.lang.string не может быть брошен в java.util.map
//you should be more explicit with your declaration of array
public static Map<String, Map<String, Map<String, Map<String, String>>>> array = new HashMap<String, Map<String, Map<String, Map<String, String>>>>();
Ben mahmoud Nour