java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: metadata file (treeNodeStream.dat) couldn't be opened!

GitHub | hypery2k | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    tests with tns-android 2.2.0 not working

    GitHub | 6 months ago | hypery2k
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: metadata file (treeNodeStream.dat) couldn't be opened!
  2. 0

    GitHub comment 71#222378152

    GitHub | 9 months ago | aandino-dev
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Failed to find module: "angular2/core", relative to: /app/tns_modules/
  3. 0

    plugin not working for me

    GitHub | 7 months ago | abhayastudios
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Fail to load module: /data/data/org.nativescript.my-app/files/app/main.js TypeError: Cannot read property 'getPackageName' of undefined File: "<unknown>, line: 1, column: 265 StackTrace: Frame: function:'', file:'/data/data/org.nativescript.my-app/files/app/tns_modules/nativescript-videorecorder/videorecorder.js', line: 12, column: 38 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.my-app/files/app/app.component.js', line: 3, column: 10 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/org.nativescript.my-app/files/app/main.js', line: 4, column: 23 Frame: function:'require', file:'', line: 1, column: 266
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using node_module that uses Buffer or Crypto make the app not being able to load

    GitHub | 3 months ago | pocesar
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: W/System.err( 5552): Error calling module function W/System.err( 5552): TypeError: app.start is not a function W/System.err( 5552): File: "/data/data/org.nativescript.cadastramento/files/app/app.js, line: 2, column: 4 W/System.err( 5552): StackTrace: W/System.err( 5552): Frame: function:'', file:'/data/data/org.nativescript.cadastramento/files/app/app.js', line: 2, column: 5 W/System.err( 5552): Frame: function:'require', file:'', line: 1, column: 266 W/System.err( 5552): TypeError: app.start is not a function W/System.err( 5552): File: "<unknown>, line: 1, column: 265 W/System.err( 5552): StackTrace: W/System.err( 5552): Frame: function:'', file:'/data/data/org.nativescript.cadastramento/files/app/app.js', line: 2, column: 5 W/System.err( 5552): Frame: function:'require', file:'', line: 1, column: 266
  6. 0

    Including plugin causes android app to crash

    GitHub | 9 months ago | lowe0292
    java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: 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/app/tns_modules/nativescript-websockets/websockets.js', line: 44, column: 36 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-firebase/firebase.js', line: 1, column: 70 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/app/components/home/home.component.js', line: 16, column: 16 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/app/components/app/app.component.js', line: 21, column: 24 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/pages/app/app.component.js', line: 25, column: 23 Frame: function:'require', file:'', line: 1, column: 266 Frame: function:'', file:'/data/data/com.yourdomain.appname/files/app/app.js', line: 19, column: 23 Frame: function:'require', file:'', line: 1, column: 266

    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

      metadata file (treeNodeStream.dat) couldn't be opened!

      at com.tns.Runtime.initNativeScript()
    2. com.tns
      NativeScriptApplication.onCreate
      1. com.tns.Runtime.initNativeScript(Native Method)
      2. com.tns.Runtime.init(Runtime.java:197)
      3. com.tns.Runtime.init(Runtime.java:162)
      4. com.tns.RuntimeHelper.initRuntime(RuntimeHelper.java:131)
      5. com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:15)
      5 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553)
      3. android.app.ActivityThread.access$1500(ActivityThread.java:151)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
      5. android.os.Handler.dispatchMessage(Handler.java:102)
      6. android.os.Looper.loop(Looper.java:135)
      7. android.app.ActivityThread.main(ActivityThread.java:5254)
      7 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames