I have an array list in my class and am getting the value for it as,
ArrayList<VenueIcons> venueArrays = TourDescription.currentTour.getVenues();
I am using this array in my for loop
for (VenueIcons objVenues : venueArrays) {
}
The problem is, this works fine when I am in the debug mode, but when I try to run it it throws null pointer exception for the same array.
When I debug it, I get all the values for venueArrays without any problem.
Trying to find what went wrong
You should give some delay time for getting response for your http call.It should work.