René's URL Explorer Experiment


Title: Webview Crash With Android 8.1.0 / Chromium 67.0.3396.68 · Issue #1075 · NativeScript/android · GitHub

Open Graph Title: Webview Crash With Android 8.1.0 / Chromium 67.0.3396.68 · Issue #1075 · NativeScript/android

X Title: Webview Crash With Android 8.1.0 / Chromium 67.0.3396.68 · Issue #1075 · NativeScript/android

Description: Did you verify this is a real problem by searching the NativeScript Forum https://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202 Tell us about the problem With the latest chrome (67.0.3396.68...

Open Graph Description: Did you verify this is a real problem by searching the NativeScript Forum https://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202 Tell us about the prob...

X Description: Did you verify this is a real problem by searching the NativeScript Forum https://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202 Tell us about the prob...

Opengraph URL: https://github.com/NativeScript/android/issues/1075

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Webview Crash With Android 8.1.0 / Chromium 67.0.3396.68","articleBody":"Did you verify this is a real problem by searching the NativeScript Forum\r\nhttps://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202\r\n\r\nTell us about the problem\r\nWith the latest chrome (67.0.3396.68) update on Android 8.1.0 webview is crashing. \r\n\r\nPlease provide the following version numbers that your issue occurs with:\r\n- CLI: 3.4.2\r\n- tns-android: 3.4.2\r\n- Android: 8.1.0\r\n- Chromium: 67.0.3396.68\r\n\r\nAfter further debugging, \r\nInvoking of onReceivedError on webviewclient is causing the null pointer exception in  Runtime.java (https://github.com/NativeScript/android-runtime/blob/v3.4.2/test-app/runtime/src/main/java/com/tns/Runtime.java), Line number 682: (String pname = p.getName();) \r\n\r\nAfter the chrome update on the device, the 2nd(android.webkit.WebResourceRequest) and 3rd (android.webkit.WebResourceError) parameters of function onReceivedError of WebViewClient received object whose class is having empty package. This causes line 679 of https://github.com/NativeScript/android-runtime/blob/v3.4.2/test-app/runtime/src/main/java/com/tns/Runtime.java [clazz.getPackage();] to return null. And subsequently this causes null pointer exception on line 682 of same file [ String pname = p.getName(); ] . \r\n\r\nPrinting the class names inside the function getTypeMetadata, with latest chrome as webview,  gives class vS, class vR. \r\n\r\nBut in the device if I select to use android webview instead of chrome webview, it gives class as com.android.webview.chromium.xz, com.android.webview.chromium.WL. \r\n\r\nSo essentially the function getTypeMetadata is not handling classes with empty packages. \r\nSo instaed of:\r\n```\r\nPackage p = (mostOuterClass != null)\r\n                    ? mostOuterClass.getPackage()\r\n                    : clazz.getPackage();\r\nint packageCount = 1;\r\nString pname = p.getName();\r\n```\r\nchanging to:\r\n```\r\nPackage p = (mostOuterClass != null)\r\n                    ? mostOuterClass.getPackage()\r\n                    : clazz.getPackage();\r\nint packageCount = p != null ? 1 : 0;\r\nString pname = p != null ? p.getName() : \"\";\r\n```\r\nThis seems to be fixing the issue.","author":{"url":"https://github.com/sud80","@type":"Person","name":"sud80"},"datePublished":"2018-06-04T07:25:54Z","url":"https://github.com/NativeScript/android/issues/1075"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d210a5b1-fe0c-cf75-b220-991525037633
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id833C:117C62:16E2576:1E83B03:6B014265
html-safe-nonceb1060090a13565acb5ac04097da535c9bbfc3b44fea52b117b59c71b4c12dc6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzNDOjExN0M2MjoxNkUyNTc2OjFFODNCMDM6NkIwMTQyNjUiLCJ2aXNpdG9yX2lkIjoiNjgwOTgzMTkyMTMzMDI0MjE1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac24063e1d74e863f107f2a1d2f08c15e5b8a2480da8e83765d5a81a16b51a38d5
hovercard-subject-tagissue:328937434
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/android/1075/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bafb0742c1a2697e2eddb01f1ce23443344a0c576fb3dac6a2edb11a9b3f811d/NativeScript/android/issues/1075
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bafb0742c1a2697e2eddb01f1ce23443344a0c576fb3dac6a2edb11a9b3f811d/NativeScript/android/issues/1075
og:image:altDid you verify this is a real problem by searching the NativeScript Forum https://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202 Tell us about the prob...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesud80
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/android git https://github.com/NativeScript/android.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id29137950
octolytics-dimension-repository_nwoNativeScript/android
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id29137950
octolytics-dimension-repository_network_root_nwoNativeScript/android
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/android/issues/1075#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fissues%2F1075
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fissues%2F1075
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fandroid
Reloadhttps://github.com/NativeScript/android/issues/1075
Reloadhttps://github.com/NativeScript/android/issues/1075
Reloadhttps://github.com/NativeScript/android/issues/1075
NativeScripthttps://github.com/NativeScript
androidhttps://github.com/NativeScript/android
Codehttps://github.com/NativeScript/android
Issues106 (106)https://github.com/NativeScript/android/issues
Pull requests24 (24)https://github.com/NativeScript/android/pulls
Actionshttps://github.com/NativeScript/android/actions
Projectshttps://github.com/NativeScript/android/projects
Wikihttps://github.com/NativeScript/android/wiki
Security and qualityhttps://github.com/NativeScript/android/security
Insightshttps://github.com/NativeScript/android/insights
https://github.com/NativeScript/android
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/android/issues/1075
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/android/issues/1075
Webview Crash With Android 8.1.0 / Chromium 67.0.3396.68https://github.com/NativeScript/android/issues/1075#top
bughttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22bug%22
severity: highhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
4.1.2https://github.com/NativeScript/android/milestone/32
https://github.com/sud80
sud80https://github.com/sud80
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issue-328937434
https://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202https://discourse.nativescript.org/t/webview-causes-app-crash-on-android-with-chrome-67-release/6202
https://github.com/NativeScript/android-runtime/blob/v3.4.2/test-app/runtime/src/main/java/com/tns/Runtime.javahttps://github.com/NativeScript/android-runtime/blob/v3.4.2/test-app/runtime/src/main/java/com/tns/Runtime.java
https://github.com/NativeScript/android-runtime/blob/v3.4.2/test-app/runtime/src/main/java/com/tns/Runtime.javahttps://github.com/NativeScript/android-runtime/blob/v3.4.2/test-app/runtime/src/main/java/com/tns/Runtime.java
Nexthttps://github.com/NativeScript/android/issues/1075?timeline_page=1
https://github.com/erjdriver
erjdriverhttps://github.com/erjdriver
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394363192
https://github.com/sud80
sud80https://github.com/sud80
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394370279
@erjdriverhttps://github.com/erjdriver
https://github.com/NativeScript/android-runtime/#how-to-buildhttps://github.com/NativeScript/android-runtime/#how-to-build
https://github.com/erjdriver
erjdriverhttps://github.com/erjdriver
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394378581
https://github.com/sud80
sud80https://github.com/sud80
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394418409
@erjdriverhttps://github.com/erjdriver
https://github.com/erjdriver
erjdriverhttps://github.com/erjdriver
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394425243
https://github.com/mspusta78
mspusta78https://github.com/mspusta78
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394464318
https://github.com/erjdriver
erjdriverhttps://github.com/erjdriver
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394465458
@sud80https://github.com/sud80
https://github.com/mspusta78
mspusta78https://github.com/mspusta78
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394466645
…https://github.com/NativeScript/android/issues/1075
@sud80https://github.com/sud80
https://github.com/sud80https://github.com/sud80
#1075 (comment)https://github.com/NativeScript/android/issues/1075#issuecomment-394465458
https://github.com/notifications/unsubscribe-auth/AgM3s4P7jbSskSuSOILU0CaJMXeD-SFZks5t5YY2gaJpZM4UYkzZhttps://github.com/notifications/unsubscribe-auth/AgM3s4P7jbSskSuSOILU0CaJMXeD-SFZks5t5YY2gaJpZM4UYkzZ
https://github.com/Guatom
Guatomhttps://github.com/Guatom
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394477834
@mspusta78https://github.com/mspusta78
https://github.com/surdu
surduhttps://github.com/surdu
on Jun 4, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394501272
https://github.com/mspusta78
mspusta78https://github.com/mspusta78
on Jun 5, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394563242
@erjdriverhttps://github.com/erjdriver
@sud80https://github.com/sud80
https://github.com/sud80
sud80https://github.com/sud80
on Jun 5, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394567568
@mspusta78https://github.com/mspusta78
https://github.com/NativeScript/android-runtime/#how-to-buildhttps://github.com/NativeScript/android-runtime/#how-to-build
https://github.com/vtrifonov
vtrifonovhttps://github.com/vtrifonov
on Jun 5, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394681680
@sud80https://github.com/sud80
here's how you can easily debug the android runtime in your own projecthttps://docs.nativescript.org/runtimes/android/how-to/debug-android-runtime
https://github.com/mspusta78
mspusta78https://github.com/mspusta78
on Jun 5, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394702149
@vtrifonovhttps://github.com/vtrifonov
https://github.com/vtrifonov
vtrifonovhttps://github.com/vtrifonov
on Jun 5, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-394789846
@mspusta78https://github.com/mspusta78
@sud80https://github.com/sud80
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 19, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398333319
https://github.com/vhristov5555
vhristov5555https://github.com/vhristov5555
on Jun 19, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398444673
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398658879
https://github.com/vhristov5555
vhristov5555https://github.com/vhristov5555
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398661667
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398662876
https://github.com/vhristov5555
vhristov5555https://github.com/vhristov5555
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398665572
https://play.nativescript.org/?template=play-ng&id=dDxibYhttps://play.nativescript.org/?template=play-ng&id=dDxibY
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398672345
https://github.com/vtrifonov
vtrifonovhttps://github.com/vtrifonov
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398683876
https://play.nativescript.org/?template=play-tsc&id=69PonZ&v=2https://play.nativescript.org/?template=play-tsc&id=69PonZ&v=2
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398692965
https://github.com/vtrifonov
vtrifonovhttps://github.com/vtrifonov
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398711643
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398724843
https://github.com/vtrifonov
vtrifonovhttps://github.com/vtrifonov
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398782670
https://play.nativescript.org/?template=play-tsc&id=69PonZ&v=6https://play.nativescript.org/?template=play-tsc&id=69PonZ&v=6
https://github.com/TheOnlyMatt
TheOnlyMatthttps://github.com/TheOnlyMatt
on Jun 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-398798407
https://github.com/lsowmya
lsowmyahttps://github.com/lsowmya
on Jul 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-406671367
https://user-images.githubusercontent.com/29586321/43016034-4fa942fc-8c06-11e8-9278-b0fc7f172114.png
https://github.com/vtrifonov
vtrifonovhttps://github.com/vtrifonov
on Jul 20, 2018https://github.com/NativeScript/android/issues/1075#issuecomment-406681419
@lsowmyahttps://github.com/lsowmya
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/android/issues/1075
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/android/issues/1075
bughttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22bug%22
severity: highhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
4.1.2https://github.com/NativeScript/android/milestone/32
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.