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: undefined is not a function, js engine: hermes: Unhandled JS Exception: TypeError: undefined is not a function, js engine: hermes, stack: #6411

Closed
sentry-io bot opened this issue Nov 27, 2023 · 2 comments · Fixed by WordPress/gutenberg#56653

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 27, 2023

Sentry Issue: JETPACK-IOS-15SH

Symbolicated stack trace:

gutenberg/packages/blocks/src/api/raw-handling/ms-list-ignore.js:25:msListIgnore
gutenberg/packages/blocks/src/api/raw-handling/utils.js:138:filters.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:132:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:158:deepFilterHTML
gutenberg/packages/blocks/src/api/raw-handling/ms-list-converter.js:50:msListConverter
gutenberg/packages/blocks/src/api/raw-handling/utils.js:138:filters.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:132:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:158:deepFilterHTML
gutenberg/packages/blocks/src/api/raw-handling/paste-handler.js:212:pieces.map$argument_0
gutenberg/packages/blocks/src/api/raw-handling/paste-handler.js:185:pasteHandler
gutenberg/packages/block-editor/src/components/rich-text/index.native.js:452:onPaste
gutenberg/packages/rich-text/src/component/index.native.js:571:RichText#onPaste
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:22:invokeGuardedCallbackImpl
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:40:invokeGuardedCallback
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:53:invokeGuardedCallbackAndCatchFirstError
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:73:executeDispatch
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1125:executeDispatchesAndReleaseTopLevel
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:361:forEachAccumulated
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1160:batchedUpdates$argument_0
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:8457:batchedUpdatesImpl
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1106:batchedUpdates
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1137:_receiveRootNodeIDEvent
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1178:ReactNativePrivateInterface.RCTEventEmitter.register$argument_0.receiveEvent
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: undefined is not a function, js engine: hermes: Unhandled JS Exception: TypeError: undefined is not a function, js engine: hermes, stack:
anonymous@1:1791773
anonymous@1:1790971
anonymous@1:1790919
p@1:1790852
anonymous@1:1790905
p@1:1790852
anonymous@1:1791104
anonymous@1:1789892
anonymous@1:1790971
anonymous@1:1790919
p@1:1790852
anonymous@1:1790905
p@1:1790852
anonymous@1:1790905
p@1:1790852
anonymous@1:1791104
anonymous@1:1785749
t@1:1785302
anonymous@1:3227235
value@1:2814341
c@1:362991
m@1:363048
v@1:363080
w@1:363212
Le@1:367450
$@1:364704
anonymous@1:367802
Ce@1:425466
Ne@1:367370
Me@1:367643
receiveEvent@1:420083
value@1:169079
anonymous@1:167579
value@1:168525
value@1:167537

  ?, 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)
Copy link
Author

sentry-io bot commented Dec 1, 2023

Sentry issue: WORDPRESS-IOS-44RT

@fluiddot
Copy link
Contributor

Sentry issue: WORDPRESS-IOS-44RT

For some reason, Sentry marked this issue as a regression in version 23.8.1 (23.8.1.0). However, the description and stack trace seems to point to a different one (probably #6123).

  • Description: RangeError: Maximum call stack size exceeded (native stack depth)
  • Symbolicated stack trace:
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:130:Array.from.forEach$argument_0
gutenberg/packages/blocks/src/api/raw-handling/utils.js:129:deepFilterNodeList
gutenberg/packages/blocks/src/api/raw-handling/utils.js:158:deepFilterHTML
gutenberg/packages/blocks/src/api/raw-handling/paste-handler.js:122:pasteHandler
gutenberg/packages/block-editor/src/components/rich-text/index.native.js:452:onPaste
gutenberg/packages/block-editor/src/components/rich-text/native/index.native.js:573:RichText#onPaste
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:22:invokeGuardedCallbackImpl
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:40:invokeGuardedCallback
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:53:invokeGuardedCallbackAndCatchFirstError
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:73:executeDispatch
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1125:executeDispatchesAndReleaseTopLevel
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:361:forEachAccumulated
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1160:batchedUpdates$argument_0
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:8457:batchedUpdatesImpl
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1106:batchedUpdates
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1137:_receiveRootNodeIDEvent
gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1178:ReactNativePrivateInterface.RCTEventEmitter.register$argument_0.receiveEvent
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

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