asksven/ALTitude — Issue #37: [bug] null pointer exception in LocationService
Author: asksven
Created: 2012-02-13 20:42:55+00:00
State: open

in 0.8.2
java.lang.NullPointerException
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readln(HttpURLConnectionImpl.java:1279)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl$ChunkedInputStream.readChunkSize(HttpURLConnectionImpl.java:404)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl$ChunkedInputStream.(HttpURLConnectionImpl.java:340)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getContentStream(HttpURLConnectionImpl.java:1175)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.doRequestInternal(HttpURLConnectionImpl.java:1754)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.doRequest(HttpURLConnectionImpl.java:1649)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:1374)
at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:117)
at com.google.api.client.http.javanet.NetHttpResponse.(NetHttpResponse.java:37)
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:83)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:361)
at com.google.api.services.latitude.Latitude$RemoteRequest.execute(Latitude.java:557)
at com.google.api.services.latitude.Latitude$CurrentLocation$Insert.executeUnparsed(Latitude.java:169)
at com.google.api.services.latitude.Latitude$CurrentLocation$Insert.execute(Latitude.java:154)
at com.asksven.betterlatitude.LocationService.setLocationApiCall(LocationService.java:410)
at com.asksven.betterlatitude.LocationService.onLocationChanged(LocationService.java:291)
at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:219)
at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:152)
at android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:168)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
at dalvik.system.NativeStart.main(Native Method)