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

A crash happened #136

Closed
cjlkbxt opened this issue Jan 9, 2020 · 6 comments
Closed

A crash happened #136

cjlkbxt opened this issue Jan 9, 2020 · 6 comments

Comments

@cjlkbxt
Copy link

cjlkbxt commented Jan 9, 2020

No description provided.

@cjlkbxt
Copy link
Author

cjlkbxt commented Jan 9, 2020

I met a crash。
#16505 android.content.res.Resources$NotFoundException
String resource ID #0x2040003

com.highsoft.highcharts.core.HIChartView.a(SourceFile:137)

@cjlkbxt cjlkbxt changed the title A crash A crash happened Jan 9, 2020
@soommy12
Copy link
Contributor

soommy12 commented Jan 9, 2020

Hi @cjlkbxt ! Can you please share you options code?

@cjlkbxt
Copy link
Author

cjlkbxt commented Jan 9, 2020

1 android.view.InflateException:Binary XML file line #61: Error inflating class com.highsoft.highcharts.core.HIChartView

2 android.view.LayoutInflater.createView(LayoutInflater.java:642)
3 ......
4 Caused by:
5 android.content.res.Resources$NotFoundException:String resource ID #0x2040003
6 android.content.res.Resources.getText(Resources.java:318)
7 android.content.res.VivoResources.getText(VivoResources.java:123)
8 android.content.res.Resources.getString(Resources.java:404)
9 com.android.org.chromium.content.browser.ContentViewCore.setContainerView(ContentViewCore.java:694)
10 com.android.org.chromium.content.browser.ContentViewCore.initialize(ContentViewCore.java:618)
11 com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore(AwContents.java:631)
12 com.android.org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:780)
13 com.android.org.chromium.android_webview.AwContents.(AwContents.java:619)
14 com.android.org.chromium.android_webview.AwContents.(AwContents.java:556)
15 com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:312)
16 com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:96)
17 com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:264)
18 com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:123)
19 com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:110)
20 com.android.org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:144)
21 com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:107)
22 com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:261)
23 android.webkit.WebView.(WebView.java:554)
24 android.webkit.WebView.(WebView.java:489)
25 android.webkit.WebView.(WebView.java:472)
26 android.webkit.WebView.(WebView.java:459)
27 android.webkit.WebView.(WebView.java:449)
28 com.highsoft.highcharts.core.HIChartView.a(SourceFile:137)
29 com.highsoft.highcharts.core.HIChartView.(SourceFile:116)
30 java.lang.reflect.Constructor.newInstance(Native Method)

Not all mobile phone happened,but only one mobile phone happened。I just use the layout such as <com.highsoft.highcharts.core.HIChartView android:id="@+id/hc" android:layout_width="match_parent" android:layout_height="match_parent">

@soommy12
Copy link
Contributor

soommy12 commented Jan 9, 2020

Was that API 22 or 21?

@cjlkbxt
Copy link
Author

cjlkbxt commented Jan 9, 2020

API 22;Android 5.1.1

@soommy12
Copy link
Contributor

soommy12 commented Jan 9, 2020

In that case, you should check this out. It is a known problem with Android WebView on API 21/22.

@soommy12 soommy12 closed this as completed Jan 9, 2020
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

2 participants