Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recently change error, Come from javaScript resource.Please solve it in original resource.Thanks. #189

Open
Onperson opened this issue Sep 27, 2023 · 2 comments

Comments

@Onperson
Copy link

Unhandled Exception: PlatformException(FWFEvaluateJavaScriptError, Failed evaluating JavaScript., A JavaScript exception occurred (WKErrorDomain:4:{WKJavaScriptExceptionLineNumber: Unsupported Type: 45, WKJavaScriptExceptionMessage: TypeError: null is not an object (evaluating 't.getAttribute'), WKJavaScriptExceptionSourceURL: Unsupported Type: about:blank, NSLocalizedDescription: A JavaScript exception occurred, WKJavaScriptExceptionColumnNumber: Unsupported Type: 218226}), null)
#0 WKWebViewHostApiImpl.evaluateJavaScriptForInstances (package:webview_flutter_wkwebview/src/web_kit/web_kit_api_impls.dart:1061:7)

#1 WebKitWebViewController.runJavaScript (package:webview_flutter_wkwebview/src/webkit_webview_controller.dart:401:7)

#2 _EchartsState.init (package:flutter_echarts/flutter_echarts.dart:99:5)

@morozovilya-coder163
Copy link

Good afternoon
did you manage to solve this?

@huangbos
Copy link

huangbos commented May 9, 2024

I resolved this issue through the following methods:

  1. The data must be non null,

  2. Set echarts reloadAfterInit to false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants