JS: ERROR Error: Uncaught (in promise): Error: java.lang.NullPointerException: Attempt to invoke virtual method 'androidx.fragment.app.FragmentTransaction androidx.fragment.app.FragmentTransaction.add(androidx.fragment.app.Fragment, java.lang.String)' on a null object reference
JS: _showNativeBottomSheet(file: node_modules\@nativescript-community\ui-material-bottomsheet\bottomsheet.android.js:119:0)
JS: at showBottomSheet(file: node_modules\@nativescript-community\ui-material-bottomsheet\bottomsheet-common.js:89:0)
JS: at (file: node_modules\@nativescript-community\ui-material-bottomsheet\angular\fesm2015\nativescript-community-ui-material-bottomsheet-angular.js:32:0)
JS: at push.../node_modules/@nativescript/zone-js/zone-nativescript.js.ZoneDelegate.invoke(file: node_modules\@nativescript\zone-js\zone-nativescript.js:388:0)
JS: at push.../node_modules/@nativescript/zone-js/zone-nativescript.js.ZoneDelegate.invoke(file: node_modules\@nativescript\zone-js\zone-nativescript.js:387:0)
JS: at push.../node_modules/@nativescript/zone-js/zone-nativesc...
Hi !
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
I'm trying to open BottomSheet here: Component
Module :
Child component:
Error:
Any idea ? Thanks !