FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

NG2 tabView runtime errors / crashes with 'typeface' of null · Issue #3201 · NativeScript/NativeScript · GitHub

NG2 tabView runtime errors / crashes with 'typeface' of null #3201

Description

Hello guys,

So i have been using the tab view in my new NS NG2 app and I have been running into issues I cant find resolves too. I currently have 2 pages that have tab views on them, each time i go to these pages i get a long list of errors like this.

W/ExifInterface(21871):         at com.tns.Runtime.callJSMethodNative(Native Met
hod)
W/ExifInterface(21871):         at com.tns.Runtime.dispatchCallJSMethodNative(Ru
ntime.java:1022)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethodImpl(Runtime.java
:907)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:895
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:879
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:871
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethodNative(Native Met
hod)
W/ExifInterface(21871):         at com.tns.Runtime.dispatchCallJSMethodNative(Ru
ntime.java:1022)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethodImpl(Runtime.java
:907)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:895
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:879
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:871
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethodNative(Native Met
hod)
W/ExifInterface(21871):         at com.tns.Runtime.dispatchCallJSMethodNative(Ru
ntime.java:1022)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethodImpl(Runtime.java
:907)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:895
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:879
)
W/ExifInterface(21871):         at com.tns.Runtime.callJSMethod(Runtime.java:871
)

now if i navigate from one page then back to the tabs view page, i get cannot read 'typeface' of null.

I first thought it had to be something to do with the content of each tab so I made a blank page and used the demo tabView code to test this. This produced the same exact errors (http://docs.nativescript.org/angular/cookbook/tab-view-ng.html had to change the call for component from angular2 to @angular)

Did you verify this is a real problem by searching [Stack Overflow]

I was unable to find this issue anywhere else (some similar but not this exact one)

Which platform(s) does your issue occur on?

iAndroid (havent testing IOS yet)

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.4.0
  • Cross-platform modules: 2.4.0
  • Runtime(s): android - 2.4.1 / IOS - 2.4.0
  • Plugin(s):
"nativescript-drop-down": "^1.3.3",
    "nativescript-loading-indicator": "^2.0.1",
    "nativescript-permissions": "^1.2.1",
    "nativescript-plugin-firebase": "3.8.4",
    "nativescript-telerik-ui": "1.4.1",
    "nativescript-toasty": "^1.1.0",

Please tell us how to recreate the issue in as much detail as possible.

create a pge usign the code provided from the first example of this page http://docs.nativescript.org/angular/cookbook/tab-view-ng.html

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

just the code from the example. To save space on this post I will not repost it here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL