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

Audio List red error #120

Closed
gapark opened this issue Feb 15, 2019 · 3 comments
Closed

Audio List red error #120

gapark opened this issue Feb 15, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@gapark
Copy link
Collaborator

gapark commented Feb 15, 2019

[12:05:46] Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.%s,
    in AudioList (created by SceneComponent)
    in SceneComponent (at SceneMap.js:16)
    in RCTView (at View.js:44)
    in AndroidViewPager (at ViewPagerAndroid.android.js:255)
    in ViewPagerAndroid (at PagerAndroid.js:148)
    in PagerAndroid (at TabView.js:60)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in TabView (at MediaGallery.js:85)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in MediaGallery (created by SceneView)
    in SceneView (at StackViewLayout.js:782)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in AnimatedComponent (at StackViewCard.js:69)
    in RCTView (at View.js:44)
    in AnimatedComponent (at screens.native.js:59)
    in Screen (at StackViewCard.js:57)
    in Card (at createPointerEventsContainer.js:27)
    in Container (at StackViewLayout.js:858)
    in RCTView (at View.js:44)
    in ScreenContainer (at StackViewLayout.js:311)
    in RCTView (at View.js:44)
    in AnimatedComponent (at StackViewLayout.js:307)
    in Handler (at StackViewLayout.js:300)
    in StackViewLayout (at withOrientation.js:30)
    in withOrientation (at StackView.js:79)
    in RCTView (at View.js:44)
    in Transitioner (at StackView.js:22)
    in StackView (created by Navigator)
    in Navigator (at createKeyboardAwareNavigator.js:12)
    in KeyboardAwareNavigator (at createAppContainer.js:388)
- node_modules\react-native\Libraries\YellowBox\YellowBox.js:59:8 in error
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:619:8 in warningWithoutStack
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:13205:6 in warnAboutUpdateOnUnmounted
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14683:33 in scheduleWork
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:7700:17 in enqueueSetState
- node_modules\react\cjs\react.development.js:364:31 in setState
* components\AudioList.js:29:16 in _callee2$
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:62:44 in tryCatch
- node_modules\@babel\runtime\node_modules\regenerator-runtime\runtime.js:288:30 in invoke
- ... 13 more stack frames from framework internals

I get this upon navigating to the gallery screen.

@gapark gapark added the bug Something isn't working label Feb 15, 2019
@gapark
Copy link
Collaborator Author

gapark commented Feb 15, 2019

[12:05:44] ReferenceError: ReferenceError: Can't find variable: Intl

This error is located at:
    in CellRenderer (at VirtualizedList.js:687)
    in RCTView (at View.js:44)
    in RCTScrollView (at ScrollView.js:967)
    in AndroidSwipeRefreshLayout (at RefreshControl.js:167)
    in RefreshControl (at VirtualizedList.js:1049)
    in ScrollView (at VirtualizedList.js:1045)
    in VirtualizedList (at FlatList.js:662)
    in FlatList (at AudioList.js:81)
    in RCTView (at View.js:44)
    in AudioList (created by SceneComponent)
    in SceneComponent (at SceneMap.js:16)
    in RCTView (at View.js:44)
    in AndroidViewPager (at ViewPagerAndroid.android.js:255)
    in ViewPagerAndroid (at PagerAndroid.js:148)
    in PagerAndroid (at TabView.js:60)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in TabView (at MediaGallery.js:85)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in MediaGallery (created by SceneView)
    in SceneView (at StackViewLayout.js:782)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in AnimatedComponent (at StackViewCard.js:69)
    in RCTView (at View.js:44)
    in AnimatedComponent (at screens.native.js:59)
    in Screen (at StackViewCard.js:57)
    in Card (at createPointerEventsContainer.js:27)
    in Container (at StackViewLayout.js:858)
    in RCTView (at View.js:44)
    in ScreenContainer (at StackViewLayout.js:311)
    in RCTView (at View.js:44)
    in AnimatedComponent (at StackViewLayout.js:307)
    in Handler (at StackViewLayout.js:300)
    in StackViewLayout (at withOrientation.js:30)
    in withOrientation (at StackView.js:79)
    in RCTView (at View.js:44)
    in Transitioner (at StackView.js:22)
    in StackView (created by Navigator)
    in Navigator (at createKeyboardAwareNavigator.js:12)
    in KeyboardAwareNavigator (at createAppContainer.js:388)
    in NavigationContainer (at App.js:78)
    in App (at withExpoRoot.js:22)
    in RootErrorBoundary (at withExpoRoot.js:21)
    in ExpoRootComponent (at renderApplication.js:34)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in AppContainer (at renderApplication.js:33)

This error is located at:
    in NavigationContainer (at App.js:78)
    in App (at withExpoRoot.js:22)
    in RootErrorBoundary (at withExpoRoot.js:21)
    in ExpoRootComponent (at renderApplication.js:34)
    in RCTView (at View.js:44)
    in RCTView (at View.js:44)
    in AppContainer (at renderApplication.js:33)
* components\AudioList.js:61:18 in renderItem
* components\AudioList.js:85:47 in renderItem
- node_modules\react-native\Libraries\Lists\VirtualizedList.js:1703:31 in render
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:10563:21 in finishClassComponent
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14091:21 in performUnitOfWork
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14129:41 in workLoop
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14226:15 in renderRoot
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15193:17 in performWorkOnRoot
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15090:24 in performWork
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:15047:14 in performSyncWork
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14925:19 in requestWork
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:14711:16 in scheduleWork
- node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:7700:17 in enqueueSetState
- node_modules\react\cjs\react.development.js:364:31 in setState
* components\AudioList.js:28:63 in <unknown>
- node_modules\promise\setimmediate\core.js:37:14 in tryCallOne
- node_modules\promise\setimmediate\core.js:123:25 in <unknown>
- ... 8 more stack frames from framework internals

This red error is actually shown first then the other one happens.

@gapark
Copy link
Collaborator Author

gapark commented Feb 15, 2019

This may be useful to fix the issue.

@olafkotur
Copy link
Owner

Fixed :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants