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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    Complete app crash when tapping around a Textfield at times

    GitHub | 1 year ago | prawnsalad
    com.tns.NativeScriptException: No weak reference found. Attempt to use cleared object reference id=10709 com.tns.Platform.getJavaObjectByID(Platform.java:623) 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.text.TextWatcher_ftns_modules_ui_editable-text-base_editable-text-base_l22_c27__.afterTextChanged(android.text.TextWatcher.java) android.widget.TextView.sendAfterTextChanged(TextView.java:8004) android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:10165) android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:1043) android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:560) android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:492) android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:491) android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:685) android.view.inputmethod.BaseInputConnection.commitText(BaseInputConnection.java:197) com.android.internal.widget.EditableInputConnection.commitText(EditableInputConnection.java:184) com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:286) com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:78) android.os.Handler.dispatchMessage(Handler.java:102) 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: "/data/data/com.darrenwhitlen.ircmobile/files/app/tns_modules/ui/editable-text-base/editable-text-base.js, line: 46, column: 100 StackTrace: Frame: function:'android.text.TextWatcher.afterTextChanged', file:'/data/data/com.darrenwhitlen.ircmobile/files/app/tns_modules/ui/editable-text-base/editable-text-base.js', line: 46, column: 101
  6. 0

    Another Crashing error in 1.3

    GitHub | 1 year ago | NathanaelA
    com.tns.NativeScriptException: No weak reference found. Attempt to use cleared ob ject reference id=18872

    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