prscX / react-native-popover-menu

React Native: Native Popover Menu
Apache License 2.0
483 stars 54 forks source link

Android crash with this log Parameter specified as non-null is null #55

Open pkpardeep482 opened 4 years ago

pkpardeep482 commented 4 years ago

RNPopoverMenu.Show(this.viewRef[${index}], { title: 'hiiiiii', menus: this.menus, onDone: (selection) => {}, });

java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter anchor at com.github.zawadz88.materialpopupmenu.MaterialPopupMenu.show(Unknown Source:7) at ui.popovermenu.RNPopoverMenuModule$2.run(RNPopoverMenuModule.java:190) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6864) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)