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

RCTFatalException: Unhandled JS Exception: TypeError: Cannot read property 'length' of undefined This error is located at: ...: Unhandled JS Exception: TypeError: Cannot read property 'length' of undefined #6208

Closed
sentry-io bot opened this issue Sep 15, 2023 · 4 comments · Fixed by WordPress/gutenberg#55664

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 15, 2023

Sentry Issue: WORDPRESS-IOS-44RT

Symbolicated stack trace:

gutenberg/packages/format-library/src/text-color/index.native.js:95:TextColorEdit
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:3525:renderWithHooks
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7743:beginWork$1
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7304:performUnitOfWork
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7297:workLoopSync
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7279:renderRootSync
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6975:performSyncWorkOnRoot
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:2145:flushSyncCallbacks
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6650:scheduleUpdateOnFiber
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:3767:forceStoreRerender
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:3752:subscribe$argument_0
gutenberg/packages/data/src/components/use-select/index.js:69:onStoreChange
gutenberg/packages/data/src/components/use-select/index.js:76:onChange
gutenberg/packages/data/src/registry.js:247:currentSubscribe$argument_0
gutenberg/packages/data/src/redux-store/index.js:327:store.subscribe$argument_0
gutenberg/node_modules/redux/lib/redux.js:304:dispatch
gutenberg/packages/data/src/redux-store/thunk-middleware.js:7:<anonymous>
gutenberg/packages/redux-routine/src/index.js:24:<anonymous>
gutenberg/packages/data/src/promise-middleware.js:20:<anonymous>
gutenberg/packages/data/src/resolvers-cache-middleware.js:51:<anonymous>
gutenberg/packages/data/src/redux-store/index.js:202:<anonymous>
gutenberg/packages/editor/src/components/post-title/index.native.js:221:onSelect
gutenberg/packages/data/src/components/use-dispatch/use-dispatch-with-map.js:53:<anonymous>
gutenberg/packages/editor/src/components/post-title/index.native.js:61:PostTitle#focus
gutenberg/packages/edit-post/src/editor.native.js:93:subscribeSetFocusOnTitle$argument_0
gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js:105:emit
gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:427:__callFunction
gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:__guard$argument_0
gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:__guard
gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:callFunctionReturnFlushedQueue
RCTFatalException: Unhandled JS Exception: TypeError: Cannot read property 'length' of undefined

This error is located at:
    in edit
    in Unknown
    in RCTView
    in Unknown
    in q
    in Unknown
    in WithPreferredColorScheme(Component)
    i...: Unhandled JS Exception: TypeError: Cannot read property 'length' of undefined

This error is located at:
    in edit
    in Unknown
    in RCTView
    in Unknown
    in q
    ..., stack:
edit@1:3686560
Or@1:381010
Ma@1:421587
zi@1:408259
Ri@1:408161
Pi@1:408045
ki@1:405545
xt@1:370670
hi@1:403022
nl@1:382914
anonymous@1:382808
t@1:1663275
c@1:1663300
anonymous@1:1608289
anonymous@1:1615385
b@1:1618464
anonymous@1:1655846
anonymous@1:1621504
anonymous@1:1654487
anonymous@1:1654820
anonymous@1:1614417
onSelect@1:3801831
anonymous@1:1668419
value@1:3800468
anonymous@1:3838590
value@1:161338
value@1:165523
anonymous@1:164023
value@1:164969
value@1:163981

  ?, in RCTFatal
  ?, in -[RCTExceptionsManager reportFatal:stack:exceptionId:extraDataAsJSON:]
  ?, in -[RCTExceptionsManager reportException:]
  ?, in -[RCTModuleMethod invokeWithBridge:module:arguments:]
  ?, in facebook::react::invokeInner
...
(13 additional frame(s) were not displayed)
@sentry-io
Copy link
Author

sentry-io bot commented Sep 15, 2023

Sentry issue: JETPACK-IOS-151C

@sentry-io
Copy link
Author

sentry-io bot commented Oct 4, 2023

Sentry issue: WORDPRESS-IOS-45K1

@sentry-io
Copy link
Author

sentry-io bot commented Oct 24, 2023

Sentry issue: JETPACK-IOS-15C0

@fluiddot
Copy link
Contributor

fluiddot commented Nov 6, 2023

Changing priority to High as it has been recently among the top 5 crashes in the WordPress iOS app.

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

Successfully merging a pull request may close this issue.

1 participant