-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
a: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsc: crashStack traces logged to the consoleStack traces logged to the consolep: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specifically
Description
When I stepped back the route, the application crashed.
console log
E/AndroidRuntime( 5177): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.inputmethod.InputConnection android.view.View.onCreateInputConnection(android.view.inputmethod.EditorInfo)' on a null object reference
E/AndroidRuntime( 5177): at io.flutter.plugin.editing.TextInputPlugin.createInputConnection(TextInputPlugin.java:195)
E/AndroidRuntime( 5177): at io.flutter.view.FlutterView.onCreateInputConnection(FlutterView.java:397)
E/AndroidRuntime( 5177): at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1236)
E/AndroidRuntime( 5177): at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:1428)
E/AndroidRuntime( 5177): at android.view.inputmethod.InputMethodManager.isActive(InputMethodManager.java:786)
E/AndroidRuntime( 5177): at io.flutter.plugins.webviewflutter.InputAwareWebView$1.run(InputAwareWebView.java:153)
E/AndroidRuntime( 5177): at android.os.Handler.handleCallback(Handler.java:815)
E/AndroidRuntime( 5177): at android.os.Handler.dispatchMessage(Handler.java:104)
E/AndroidRuntime( 5177): at android.os.Looper.loop(Looper.java:207)
E/AndroidRuntime( 5177): at android.app.ActivityThread.main(ActivityThread.java:5845)
E/AndroidRuntime( 5177): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5177): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/AndroidRuntime( 5177): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:768)
I/BufferQueueProducer( 5177): [SurfaceTexture-0-5177-0](this:0x7f5a47c400,id:0,api:1,p:-1,c:-1) disconnect(P): api 1
I/BufferQueueProducer( 5177): [SurfaceTexture-0-5177-0](this:0x7f5a47c400,id:0,api:1,p:-1,c:-1) disconnect(P): api 1
I/Process ( 5177): Sending signal. PID: 5177 SIG: 9
Lost connection to device.
webview_flutter: ^0.3.10+2
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.3, on Microsoft Windows [Version 10.0.17134.829], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc2)
[√] Android Studio (version 3.4)
[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] Connected device (1 available)
! Doctor found issues in 1 category.
chulwoo-park and MCOfficer
Metadata
Metadata
Assignees
Labels
a: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsc: crashStack traces logged to the consoleStack traces logged to the consolep: webviewThe WebView pluginThe WebView pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specifically
