at java.lang.Throwable.nativeFillInStackTrace(Native method)
at java.lang.Throwable.fillInStackTrace(Throwable.java:799)
at java.lang.Throwable.<init>(Throwable.java:277)
at java.lang.Error.<init>(Error.java:70)
at java.lang.VirtualMachineError.<init>(VirtualMachineError.java:53)
at java.lang.OutOfMemoryError.<init>(OutOfMemoryError.java:58)
W/vax.geekygaura: at android.widget.TextView.setText(TextView.java:6278)
W/vax.geekygaura: at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
W/vax.geekygaura: at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
at android.widget.TextView.setText(TextView.java:6278)
at android.widget.TextView.setText(TextView.java:6097)
at android.widget.TextView.setText(TextView.java:6049)
at com.facebook.react.views.text.ReactTextView.setText(ReactTextView.java:260)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1$1.run(RNShadowTextGradient.java:240)
at iyegoroff.RNTextGradient.RNShadowTextGradient$1$1.run(RNShadowTextGradient.java:245)
at iyegoroff.RNTextGradient.OneOffListener.trigger(OneOffListener.java:17)
W/vax.geekygaura: at iyegoroff.RNTextGradient.RNShadowTextGradient$TextChangeListener.afterTextChanged(RNShadowTextGradient.java:51)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10551)
[EDITED] 👍 The code works fine. I am getting a beautiful linear gradient text.
System: OS: macOS Mojave 10.14.6 CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz Memory: 18.01 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.3.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 IDEs: Android Studio: 3.5 AI-191.8026.42.35.5900203 Xcode: 11.0/11A420a - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.0 => 0.60.0 npmGlobalPackages: react-native-cli: 2.0.1
Test-case
install package 'yarn' > Link package > Apply text > Keep the emulator idle for sometime > Crash
Below is the code
Here is the crash log
[EDITED] 👍 The code works fine. I am getting a beautiful linear gradient text.