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

UNHANDLED JS EXCEPTION: MINIFIED REACT ERROR #143 #13416

Closed
krishbhattacharyya opened this issue Apr 10, 2017 · 3 comments
Closed

UNHANDLED JS EXCEPTION: MINIFIED REACT ERROR #143 #13416

krishbhattacharyya opened this issue Apr 10, 2017 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@krishbhattacharyya
Copy link

krishbhattacharyya commented Apr 10, 2017

Description

Used ListView , ScrollView & AsyncStorage in my app. In the AsyncStorage, with the login I have saved the logged in state with others information & clear the state with the log out.

Reproduction Steps and Sample Code

  1. Upload my app in mobile center.
  2. Login the app.
  3. Navigate to a listview page ( There I rendered some big images with content ) .
  4. Minimized the app.
  5. Keep the app in login state for 4 days.
  6. Open the app after 4 days.
  7. App was crashed.
  8. Got the error - UNHANDLED JS EXCEPTION: MINIFIED REACT ERROR Shouldn't 'ListView' be 'TableView' #143 ( crash report )

Additional Information

  • React Native version: "0.37.0"
  • Platform: IOS
  • Development Operating System: MacOS
  • Dev tools: Xcode 8.3
@krishbhattacharyya krishbhattacharyya changed the title Issue1: UNHANDLED JS EXCEPTION: MINIFIED REACT ERROR #143 Issue2: On update app behaviour change UNHANDLED JS EXCEPTION: MINIFIED REACT ERROR #143 Apr 10, 2017
@rmevans9
Copy link
Contributor

Hey @krishbhattacharyya - Your reproduction steps don't really help anyone reproduce this issue. Can you get it to happen in a simple app so that others can see the code that you are encountering an issue with?

@krishbhattacharyya
Copy link
Author

krishbhattacharyya commented Apr 24, 2017

Thanks @rmevans9 . Sorry for late reply. But due to some privacy I could not share my code.
As before I have mentioned the app is working fine, no issue is there. But if I open the app after long time from background ( not in android ), the app shows crashed.

Got this error in mobile center several times:

error

As per error : React.Children.only expected to receive a single React element child. But why it is only happening after long time running in background, after 3 or 4 days, it should happen all time.

I can not understand, what is going on ( Is this related to big images or anything else, if there is any problem related with code it should reflects all time ). Okay I will try to create same scenario with another app.

If there is any idea please share me.

@krishbhattacharyya
Copy link
Author

krishbhattacharyya commented May 5, 2017

@rmevans9 thank you, I am closing this issue. I have declared null in a undefined parameter ( I found after fetching data there were some json return problem ). I don't know how my problem has solved but now it seems working fine. So further I will reopen this if the problem reproduce again, and need your help that time.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants