Open adekunle11 opened 4 years ago
This looks very similar to the error I got after upgrading nativescript-ui-listview
from 8.2.0
to 9.0.1
:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function
System.err: TypeError: _nativescript_core__WEBPACK_IMPORTED_MODULE_0__.Property is not a constructor
System.err: File: (file: node_modules\nativescript-ui-listview\ui-listview.common.js:65:44)
System.err:
System.err: StackTrace:
System.err: ../node_modules/nativescript-ui-listview/ui-listview.common.js(file: node_modules\nativescript-ui-listview\ui-listview.common.js:65:44)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at (file: node_modules\nativescript-ui-listview\ui-listview.android.js:1:0)
System.err: at ../node_modules/nativescript-ui-listview/ui-listview.js(file:///data/data/com.loytec.lweb804/files/app/vendor.js:87032:30)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at ../node_modules/nativescript-ui-listview/vue/index.js(file: node_modules\nativescript-ui-listview\vue\index.js:1:0)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at (file: app\app.js:2:0)
System.err: at ./app.js(file:///data/data/com.loytec.lweb804/files/app/bundle.js:1879:30)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at checkDeferredModules(file: app\webpack\bootstrap:43:0)
System.err: at webpackJsonpCallback(file: app\webpack\bootstrap:30:0)
System.err: at (file:///data/data/com.loytec.lweb804/files/app/bundle.js:2:57)
System.err: at require(:1:266)
System.err:
System.err:
System.err: TypeError: _nativescript_core__WEBPACK_IMPORTED_MODULE_0__.Property is not a constructor
System.err:
System.err: StackTrace:
System.err: java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function
System.err: TypeError: _nativescript_core__WEBPACK_IMPORTED_MODULE_0__.Property is not a constructor
System.err: File: (file: node_modules\nativescript-ui-listview\ui-listview.common.js:65:44)
System.err:
System.err: StackTrace:
System.err: ../node_modules/nativescript-ui-listview/ui-listview.common.js(file: node_modules\nativescript-ui-listview\ui-listview.common.js:65:44)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at (file: node_modules\nativescript-ui-listview\ui-listview.android.js:1:0)
System.err: at ../node_modules/nativescript-ui-listview/ui-listview.js(file:///data/data/com.loytec.lweb804/files/app/vendor.js:87032:30)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at ../node_modules/nativescript-ui-listview/vue/index.js(file: node_modules\nativescript-ui-listview\vue\index.js:1:0)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at (file: app\app.js:2:0)
System.err: at ./app.js(file:///data/data/com.loytec.lweb804/files/app/bundle.js:1879:30)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at checkDeferredModules(file: app\webpack\bootstrap:43:0)
System.err: at webpackJsonpCallback(file: app\webpack\bootstrap:30:0)
System.err: at (file:///data/data/com.loytec.lweb804/files/app/bundle.js:2:57)
System.err: at require(:1:266)
System.err:
System.err:
System.err: TypeError: _nativescript_core__WEBPACK_IMPORTED_MODULE_0__.Property is not a constructor
System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6227)
System.err: at android.app.ActivityThread.access$1200(ActivityThread.java:237)
System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1785)
System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
System.err: at android.os.Looper.loop(Looper.java:214)
System.err: at android.app.ActivityThread.main(ActivityThread.java:7050)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
System.err: Caused by: com.tns.NativeScriptException: Error calling module function
System.err: TypeError: _nativescript_core__WEBPACK_IMPORTED_MODULE_0__.Property is not a constructor
System.err: File: (file: node_modules\nativescript-ui-listview\ui-listview.common.js:65:44)
System.err:
System.err: StackTrace:
System.err: ../node_modules/nativescript-ui-listview/ui-listview.common.js(file: node_modules\nativescript-ui-listview\ui-listview.common.js:65:44)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at (file: node_modules\nativescript-ui-listview\ui-listview.android.js:1:0)
System.err: at ../node_modules/nativescript-ui-listview/ui-listview.js(file:///data/data/com.loytec.lweb804/files/app/vendor.js:87032:30)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at ../node_modules/nativescript-ui-listview/vue/index.js(file: node_modules\nativescript-ui-listview\vue\index.js:1:0)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at fn(file: app\webpack\bootstrap:120:0)
System.err: at (file: app\app.js:2:0)
System.err: at ./app.js(file:///data/data/com.loytec.lweb804/files/app/bundle.js:1879:30)
System.err: at __webpack_require__(file: app\webpack\bootstrap:750:0)
System.err: at checkDeferredModules(file: app\webpack\bootstrap:43:0)
System.err: at webpackJsonpCallback(file: app\webpack\bootstrap:30:0)
System.err: at (file:///data/data/com.loytec.lweb804/files/app/bundle.js:2:57)
System.err: at require(:1:266)
System.err:
System.err:
System.err: TypeError: _nativescript_core__WEBPACK_IMPORTED_MODULE_0__.Property is not a constructor
System.err: at com.tns.Runtime.runModule(Native Method)
System.err: at com.tns.Runtime.runModule(Runtime.java:674)
System.err: at com.tns.Runtime.run(Runtime.java:666)
System.err: at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
System.err: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6222)
System.err: ... 8 more
I had also upgraded nativescript android from 6.5.1
to 6.5.3
and I'm still working on getting a non-crashing state again...
Hello, i'm build my android app with Nativescript core(javascript), i used radlist view on my search results page, the items displyed in the listview can be clicked.
The issue i have is: when an item is tapped in the listview, it goes to the next page as it is supposed to, but when i click on the back button, it goes back to the previous page and reloads the list. while the list is reloading, if an item is tapped, i get the error: cannot read property '0' of undefined. is there a way i can stop this list from reloading when i navigate back to the page or can i get rid of the error and let the list reload.
This is the stacktrace: