René's URL Explorer Experiment


Title: Android crash in Google automated tests: onAccessibilityStateChanged: Cannot read properties of null (reading 'set') · Issue #11049 · NativeScript/NativeScript · GitHub

Open Graph Title: Android crash in Google automated tests: onAccessibilityStateChanged: Cannot read properties of null (reading 'set') · Issue #11049 · NativeScript/NativeScript

X Title: Android crash in Google automated tests: onAccessibilityStateChanged: Cannot read properties of null (reading 'set') · Issue #11049 · NativeScript/NativeScript

Description: Issue Description We’re seeing an Android crash that we can reproduce only in Google Play Console automated testing / pre-launch reports (x86 virtual device). We can’t reproduce it locally on physical devices/emulators, but the stack tra...

Open Graph Description: Issue Description We’re seeing an Android crash that we can reproduce only in Google Play Console automated testing / pre-launch reports (x86 virtual device). We can’t reproduce it locally on physi...

X Description: Issue Description We’re seeing an Android crash that we can reproduce only in Google Play Console automated testing / pre-launch reports (x86 virtual device). We can’t reproduce it locally on physi...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/11049

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android crash in Google automated tests: onAccessibilityStateChanged: Cannot read properties of null (reading 'set')","articleBody":"### Issue Description\n\nWe’re seeing an Android crash that we can reproduce only in Google Play Console automated testing / pre-launch reports (x86 virtual device). We can’t reproduce it locally on physical devices/emulators, but the stack trace consistently points to the accessibility callback path and the fix below stops it in Google tests.\n\n```\nException com.tns.NativeScriptException: Calling js method onAccessibilityStateChanged failed\nTypeError: Cannot read properties of null (reading 'set')\n  at com.tns.Runtime.callJSMethodNative\n  at com.tns.Runtime.dispatchCallJSMethodNative (Runtime.java:1384)\n  at com.tns.Runtime.callJSMethodImpl (Runtime.java:1270)\n  at com.tns.Runtime.callJSMethod (Runtime.java:1257)\n  at com.tns.Runtime.callJSMethod (Runtime.java:1235)\n  at com.tns.Runtime.callJSMethod (Runtime.java:1231)\n  at com.tns.gen.android.view.accessibility.AccessibilityManager_AccessibilityStateChangeListener.onAccessibilityStateChanged (AccessibilityManager_AccessibilityStateChangeListener.java:19)\n  at android.view.accessibility.AccessibilityManager.lambda$notifyAccessibilityStateChanged$0 (AccessibilityManager.java:1710)\n  at android.view.accessibility.AccessibilityManager$$ExternalSyntheticLambda0.run (Unknown Source:4)\n  at android.os.Handler.handleCallback (Handler.java:938)\n  at android.os.Handler.dispatchMessage (Handler.java:99)\n  at android.os.Looper.loopOnce (Looper.java:201)\n  at android.os.Looper.loop (Looper.java:288)\n  at android.app.ActivityThread.main (ActivityThread.java:7870)\n  at java.lang.reflect.Method.invoke\n  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)\n  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)\n```\n***Suspected root cause in NativeScript core***\n[application.android.ts](https://github.com/NativeScript/NativeScript/blob/1daeed5ca6be91185896b10e0ad5604f5798269a/packages/core/application/application.android.ts#L725)\n\nupdateAccessibilityState() calls:\n```\nsharedA11YObservable.set(...)\n```\nbut sharedA11YObservable can be undefined.\n\nAfter applying this patch to **updateAccessibilityState** function, the crash stopped appearing in Google automated testing:\n```\n    if (!sharedA11YObservable) {\n        return;\n    }\n```\n```\nfunction updateAccessibilityState() {\n    if (!sharedA11YObservable) {\n        return;\n    }\n    const accessibilityManager = getAndroidAccessibilityManager();\n    if (!accessibilityManager) {\n        sharedA11YObservable.set(accessibilityStateEnabledPropName, false);\n        sharedA11YObservable.set(touchExplorationStateEnabledPropName, false);\n        return;\n    }\n    sharedA11YObservable.set(accessibilityStateEnabledPropName, !!accessibilityManager.isEnabled());\n    sharedA11YObservable.set(touchExplorationStateEnabledPropName, !!accessibilityManager.isTouchExplorationEnabled());\n}\n```\n\n### Reproduction\n\nWe cannot reproduce this crash manually.\nIt appears only in Google Play automated testing / pre-launch reports on an x86 virtual device.\n\n### Relevant log output (if applicable)\n\n```shell\n\n```\n\n### Environment\n\n```yaml\nOS: macOS 26.2\nCPU: (16) arm64 Apple M4 Max\nShell: /bin/zsh\nnode: 25.1.0\nnpm: 11.6.2\nnativescript: 9.0.1\n\n# android\njava: 17.0.17\nndk: Not Found\napis: Not Found\nbuild_tools: Not Found\nsystem_images: Not Found\n\n# ios\nxcode: 26.0.1/17A400\ncocoapods: 1.16.2\npython: Not Found\npython3: 3.9.6\nruby: 3.3.10\nplatforms: \n  - DriverKit 25.0\n  - iOS 26.0\n  - macOS 26.0\n  - tvOS 26.0\n  - visionOS 26.0\n  - watchOS 26.0\n```\n\n### Dependencies\n\n```json\n\"devDependencies\": {\n  \"@angular-devkit/build-angular\": \"~16.2.0\",\n  \"@angular/compiler-cli\": \"~16.2.0\",\n  \"@nativescript/android\": \"9.0.2\",\n  \"@nativescript/ios\": \"9.0.2\",\n  \"@nativescript/types\": \"9.0.0\",\n  \"@nativescript/webpack\": \"5.0.29\",\n  \"@ngtools/webpack\": \"~16.2.0\",\n  \"@types/url-parse\": \"^1.4.11\",\n  \"process\": \"^0.11.10\",\n  \"typescript\": \"5.1.6\",\n  \"util\": \"^0.12.5\"\n}\n```\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] This is a bug report\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/pichurichko","@type":"Person","name":"pichurichko"},"datePublished":"2026-01-15T18:26:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11049/NativeScript/issues/11049"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:755d58a4-acfb-9a88-4b70-1cc1e26ee9cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id841A:2265AE:24BD3FB:31D4B60:696AD49A
html-safe-nonceb41f576c80fa943a69caa185f32a1a7f9da3a8d87466895fc479674a355d94f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDFBOjIyNjVBRToyNEJEM0ZCOjMxRDRCNjA6Njk2QUQ0OUEiLCJ2aXNpdG9yX2lkIjoiMTEyMDAzOTY0NDc3OTE3MzAxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac09bf878f75aee58b39f7920f9b0afd56cdb4ba03d3692ca7e8b66dd605bb5fb6
hovercard-subject-tagissue:3818662620
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/NativeScript/11049/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6df7f2345ec4722f5a70b9122e1e7ee72b1779fad06bce176e1e63030326eb99/NativeScript/NativeScript/issues/11049
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6df7f2345ec4722f5a70b9122e1e7ee72b1779fad06bce176e1e63030326eb99/NativeScript/NativeScript/issues/11049
og:image:altIssue Description We’re seeing an Android crash that we can reproduce only in Google Play Console automated testing / pre-launch reports (x86 virtual device). We can’t reproduce it locally on physi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepichurichko
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
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
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/NativeScript/NativeScript/issues/11049#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F11049
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F11049
Sign up https://redirect.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%2FNativeScript
Reloadhttps://redirect.github.com/NativeScript/NativeScript/issues/11049
Reloadhttps://redirect.github.com/NativeScript/NativeScript/issues/11049
Reloadhttps://redirect.github.com/NativeScript/NativeScript/issues/11049
NativeScript https://redirect.github.com/NativeScript
NativeScripthttps://redirect.github.com/NativeScript/NativeScript
Please reload this pagehttps://redirect.github.com/NativeScript/NativeScript/issues/11049
Notifications https://redirect.github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://redirect.github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.4k https://redirect.github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://redirect.github.com/NativeScript/NativeScript
Issues 868 https://redirect.github.com/NativeScript/NativeScript/issues
Pull requests 59 https://redirect.github.com/NativeScript/NativeScript/pulls
Discussions https://redirect.github.com/NativeScript/NativeScript/discussions
Actions https://redirect.github.com/NativeScript/NativeScript/actions
Projects 0 https://redirect.github.com/NativeScript/NativeScript/projects
Wiki https://redirect.github.com/NativeScript/NativeScript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://redirect.github.com/NativeScript/NativeScript/security
Please reload this pagehttps://redirect.github.com/NativeScript/NativeScript/issues/11049
Insights https://redirect.github.com/NativeScript/NativeScript/pulse
Code https://redirect.github.com/NativeScript/NativeScript
Issues https://redirect.github.com/NativeScript/NativeScript/issues
Pull requests https://redirect.github.com/NativeScript/NativeScript/pulls
Discussions https://redirect.github.com/NativeScript/NativeScript/discussions
Actions https://redirect.github.com/NativeScript/NativeScript/actions
Projects https://redirect.github.com/NativeScript/NativeScript/projects
Wiki https://redirect.github.com/NativeScript/NativeScript/wiki
Security https://redirect.github.com/NativeScript/NativeScript/security
Insights https://redirect.github.com/NativeScript/NativeScript/pulse
New issuehttps://redirect.github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/11049
New issuehttps://redirect.github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/11049
Android crash in Google automated tests: onAccessibilityStateChanged: Cannot read properties of null (reading 'set')https://redirect.github.com/NativeScript/NativeScript/issues/11049#top
bug-pending-triageReported bug, pending triage to confirm.https://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug-pending-triage%22
https://github.com/pichurichko
https://github.com/pichurichko
pichurichkohttps://github.com/pichurichko
on Jan 15, 2026https://github.com/NativeScript/NativeScript/issues/11049#issue-3818662620
application.android.tshttps://github.com/NativeScript/NativeScript/blob/1daeed5ca6be91185896b10e0ad5604f5798269a/packages/core/application/application.android.ts#L725
existing issueshttps://github.com/NativeScript/NativeScript/issues
StackOverflowhttps://stackoverflow.com/questions/tagged/nativescript
Code of Conducthttps://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc
bug-pending-triageReported bug, pending triage to confirm.https://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug-pending-triage%22
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.