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

JavascriptException: TypeError: Cannot read property 'tagName' of undefined #5135

Closed
AliSoftware opened this issue Sep 5, 2022 · 3 comments
Assignees

Comments

@AliSoftware
Copy link
Contributor

AliSoftware commented Sep 5, 2022

Note: Issue reported on WPAndroid in Sentry; not sure if it applies to WPiOS as well or just Android.

Sentry Url: https://sentry.io/share/issue/3fbecd8d397a4f389c10266d97b88979/
User Count: 656
Count: 2759
First Release: 17.8
First Seen: 2021-07-29T11:38:06.407000Z
Last Seen: 2022-09-05T09:47:40Z
24 Hours: 103
30 Days: 1150

Warning: This sentry issue isn't new, but the trend has apparently been rising in the last few days:

image

JavascriptException: TypeError: Cannot read property 'tagName' of undefined

This error is located at:
    in M
    in WithDispatch(M)
    in Unknown
    in WithSelect(WithDispatch(M))
    in k
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in E, js engine: hermes, stack:
anonymous@1:3479751
c@1:3479629
anonymous@1:3480123
anonymous@1:1977958
y@1:1952414
anonymous@1:1952668
anonymous@1:1952638
value@1:3607357
Sl@1:170595
yl@1:170456
aa@1:200535
Xa@1:187384
Ya@1:187287
Wa@1:187171
Ha@1:184636
xt@1:153140
Ma@1:182611
mi@1:192389
anonymous@1:201935
anonymous@1:524104
run@1:518107
runApplication@1:518556
value@1:212427
anonymous@1:211039
value@1:211992
value@1:210997

...
(2 additional frame(s) were not displayed)
@geriux
Copy link
Contributor

geriux commented Sep 5, 2022

Thanks for creating this issue, I de-symbolized the stacktrace and it is related to the List V2 block:

gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/edit.js:90:useOutdentList
map@(null):(null)
gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/edit.js:78:useSelect$argument_0
gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/edit.js:51:useMigrateOnLoad
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/apply-block-deprecated-versions.js:107:applyBlockDeprecatedVersions
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:249:parseRawBlock
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:226:normalizedBlock.innerBlocks.map$argument_0
map@(null):(null)
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:226:parseRawBlock
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:226:normalizedBlock.innerBlocks.map$argument_0
map@(null):(null)
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:226:parseRawBlock
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:311:grammarParse.reduce$argument_0
reduce@(null):(null)
gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js:310:parse

Issue reported on WPAndroid in Sentry; not sure if it applies to WPiOS as well or just Android.

I checked and it happens on both platforms.

There is a fix already for this bug so we will include it in Gutenberg mobile as well.

@geriux
Copy link
Contributor

geriux commented Sep 6, 2022

Fixed in WordPress/gutenberg#43861

@geriux geriux closed this as completed Sep 6, 2022
@SiobhyB SiobhyB mentioned this issue Sep 8, 2022
4 tasks
@sentry-io
Copy link

sentry-io bot commented Sep 12, 2022

Sentry issue: WORDPRESS-ANDROID-8XJ

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

No branches or pull requests

2 participants