Kaljurand / K6nele

An Android app that offers speech-to-text user interfaces to other apps
http://kaljurand.github.io/K6nele/
Apache License 2.0
267 stars 83 forks source link

Force close resulting from sendChunk (that uses HttpURLConnectionImpl) #16

Closed Kaljurand closed 8 years ago

Kaljurand commented 9 years ago

Original issue 12 created by Kaljurand on 2011-11-03T15:09:51.000Z:

On HTC Wildfire (Android v2.2), sometimes getting this NPE:

{{{ E/AndroidRuntime( 5655): java.lang.NullPointerException E/AndroidRuntime( 5655): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readln(HttpURLConnectionImpl.java:1293) E/AndroidRuntime( 5655): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readServerResponse(HttpURLConnectionImpl.java:1351) E/AndroidRuntime( 5655): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.doRequest(HttpURLConnectionImpl.java:1644) E/AndroidRuntime( 5655): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:1153) E/AndroidRuntime( 5655): at ee.ioc.phon.netspeechapi.recsession.ChunkedWebRecSession.sendChunk(Unknown Source) E/AndroidRuntime( 5655): at ee.ioc.phon.android.recognizerintent.RecognizerIntentActivity.sendChunk(RecognizerIntentActivity.java:706) E/AndroidRuntime( 5655): at ee.ioc.phon.android.recognizerintent.RecognizerIntentActivity.access$4(RecognizerIntentActivity.java:703) E/AndroidRuntime( 5655): at ee.ioc.phon.android.recognizerintent.RecognizerIntentActivity$6.run(RecognizerIntentActivity.java:560) W/ActivityManager( 103): Force finishing activity ee.ioc.phon.android.recognizerintent/.demo.RepeaterDemo }}}

Kaljurand commented 8 years ago

Cannot reproduce. Probably obsolete.