Skip to content

RCTFatalException: Unhandled JS Exception: Error: , ): Expected color definition This error is located at: in U in R...: Unhandled JS Exception: Error: , ): Expected color definition #6658

Open
@sentry-io

Description

Sentry Issue: JETPACK-IOS-1901

Original stacktrace
RCTFatalException: Unhandled JS Exception: Error: , ): Expected color definition

This error is located at:
    in U
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in WithPreferredColorScheme...: Unhandled JS Exception: Error: , ): Expected color definition

This error is located at:
    in U
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in RCTView
  ..., stack:
o@1:2960251
w@1:2961425
C@1:2961195
anonymous@1:2960513
s@1:2960596
u@1:2960436
l@1:2960298
C@1:2961195
anonymous@1:2961886
O@1:2958346
anonymous@1:2959464
useMemo@1:424558
anonymous@1:160103
U@1:2958977
Or@1:387360
Ma@1:427937
zi@1:414609
Ri@1:414511
Pi@1:414395
ki@1:411895
xt@1:377020
Ce@1:428310
Ne@1:370163
Me@1:370436
receiveEvent@1:422876
value@1:171857
anonymous@1:170357
value@1:171303
value@1:170315

  ?, in RCTFatal
  ?, in -[RCTExceptionsManager reportFatal:stack:exceptionId:extraDataAsJSON:]
  ?, in -[RCTExceptionsManager reportException:]
  ?, in -[RCTModuleMethod invokeWithBridge:module:arguments:]
  ?, in facebook::react::invokeInner
...
(14 additional frame(s) were not displayed)
RCTFatalException: Unhandled JS Exception: Error: , ): Expected color definition

This error is located at:
    in U
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in WithPreferredColorScheme...: Unhandled JS Exception: Error: , ): Expected color definition

This error is located at:
    in U
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in RCTView
  ..., stack:
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:34:error
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:243:matchColorStop
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:221:matchListing
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:88:matchCall$argument_1
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:101:matchCall
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:76:matchGradient
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:54:matchDefinition
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:221:matchListing
/workdir/gutenberg/node_modules/gradient-parser/build/node.js:50:matchListDefinitions
/workdir/gutenberg/packages/components/src/mobile/gradient/index.native.js:70:getGradientColorGroup
/workdir/gutenberg/packages/components/src/mobile/gradient/index.native.js:113:useMemo$argument_0
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:4062:HooksDispatcherOnMount.useMemo
/workdir/gutenberg/node_modules/react/cjs/react.production.min.js:25:exports.useMemo
/workdir/gutenberg/packages/components/src/mobile/gradient/index.native.js:112:Gradient
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:3525:renderWithHooks
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7743:beginWork$1
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7304:performUnitOfWork
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7297:workLoopSync
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:7279:renderRootSync
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:6975:performSyncWorkOnRoot
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:2145:flushSyncCallbacks
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:8462:batchedUpdatesImpl
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1106:batchedUpdates
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1137:_receiveRootNodeIDEvent
/workdir/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js:1178:ReactNativePrivateInterface.RCTEventEmitter.register$argument_0.receiveEvent
/workdir/gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:427:__callFunction
/workdir/gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:__guard$argument_0
/workdir/gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:__guard
/workdir/gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:callFunctionReturnFlushedQueue

  ?, in RCTFatal
  ?, in -[RCTExceptionsManager reportFatal:stack:exceptionId:extraDataAsJSON:]
  ?, in -[RCTExceptionsManager reportException:]
  ?, in -[RCTModuleMethod invokeWithBridge:module:arguments:]
  ?, in facebook::react::invokeInner
...
(14 additional frame(s) were not displayed)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions