com.tns.NativeScriptException

Calling js method onCreate failed TypeError: Cannot read property 'ucrop' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/nativescript-imagecropper/imagecropper.js', line: 8, column: 25 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/shared/utils/utils.js', line: 5, column: 20 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/views/login/login.js', line: 5, column: 13 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'global.loadModule', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/globals/globals.js', line: 19, column: 16 Frame: function:'resolvePageFromEntry', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/ui/frame/frame-common.js', line: 72, column: 40 Frame: function:'Frame.navigate', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/ui/frame/frame-common.js', line: 148, column: 20 Frame: function:'NativeScriptActivity.onCreate', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/ui/frame/frame.js', line: 616, column: 19 ```


Solutions on the web123

Solution icon of github
Calling js method onCreate failed TypeError: Cannot read property 'ucrop' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/nativescript

Solution icon of github
, column: 266 TypeError: Cannot read property 'messaging' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.boutica.firebase/files/app/tns_modules/nativescript-plugin-firebase/firebase.js

Solution icon of github
via GitHub by bradmartin
, 9 months ago
Error calling module function TypeError: Cannot read property 'widget' of undefined File: ", line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.yyy.yy/files/app/tns_modules/nativescript-snackbar/index.js', line: 144

Solution icon of github
via GitHub by codeyad
, 7 months ago
: function:'', file:'/data/data/org.nativescript.barcodeapp/files/app/main.js', line: 4, column: 20 Frame: function:'require', file:'', line: 1, column: 266 SyntaxError: Unexpected token else File: "<unknown>, line: 1, column: 265 StackTrace: Frame

Solution icon of github
-common.js', line: 6, column: 1 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'file:///data/data/app.hoppin.hoppinDev/files/app/tns_modules/nativescript-angular/platform.js', line: 3, column: 25 Frame: function

Solution icon of github
via GitHub by abhayastudios
, 10 months ago
The owner protected this stack trace.

Solution icon of github
via GitHub by sipacate
, 8 months ago
Error calling module function ReferenceError: JavaProxy is not defined File: ", line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.sampleGroceries/files/app/tns_modules/ui/frame/frame.js', line: 564

Solution icon of github
via GitHub by 3rror404
, 8 months ago
Calling js method onCreate failed TypeError: Cannot read property 'getIntent' of undefined File: "/data/data/com.transistorsoft.backgroundgeolocation.nativescript/files/app/tns_modules/ui/frame/frame.js, line: 685, column: 18 StackTrace: Frame

Solution icon of github
Fail to load module: /data/data/com.yourdomain.appname/files/app/app.js TypeError: Cannot read property 'client' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/com.yourdomain.appname/files

Solution icon of github
via GitHub by af-fess
, 8 months ago
Calling js method onCreate failed Error: Failed to load Page from entry.moduleName: main-page File: "/data/data/com.appsflyer.nts.demo/files/app/tns_modules/ui/frame/frame-common.js, line: 92, column: 12 StackTrace: Frame: function

Stack trace

  • com.tns.NativeScriptException: Calling js method onCreate failed TypeError: Cannot read property 'ucrop' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules
  • ativescript-imagecropper/imagecropper.js', line: 8, column: 25 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/shared/utils/utils.js', line: 5, column: 20 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.MissingPerson/files/app/views/login/login.js', line: 5, column: 13 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'global.loadModule', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/globals/globals.js', line: 19, column: 16 Frame: function:'resolvePageFromEntry', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/ui/frame/frame-common.js', line: 72, column: 40 Frame: function:'Frame.navigate', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/ui/frame/frame-common.js', line: 148, column: 20 Frame: function:'NativeScriptActivity.onCreate', file:'/data/data/org.nativescript.MissingPerson/files/app/tns_modules/ui/frame/frame.js', line: 616, column: 19 ``` at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2808) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2873) at android.app.ActivityThread.access$900(ActivityThread.java:181) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6145) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.