com.tns.NativeScriptException: Calling js method onCreateView failed platform cannot be initialized with different sets of providers. File: "/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js, line: 78, column: 12 StackTrace: Frame: function:'platform', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js', line: 78, column: 13 Frame: function:'bootstrap', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 51, column: 19 Frame: function:'onLoadedHandler', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 67, column: 17 Frame: function:'Observable.notify', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 155, column: 23 Frame: function:'Observable._emit', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 174, column: 18 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 590, column: 14 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 101, column: 35 Frame: function:'Page.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/page/page-common.js', line: 33, column: 35 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 913, column: 18 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 145, column: 39 Frame: function:'View._addView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 901, column: 14 Frame: function:'onFragmentShown', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 89, column: 11 Frame: function:'android.app.Fragment.extend.onCreateView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 36, column: 17

GitHub | enchev | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception thrown in device when changin anything in app.css

    GitHub | 1 year ago | markens
    com.tns.NativeScriptException: Calling js method onCreateView failed platform cannot be initialized with different sets of providers. File: "/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js, line: 78, column: 12 StackTrace: Frame: function:'platform', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js', line: 78, column: 13 Frame: function:'bootstrap', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 51, column: 19 Frame: function:'onLoadedHandler', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 67, column: 17 Frame: function:'Observable.notify', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 155, column: 23 Frame: function:'Observable._emit', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 174, column: 18 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 590, column: 14 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 101, column: 35 Frame: function:'Page.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/page/page-common.js', line: 33, column: 35 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 913, column: 18 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 145, column: 39 Frame: function:'View._addView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 901, column: 14 Frame: function:'onFragmentShown', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 89, column: 11 Frame: function:'android.app.Fragment.extend.onCreateView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 36, column: 17
  2. 0

    Exception thrown in device when changin anything in app.css

    GitHub | 1 year ago | enchev
    com.tns.NativeScriptException: Calling js method onCreateView failed platform cannot be initialized with different sets of providers. File: "/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js, line: 78, column: 12 StackTrace: Frame: function:'platform', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js', line: 78, column: 13 Frame: function:'bootstrap', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 51, column: 19 Frame: function:'onLoadedHandler', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 67, column: 17 Frame: function:'Observable.notify', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 155, column: 23 Frame: function:'Observable._emit', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 174, column: 18 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 590, column: 14 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 101, column: 35 Frame: function:'Page.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/page/page-common.js', line: 33, column: 35 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 913, column: 18 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 145, column: 39 Frame: function:'View._addView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 901, column: 14 Frame: function:'onFragmentShown', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 89, column: 11 Frame: function:'android.app.Fragment.extend.onCreateView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 36, column: 17
  3. 0

    Exception during Navigation on Android

    GitHub | 1 year ago | blaketarter
    com.tns.NativeScriptException: No value for main com.tns.Module.resolvePathHelper(Module.java:164) com.tns.Module.resolvePath(Module.java:62) com.tns.Platform.callJSMethodNative(Native Method) com.tns.Platform.dispatchCallJSMethodNative(Platform.java:799) com.tns.Platform.callJSMethod(Platform.java:700) com.tns.Platform.callJSMethod(Platform.java:680) com.tns.Platform.callJSMethod(Platform.java:670) com.tns.gen.android.widget.AdapterView_OnItemClickListener_ftns_modules_ui_list-view_list-view_l63_c45__.onItemClick(android.widget.AdapterView$OnItemClickListener.java) android.widget.AdapterView.performItemClick(AdapterView.java:310) android.widget.AbsListView.performItemClick(AbsListView.java:1145) android.widget.AbsListView$PerformClick.run(AbsListView.java:3042) android.widget.AbsListView$3.run(AbsListView.java:3879) android.os.Handler.handleCallback(Handler.java:739) android.os.Handler.dispatchMessage(Handler.java:95) android.os.Looper.loop(Looper.java:148) android.app.ActivityThread.main(ActivityThread.java:5417) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) File: "<unknown>, line: 1, column: 119 StackTrace: Frame: function:'require', file:'', line: 1, column: 120 Frame: function:'', file:'/data/data/com.blaketarter.tnsreddit/files/app/views/comment/comment.js', line: 9, column: 17 Frame: function:'require', file:'', line: 1, column: 120 Frame: function:'resolvePageFromEntry', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 61, column: 29 Frame: function:'Frame.navigate', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 126, column: 20 Frame: function:'listViewItemTap', file:'/data/data/com.blaketarter.tnsreddit/files/app/views/front/front.js', line: 126, column: 11 Frame: function:'Observable.notify', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/data/observable/observable.js', line: 118, column: 23 Frame: function:'ListView._createUI.android.setOnItemClickListener.android.widget.AdapterView.OnItemClickListener.onItemClick', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/list-view/list-view.js', line: 67, column: 27 File: "<unknown>, line: 1, column: 119 StackTrace: Frame: function:'require', file:'', line: 1, column: 120 Frame: function:'resolvePageFromEntry', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 61, column: 29 Frame: function:'Frame.navigate', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/frame/frame-common.js', line: 126, column: 20 Frame: function:'listViewItemTap', file:'/data/data/com.blaketarter.tnsreddit/files/app/views/front/front.js', line: 126, column: 11 Frame: function:'Observable.notify', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/data/observable/observable.js', line: 118, column: 23 Frame: function:'ListView._createUI.android.setOnItemClickListener.android.widget.AdapterView.OnItemClickListener.onItemClick', file:'/data/data/com.blaketarter.tnsreddit/files/app/tns_modules/ui/list-view/list-view.js', line: 67, column: 27
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Another Crashing error in 1.3

    GitHub | 2 years ago | NathanaelA
    com.tns.NativeScriptException: No weak reference found. Attempt to use cleared ob ject reference id=18872
  6. 0

    GitHub comment 856#155359864

    GitHub | 1 year ago | vchimev
    com.tns.NativeScriptException: Calling js method onReceivedError failed TypeError: error.getUrl is not a function File: "/data/data/org.nativescript.TestApp/files/app/tns_modules/ui/web-view/web-view.js, line: 47, column: 136 StackTrace: Frame: function:'WebViewClientClass.onReceivedError', file:'/data/data/org.nativescript.TestApp/files/app/tns_modules/ui/web-view/web-view.js', line: 47, column: 137

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tns.NativeScriptException

      Calling js method onCreateView failed platform cannot be initialized with different sets of providers. File: "/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js, line: 78, column: 12 StackTrace: Frame: function:'platform', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/angular2/src/core/application_ref.js', line: 78, column: 13 Frame: function:'bootstrap', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 51, column: 19 Frame: function:'onLoadedHandler', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/nativescript-angular/application.js', line: 67, column: 17 Frame: function:'Observable.notify', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 155, column: 23 Frame: function:'Observable._emit', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/data/observable/observable.js', line: 174, column: 18 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 590, column: 14 Frame: function:'View.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 101, column: 35 Frame: function:'Page.onLoaded', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/page/page-common.js', line: 33, column: 35 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 913, column: 18 Frame: function:'View._addViewCore', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view.js', line: 145, column: 39 Frame: function:'View._addView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/core/view-common.js', line: 901, column: 14 Frame: function:'onFragmentShown', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 89, column: 11 Frame: function:'android.app.Fragment.extend.onCreateView', file:'/data/data/com.gft.appverse.showcase/files/app/tns_modules/ui/frame/frame.js', line: 36, column: 17

      at com.tns.Platform.callJSMethodNative()
    2. com.tns
      Platform.callJSMethod
      1. com.tns.Platform.callJSMethodNative(Native Method)
      2. com.tns.Platform.dispatchCallJSMethodNative(Platform.java:799)
      3. com.tns.Platform.callJSMethod(Platform.java:700)
      4. com.tns.Platform.callJSMethod(Platform.java:680)
      5. com.tns.Platform.callJSMethod(Platform.java:670)
      5 frames
    3. com.tns.gen
      Fragment_ftns_modules_ui_frame_frame_l21_c42__.onCreateView
      1. com.tns.gen.android.app.Fragment_ftns_modules_ui_frame_frame_l21_c42__.onCreateView(android.app.Fragment.java)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreateView(Fragment.java:2053)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      4. android.app.BackStackRecord.run(BackStackRecord.java:834)
      5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)
      6. android.app.FragmentManagerImpl$1.run(FragmentManager.java:447)
      7. android.os.Handler.handleCallback(Handler.java:739)
      8. android.os.Handler.dispatchMessage(Handler.java:95)
      9. android.os.Looper.loop(Looper.java:135)
      10. android.app.ActivityThread.main(ActivityThread.java:5294)
      10 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames