When creating web applications in the Java Manager, the configuration of a Search or Query task fails with the error "unable to get layers for map - is it started?". This error occurs if a Find Address or Geoprocessing Task is configured before the configuration of the Search or Query task.