user3255849
user3255849

Reputation: 21

iWnn ime crashes with EditText on Nexus7 2013 4.4.2

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <EditText
        android:id="@+id/editText1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">
    </EditText>
</RelativeLayout>

public class MainActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
}}

Ive got these logs.
Does anyone know any information?

01-31 12:30:38.968: W/IInputConnectionWrapper(2193): beginBatchEdit on inactive     InputConnection
01-31 12:30:38.968: W/IInputConnectionWrapper(2193): endBatchEdit on inactive InputConnection
01-31 12:30:38.978: W/IInputConnectionWrapper(2193): beginBatchEdit on inactive InputConnection
01-31 12:30:38.988: W/IInputConnectionWrapper(2193): endBatchEdit on inactive InputConnection
01-31 12:30:39.008: W/IInputConnectionWrapper(2193): beginBatchEdit on inactive InputConnection
01-31 12:30:39.008: W/IInputConnectionWrapper(2193): endBatchEdit on inactive InputConnection
01-31 12:30:39.048: W/IInputConnectionWrapper(2193): beginBatchEdit on inactive InputConnection
01-31 12:30:39.048: W/IInputConnectionWrapper(2193): endBatchEdit on inactive InputConnection
01-31 12:30:39.159: E/iWnn(7491): OpenWnn::onEvent()  InputConnection is not active
01-31 12:30:39.179: E/iWnn(7491): OpenWnn::onEvent()  InputConnection is not active
01-31 12:30:39.179: D/AndroidRuntime(7491): Shutting down VM
01-31 12:30:39.179: W/dalvikvm(7491): threadid=1: thread exiting with uncaught exception (group=0x415a2ba8)
01-31 12:30:39.179: E/AndroidRuntime(7491): FATAL EXCEPTION: main
01-31 12:30:39.179: E/AndroidRuntime(7491): Process: jp.co.omronsoft.iwnnime.ml, PID: 7491
01-31 12:30:39.179: E/AndroidRuntime(7491): java.lang.NullPointerException
01-31 12:30:39.179: E/AndroidRuntime(7491):     at    jp.co.omronsoft.iwnnime.ml.jajp.IWnnImeJaJp.onStartInputView(IWnnImeJaJp.java:930)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at  jp.co.omronsoft.iwnnime.ml.standardcommon.IWnnLanguageSwitcher.onStartInputView(IWnnLanguageSwitcher.java:267)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1456)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1414)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:425)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:202)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:40)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.os.Handler.dispatchMessage(Handler.java:102)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.os.Looper.loop(Looper.java:136)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at android.app.ActivityThread.main(ActivityThread.java:5017)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at java.lang.reflect.Method.invokeNative(Native Method)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at java.lang.reflect.Method.invoke(Method.java:515)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
01-31 12:30:39.179: E/AndroidRuntime(7491):     at  dalvik.system.NativeStart.main(Native Method)

Upvotes: 2

Views: 293

Answers (2)

Einstein Moritz
Einstein Moritz

Reputation: 1

Click on app info thhen clear the cache of the app and finally go to force stop.Trust me everything(keyboard) is set for use.

Upvotes: 0

Pooks
Pooks

Reputation: 2585

I have the same problem with my Nexus 7 when the language is set to Japanese. It appears to be caused by the EditText getting focus and trying to load the soft keyboard before it is ready. I got around the issue by preventing the keyboard from loading when the activity starts by setting windowSoftInputMode in my Activity definition in the manifest.

android:windowSoftInputMode="stateHidden"

Reference here: http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft

I hope this helps.

Upvotes: 1

Related Questions