Open taohaibing opened 5 years ago
Please specify your rn & rntg versions.
Please specify your rn & rntg versions.
"dependencies": { "react": "16.8.6", "react-devtools": "^3.6.1", "react-native": "0.60.3", "react-native-text-gradient": "^0.1.7",
},
This looks ok to me. Can you provide a replicating example or show the code that leads to this error?
Please provide proguard lines, which will work for release builds.
Please provide proguard lines, which will work for release builds.
Used https://github.com/react-native-community/react-native-masked-view library which is now officially supported for android too. Dependent library is react-native-linear-gradient.
09-17 11:46:55.448 20714 20714 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at iyegoroff.RNTextGradient.k.a() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at iyegoroff.RNTextGradient.h.j() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at iyegoroff.RNTextGradient.h.a() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at iyegoroff.RNTextGradient.g.a() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.uimanager.da$p.execute() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.uimanager.ba.run() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.uimanager.da.i() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.uimanager.da.i() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.uimanager.da$f.b() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.uimanager.c.a() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.modules.core.i$b.a() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.facebook.react.modules.core.a.doFrame() 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:924) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:735) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:664) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:912) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:761) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.os.Looper.loop(Looper.java:156) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6517) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) 09-17 11:46:55.448 20714 20714 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)