Rn debug error on Android java.lang.NumberFormatException at BundleDeltaClient #22806
Labels
Bug
Platform: Android
Android applications.
Resolution: Locked
This issue was locked by the bot.
Tech: Bundler 📦
This issue is related to the bundler (Metro, Haul, etc) used.
Environment
Run
react-native info
in your terminal and paste its contents here.React Native Environment Info:
System:
OS: Windows 7
CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Memory: 6.57 GB / 15.88 GB
Binaries:
Yarn: 1.10.1 - C:\Users\myname\AppData\Roaming\npm\yarn.CMD
npm: 5.6.0 - D:\Program Files\nodejs\npm.CMD
Description
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
I found there is a very big number (20771272033) in bundle, it works well when I pass bundle to my mobile and load it normally. But when I want to debug on my device, my app crashed.
Exception is :
I have found the number 20771272033 in my bundle:
also, I found it parse this number as integer:
react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDeltaClient.java
Line 157 in e81adb9
Is this a bug or I generated my bundle in a wrong way?
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve
The text was updated successfully, but these errors were encountered: