detroit

plain query

Discussion created by detroit on Jul 7, 2013
Latest reply on Jul 11, 2013 by mwack
I'm constantly getting error:
07-08 09:33:55.443: E/ArcGIS(18088): Failed to initialize the ArcGISFeatureLayer.
07-08 09:33:55.443: E/ArcGIS(18088): org.apache.http.NoHttpResponseException: The target server failed to respond
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:85)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:653)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
07-08 09:33:55.443: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.core.internal.io.handler.g.a(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.core.internal.io.handler.g.a(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.core.internal.tasks.a.n.a(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.core.internal.tasks.a.n.b(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.android.map.Layer.loadServiceInfo(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.android.map.ags.ArcGISFeatureLayer.initLayer(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at com.esri.android.map.ags.ArcGISFeatureLayer$1.run(Unknown Source)
07-08 09:33:55.443: E/ArcGIS(18088):  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
07-08 09:33:55.443: E/ArcGIS(18088):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
07-08 09:33:55.443: E/ArcGIS(18088):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
07-08 09:33:55.443: E/ArcGIS(18088):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
07-08 09:33:55.443: E/ArcGIS(18088):  at java.lang.Thread.run(Thread.java:856)

OR


07-08 09:37:01.119: E/ArcGIS(18088): ArcGISFeatureLayer.FeatureSetCallback.onError
07-08 09:37:01.119: E/ArcGIS(18088): org.apache.http.NoHttpResponseException: The target server failed to respond
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:85)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
07-08 09:37:01.119: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
07-08 09:37:01.119: E/ArcGIS(18088):  at com.esri.core.internal.io.handler.g.a(Unknown Source)
07-08 09:37:01.119: E/ArcGIS(18088):  at com.esri.core.internal.io.handler.g.b(Unknown Source)
07-08 09:37:01.119: E/ArcGIS(18088):  at com.esri.core.internal.tasks.a.e.c.a(Unknown Source)
07-08 09:37:01.119: E/ArcGIS(18088):  at com.esri.core.internal.tasks.a.e.c.b(Unknown Source)
07-08 09:37:01.119: E/ArcGIS(18088):  at com.esri.core.internal.tasks.b.call(Unknown Source)
07-08 09:37:01.119: E/ArcGIS(18088):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
07-08 09:37:01.119: E/ArcGIS(18088):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
07-08 09:37:01.119: E/ArcGIS(18088):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
07-08 09:37:01.119: E/ArcGIS(18088):  at java.lang.Thread.run(Thread.java:856)
07-08 09:37:01.213: E/ArcGIS(18088): FeatureSetCallback.onError
07-08 09:37:01.213: E/ArcGIS(18088): org.apache.http.NoHttpResponseException: The target server failed to respond
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:85)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
07-08 09:37:01.213: E/ArcGIS(18088):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
07-08 09:37:01.213: E/ArcGIS(18088):  at com.esri.core.internal.io.handler.g.a(Unknown Source)
07-08 09:37:01.213: E/ArcGIS(18088):  at com.esri.core.internal.io.handler.g.b(Unknown Source)
07-08 09:37:01.213: E/ArcGIS(18088):  at com.esri.core.internal.tasks.a.e.c.a(Unknown Source)
07-08 09:37:01.213: E/ArcGIS(18088):  at com.esri.core.internal.tasks.a.e.c.b(Unknown Source)
07-08 09:37:01.213: E/ArcGIS(18088):  at com.esri.core.internal.tasks.b.call(Unknown Source)
07-08 09:37:01.213: E/ArcGIS(18088):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
07-08 09:37:01.213: E/ArcGIS(18088):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
07-08 09:37:01.213: E/ArcGIS(18088):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
07-08 09:37:01.213: E/ArcGIS(18088):  at java.lang.Thread.run(Thread.java:856)


Basically : org.apache.http.NoHttpResponseException: The target server failed to respond
while the rest interface query doesnt return any error ever.


Is there a specific way i should handle the esri rest api with android api?

Thank you,
Matej

Outcomes