tapsellorg / TapsellPlusSDK-ReactNativePlugin

2 stars 2 forks source link

Attempt to invoke virtual method 'int java.lang.Enum.ordinal()' on a null object reference #3

Closed HessiPard closed 3 years ago

HessiPard commented 3 years ago

Hi, we faced this crash in our crash logger tools in production mode.

ir.tapsell.sdk.j.g.b
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Enum.ordinal()' on a null object reference

ir.tapsell.sdk.j.g.b
ir.tapsell.sdk.j.g.a
ir.tapsell.sdk.j.g.a
ir.tapsell.sdk.TapsellAdActivity.loadVariablesFromBundle
ir.tapsell.sdk.TapsellAdActivity.onCreate
android.app.Activity.performCreate Activity.java:7955
android.app.Activity.performCreate Activity.java:7944
android.app.Instrumentation.callActivityOnCreate Instrumentation.java:1307
android.app.ActivityThread.performLaunchActivity ActivityThread.java:3463
android.app.ActivityThread.handleLaunchActivity ActivityThread.java:3635
android.app.servertransaction.LaunchActivityItem.execute LaunchActivityItem.java:83
android.app.servertransaction.TransactionExecutor.executeCallbacks TransactionExecutor.java:135
android.app.servertransaction.TransactionExecutor.execute TransactionExecutor.java:95
android.app.ActivityThread$H.handleMessage ActivityThread.java:2175
android.os.Handler.dispatchMessage Handler.java:107
android.os.Looper.loop Looper.java:237
android.app.ActivityThread.main ActivityThread.java:7857
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:493
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1068

Development environment:

"react-native": "0.62.2",
"react-native-tapsell-plus": "^1.0.3",
mahdi-malv commented 3 years ago

Hello

Latest v2.1.2 should not produce this issue. The plugin is recreated from scratch and in a different way.

Feel free to re-open the issue if the current plugin still produces this problem.