boatmeme/microsoft-translator-java-api — Issue #27: Translate.execute() sometimes returns a NullPointerException on Android 4.0
Author: boatmeme
Created: 2011-11-16 19:52:43+00:00
State: open
Labels: Bug

If you try to run Microsoft Translator Java API on Android 4.0, you must make execute all network calls on either a separate thread, or explicitly set the ThreadPriority to LAX.

This would all be easier to diagnose if MST-Java API didn't get a NullPointerException from Android's networking when trying to getInputStream() on HttpUrlConnection in order to close it.