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

java.lang.String cannot be cast to java.lang.Boolean #21723

Closed
3 tasks done
Dofff opened this issue Oct 11, 2018 · 4 comments
Closed
3 tasks done

java.lang.String cannot be cast to java.lang.Boolean #21723

Dofff opened this issue Oct 11, 2018 · 4 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@Dofff
Copy link

Dofff commented Oct 11, 2018

Environment

react 16.5.0
react-native 0.57.2

Description

error occured
java.lang.String cannot be cast to java.lang.Boolean

ReadableNativeArray.java:104

Please how to fix this problem?

image

@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

@hey99xx
Copy link

hey99xx commented Oct 11, 2018

There isn't enough information for anyone to investigate the issue. It could be a bug in RN, or a client error. The error says the Java code expected to receive a boolean from JS code, but instead received a String.

Please enter repro steps, besides the screenshot indicating you hit this red screen on latest version of RN on Android there's nothing else.

@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Oct 19, 2018
@MickeyMouse623
Copy link

我也出现了这个错误
image

@facebook facebook locked as resolved and limited conversation to collaborators Oct 19, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants