java.lang.RuntimeException: InputChannel is not initialized
<p>I am developing an android application. I meet with this crash many times
recently and I have found this issue <a href="https://code.google.com/p/android/issues/detail?id=108859" rel="noreferrer">https://code.google.com/p/android/issues/detail?id=108859</a>,is there any way to avoid this crash ?</p>

<pre><code>java.lang.RuntimeException: InputChannel is not initialized.
    at android.view.InputEventReceiver.nativeInit(InputEventReceiver.java)
    at android.view.InputEventReceiver.&lt;init&gt;(InputEventReceiver.java)
    at android.view.ViewRootImpl$WindowInputEventReceiver.&lt;init&gt;(ViewRootImpl.java)
    at android.view.ViewRootImpl.setView(ViewRootImpl.java)
    at android.view.WindowManagerImpl.addView(WindowManagerImpl.java)
    at android.view.WindowManagerImpl.addView(WindowManagerImpl.java)
    at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java)
    at android.view.Window$LocalWindowManager.addView(Window.java)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
    at android.app.ActivityThread.access$600(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
    at android.os.Handler.dispatchMessage(Handler.java)
    at android.os.Looper.loop(Looper.java)
    at android.app.ActivityThread.main(ActivityThread.java)
    at java.lang.reflect.Method.invokeNative(Method.java)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
    at dalvik.system.NativeStart.main(NativeStart.java)
</code></pre>