Skip to content

Cannot read property 'getAdapter' of undefined #170

@wendt88

Description

@wendt88

get this error on Android since version 3.2.2 + 3.2.4 of dropdown, downgrade to 3.2.1 solved it:

JS: ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'getAdapter' of undefined
JS: TypeError: Cannot read property 'getAdapter' of undefined
JS:     at DropDown.refresh (file:///data/data/<app>/files/app/tns_modules/nativescript-drop-down/drop-down.js:75:21)
JS:     at resetChildrenRefreshes (file:///data/data/<app>/files/app/tns_modules/nativescript-orientation/orientation.js:310:9)
JS:     at localCallback (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:75:29)
JS:     at GridLayout.LayoutBaseCommon.eachChildView (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js:125:26)
JS:     at GridLayout.ViewCommon.eachChild (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js:699:14)
JS:     at localCallback (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:77:19)
JS:     at GridLayout.LayoutBaseCommon.eachChildView (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js:125:26)
JS:     at GridLayout.ViewCommon.eachChild (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js:699:14)
JS:     at localCallback (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:77:19)
JS:     at GridLayout.LayoutBaseCommon.eachChildView (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js:125:26)
JS:     at GridLayout.ViewCommon.eachChild (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js:699:14)
JS:     at localCallback (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:77:19)
JS:     at ProxyViewContainer.LayoutBaseCommon.eachChildView (file:///data/data/<app>p/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js:125:26)
JS:     at ProxyViewContainer.ViewCommon.eachChild (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js:699:14)
JS:     at localCallback (file:///data/data/<app>/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:77:19)

packages:

"dependencies": {
    "@angular/animations": "^5.2.7",
    "@angular/common": "^5.2.7",
    "@angular/compiler": "^5.2.7",
    "@angular/core": "^5.2.7",
    "@angular/forms": "^5.2.7",
    "@angular/http": "^5.2.7",
    "@angular/platform-browser": "^5.2.7",
    "@angular/platform-browser-dynamic": "^5.2.7",
    "@angular/router": "^5.2.7",
    "nativescript-angular": "~5.2.0",
    "nativescript-appavailability": "^1.3.1",
    "nativescript-drop-down": "^3.2.3",
    "nativescript-i18n": "^0.2.4",
    "nativescript-insomnia": "^1.2.1",
    "nativescript-intl": "^3.0.0",
    "nativescript-orientation": "^2.2.0",
    "nativescript-pulltorefresh": "^2.1.0",
    "nativescript-ui-listview": "^3.5.0",
    "reflect-metadata": "^0.1.12",
    "rxjs": "~5.5.2",
    "tns-core-modules": "^3.4.1",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^5.2.6",
    "@ngtools/webpack": "^1.10.1",
    "babel-traverse": "6.4.5",
    "babel-types": "6.4.5",
    "babylon": "6.4.5",
    "copy-webpack-plugin": "~4.3.0",
    "css-loader": "^0.28.10",
    "extract-text-webpack-plugin": "~3.0.2",
    "lazy": "1.0.11",
    "nativescript-dev-sass": "^1.4.0",
    "nativescript-dev-typescript": "^0.6.0",
    "nativescript-dev-webpack": "^0.9.2",
    "nativescript-worker-loader": "~0.8.1",
    "raw-loader": "~0.5.1",
    "resolve-url-loader": "~2.2.1",
    "sass-loader": "^6.0.7",
    "typescript": "^2.7.2",
    "uglifyjs-webpack-plugin": "^1.2.3",
    "webpack": "~3.10.0",
    "webpack-bundle-analyzer": "^2.11.0",
    "webpack-sources": "~1.1.0"
  }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions