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

Internal error navigating POS Go #173

Open
smjackson opened this issue May 3, 2024 · 0 comments
Open

Internal error navigating POS Go #173

smjackson opened this issue May 3, 2024 · 0 comments

Comments

@smjackson
Copy link

While working on a minor change to POS Go (updating text color on tutorial screens) I ran into an issue where launching the tutorial crashes back to the smart grid. The error said I should report here.

Here's a snippet from metro logs. On POS Go, I navigated to More -> Support -> Learn about POS Go. This is where the LearnAboutPosScreen at the top of the snippet gets logged. Then I tap "View device tutorial" and the rest of the logs are dumped.

 INFO  RN > Navigation > Navigation Event from LearnAboutPosScreen to Tabs {"location":"Tabs"}
 WARN  react-native-performance - You have hit an internal error, please report this: https://github.com/Shopify/react-native-performance/issues/new
InvalidMountStateError: No matching Mounted state found for componentInstanceId 19 for screen SmartGrid.
 WARN  react-native-performance - You have hit an internal error, please report this: https://github.com/Shopify/react-native-performance/issues/new
InvalidMountStateError: No matching Mounted state found for componentInstanceId 23 for screen MoreScreen.
 INFO  RN > Navigation > Navigation Event from Tabs to HomeScreen {"location":"HomeScreen"}
 INFO  RN > PerformanceProfiler > Performance profile report {"report":"{\"reportId\":\"e1b074f3-cdca-4c45-ac89-83c6c6ff5907\",\"resourceAcquisitionStatus\":{\"totalTimeMillis\":0,\"components\":{}},\"flowInstanceId\":\"500f83c8-ad8c-452d-8c5e-9c639543e325\",\"sourceScreen\":\"MoreScreen\",\"destinationScreen\":\"Support\",\"flowStartTimeSinceEpochMillis\":1714740349757,\"timeToAbortMillis\":11749,\"interactive\":false}"}
 WARN  react-native-performance - ScreenProfilerNotStartedError: No previous state was found for screen 'SmartGrid' with componentInstanceId 37. This probably means that the navigation-start event was never recorded, while a subsequent render flow event was (render pass start, data operation profiling, etc.). You seem to have used some profiling API but likely forgot to use the 'useStartProfiler' hook to start the flow. Read the usage here: https://shopify.github.io/react-native-performance/fundamentals/measuring-render-times.
 WARN  react-native-performance - ScreenProfilerNotStartedError: No previous state was found for screen 'SmartGrid' with componentInstanceId 37. This probably means that the navigation-start event was never recorded, while a subsequent render flow event was (render pass start, data operation profiling, etc.). You seem to have used some profiling API but likely forgot to use the 'useStartProfiler' hook to start the flow. Read the usage here: https://shopify.github.io/react-native-performance/fundamentals/measuring-render-times.
 WARN  react-native-performance - ScreenProfilerNotStartedError: No previous state was found for screen 'SmartGrid' with componentInstanceId 37. This probably means that the navigation-start event was never recorded, while a subsequent render flow event was (render pass start, data operation profiling, etc.). You seem to have used some profiling API but likely forgot to use the 'useStartProfiler' hook to start the flow. Read the usage here: https://shopify.github.io/react-native-performance/fundamentals/measuring-render-times.

POS 9.8.1

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

No branches or pull requests

1 participant