com.tns.NativeScriptException: Calling js method onCreateView failed\n\nError: View already has a parent. View: Page(13) Parent: Frame(0)\ File: \"/data/data/com.abc.abc/files/app/tns_modules/ui/core/view-common.js, line: 909, column: 12 StackTrace: \n\tFrame: function:'View._addView', file:'/data/data/com.abc.abc/files/app/tns_modules/ui/core/view-common.js', line: 909, column: 19 Frame: function:'onFragmentShown', file:'/data/data/com.abc.abc/files/app/tns_modules/ui/frame/frame.js', line: 38, column: 11 Frame: function:'FragmentClass.onCreateView', file:'/data/data/com.abc.abc/files/app/tns_modules/ui/frame/frame.js', line: 538, column: 13

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 Daxito
, 9 months ago
Calling js method onCreateView failed\n\nError: View already has a parent. View: Page(13) Parent: Frame(0)\ File: \"/data/data/com.abc.abc/files/app/tns_modules/ui/core/view-common.js, line: 909, column: 12 StackTrace: \n\tFrame: function:'View
via GitHub by af-fess
, 11 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
via GitHub by nraboy
, 2 months ago
Calling js method onCreate failed Error: A Frame must be used to navigate to a Page. File: "file:///data/data/com.nraboy.solarflare/files/app/tns_modules/tns-core-modules/ui/frame/frame.js, line: 680, column: 16 StackTrace: Frame: function
via GitHub by Dashue
, 1 month 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 danielgek
, 4 months ago
Calling js method onStart failed ReferenceError: io is not defined File: "file:///data/data/pt.minsaude.spms.ces/files/app/tns_modules/tns-core-modules/ui/frame/frame.js, line: 702, column: 18 StackTrace: Frame: function:'', file:'file:///data
via GitHub by danielgek
, 4 months ago
Calling js method onStart failed ReferenceError: io is not defined File: "file:///data/data/pt.minsaude.spms.ces/files/app/tns_modules/tns-core-modules/ui/frame/frame.js, line: 702, column: 18 StackTrace: Frame: function:'', file:'file:///data
com.tns.NativeScriptException: Calling js method onCreateView failed\n\nError: View already has a parent. View: Page(13) Parent: Frame(0)\ File: \"/data/data/com.abc.abc/files/app/tns_modules/ui/core/view-common.js, line: 909, column: 12 StackTrace: \n\tFrame: function:'View._addView', file:'/data/data/com.abc.abc/files/app/tns_modules/ui/core/view-common.js', line: 909, column: 19 Frame: function:'onFragmentShown', file:'/data/data/com.abc.abc/files/app/tns_modules/ui/frame/frame.js', line: 38, column: 11 Frame: function:'FragmentClass.onCreateView', file:'/data/data/com.abc.abc/files/app/tns_modules/ui/frame/frame.js', line: 538, column: 13
at com.tns.Platform.callJSMethodNative(Native Method)

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.

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