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 ```

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Nixon1979
, 6 months ago
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
via GitHub by pittss
, 2 weeks ago
Calling js method onCreate failed TypeError: activityInfo.metaData.getInt is not a function File: "file:///data/data/org.nativescript.preview/files/app/tns_modules/tns-core-modules/ui/frame/frame.js, line: 610, column: 18 StackTrace: Frame
via GitHub by irthos
, 3 weeks ago
Calling js method onCreate failed TypeError: Cannot read property 'setOrientation' of undefined File: "file:///data/data/org.nativescript.nativescriptvuewebpack/files/app/tns_modules/nativescript-vue/dist/index.js, line: 532, column: 6 StackTrace
via GitHub by af-fess
, 1 year 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
via GitHub by Dashue
, 2 months ago
Calling js method onCreate failed TypeError: Cannot read property 'initialize' of undefined File: "file:///data/data/com.readersguide.android/files/app/tns_modules/nativescript-plugin-firebase/firebase.js, line: 290, column: 44 StackTrace: Frame
via GitHub by narayananl23
, 1 year ago
Calling js method onStart failed TypeError: Cannot read property 'getInstance' of undefined File: "/data/data/com.transistorsoft.backgroundgeolocation.nativescript/files/app/tns_modules/ui/frame/frame.js, line: 702, column: 18 StackTrace: Frame
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 ```
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.