Skip to content

Bug report : setting setTypeface() to null object  #3147

Closed

Description

@tsonevn

Sometimes setTypeface() has been set to earlier , when the TabView TextViews objects are null or undefined. This will lead to app crash on Android.

Which platform(s) does your issue occur on?

Android

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

  • CLI: 2.4.0;
  • Project package.json
{
  "nativescript": {
    "id": "<app_name>",
    "tns-ios": {
      "version": "2.4.0"
    },
    "tns-android": {
      "version": "2.4.1"
    }
  },
  "dependencies": {
    "email-validator": "1.0.4",
    "nativescript-barcodescanner": "1.3.3",
    "nativescript-cardview": "1.1.7",
    "nativescript-clipboard": "^1.1.5",
    "nativescript-drop-down": "1.3.2",
    "nativescript-geolocation": "0.0.12",
    "nativescript-google-maps-sdk": "^1.3.3",
    "nativescript-maskedinput": "0.0.2",
    "nativescript-ripple": "1.0.0",
    "nativescript-slides": "2.2.0",
    "nativescript-sqlite": "1.1.1",
    "nativescript-swiss-army-knife": "1.0.5",
    "nativescript-telerik-analytics": "1.0.6",
    "nativescript-telerik-ui-pro": "1.4.1",
    "nativescript-youtubesdk": "0.0.2",
    "tns-core-modules": "^2.4.0"
  },
  "devDependencies": {
    "babel-traverse": "6.10.4",
    "babel-types": "6.11.1",
    "babylon": "6.8.4",
    "filewalker": "0.1.3",
    "lazy": "1.0.11"
  }

Activity

  1. self-assigned this
    on Nov 29, 2016
  2. hamorphis commented on Nov 29, 2016

    @hamorphis
    Contributor

    @tsonevn How can I reproduce this app crash? Do we have any sample project?

  3. added this to the 2.5.0 milestone on Dec 5, 2016
  4. added a commit that references this issue on Jan 3, 2017
    52a84b2
  5. lock commented on Aug 29, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  6. locked and limited conversation to collaborators on Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions