Please, tell us how to recreate the issue in as much detail as possible.
Click on any accordion item title throws the error below. Accordion panel does not expand.
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
JS: null
System.err: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
System.err: at com.tns.gen.android.widget.BaseExpandableListAdapter_vendor_112286_28_AccordionListAdapter.getChildrenCount(BaseExpandableListAdapter_vendor_112286_28_AccordionListAdapter.java:24)
System.err: at android.widget.ExpandableListConnector.refreshExpGroupMetadataList(ExpandableListConnector.java:563)
System.err: at android.widget.ExpandableListConnector.expandGroup(ExpandableListConnector.java:688)
System.err: at android.widget.ExpandableListView.handleItemClick(ExpandableListView.java:693)
System.err: at android.widget.ExpandableListView.performItemClick(ExpandableListView.java:653)
System.err: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3136)
System.err: at android.widget.AbsListView.onTouchUp(AbsListView.java:4064)
System.err: at android.widget.AbsListView.onTouchEvent(AbsListView.java:3822)
System.err: at android.view.View.dispatchTouchEvent(View.java:12513)
Is there any code involved?
provide a code example to recreate the problem
(EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital letter.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
tns --version
to fetch it) 5.4.0node_modules/tns-core-modules/package.json
file in your project) 5.4.2"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project) 5.4.0Plugin(s): (look for the version numbers in the
package.json
file of your project and paste your dependencies and devDependencies here)"dependencies": { "@angular/animations": "8.0.2", "@angular/common": "8.0.2", "@angular/compiler": "8.0.2", "@angular/core": "8.0.2", "@angular/forms": "8.0.2", "@angular/http": "8.0.0-beta.10", "@angular/language-service": "8.0.2", "@angular/platform-browser": "8.0.2", "@angular/platform-browser-dynamic": "8.0.2", "@angular/pwa": "0.802.0", "@angular/router": "8.0.2", "@angular/service-worker": "8.0.2", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", "@progress-nativechat/nativescript-nativechat": "2.0.4", "@progress/kendo-angular-buttons": "~5.0.0", "@progress/kendo-angular-charts": "~4.0.0", "@progress/kendo-angular-common": "~1.0.0", "@progress/kendo-angular-dateinputs": "~4.0.0", "@progress/kendo-angular-dialog": "~4.0.0", "@progress/kendo-angular-dropdowns": "~4.0.0", "@progress/kendo-angular-excel-export": "~3.0.0", "@progress/kendo-angular-gauges": "~3.0.0", "@progress/kendo-angular-grid": "~4.0.0", "@progress/kendo-angular-inputs": "~6.0.0", "@progress/kendo-angular-intl": "~2.0.0", "@progress/kendo-angular-l10n": "~2.0.0", "@progress/kendo-angular-label": "~2.0.0", "@progress/kendo-angular-layout": "~4.0.0", "@progress/kendo-angular-menu": "^2.0.0", "@progress/kendo-angular-pdf-export": "~2.0.0", "@progress/kendo-angular-popup": "~3.0.0", "@progress/kendo-angular-ripple": "~2.0.0", "@progress/kendo-data-query": "~1.5.1", "@progress/kendo-drawing": "~1.5.12", "@progress/kendo-theme-bootstrap": "~3.4.2", "@progress/kendo-theme-default": "~3.7.0", "@progress/kendo-theme-material": "~2.5.2", "babel-polyfill": "^6.26.0", "bootstrap": "^4.3.1", "core-js": "^3.1.4", "font-awesome": "^4.7.0", "hammerjs": "^2.0.8", "kinvey-angular-sdk": "4.2.3", "kinvey-nativescript-sdk": "4.2.1", "nativescript-accelerometer": "2.0.1", "nativescript-angular": "8.0.1", "nativescript-background-http": "3.4.1", "nativescript-barcodescanner": "3.1.3", "nativescript-camera": "4.5.0", "nativescript-datetimepicker": "1.2.1", "nativescript-drawingpad": "3.1.0", "nativescript-geolocation": "5.1.0", "nativescript-image": "2.1.4", "nativescript-imagepicker": "6.2.0", "nativescript-intl": "3.0.0", "nativescript-iqkeyboardmanager": "1.5.1", "nativescript-mapbox": "4.4.1", "nativescript-pager": "9.5.4", "nativescript-picker": "2.1.2", "nativescript-social-share": "1.5.2", "nativescript-theme-core": "1.0.6", "nativescript-ui-autocomplete": "4.1.0", "nativescript-ui-calendar": "4.0.0", "nativescript-ui-chart": "4.0.2", "nativescript-ui-dataform": "4.0.1", "nativescript-ui-gauge": "4.0.0", "nativescript-ui-listview": "6.4.0", "nativescript-ui-sidedrawer": "6.0.0", "mapbox-gl": "1.1.1", "oidc-client": "^1.7.0", "reflect-metadata": "0.1.13", "rxjs": "6.5.2", "tns-core-modules": "5.4.2", "zone.js": "~0.9.1", "nativescript-checkbox": "3.0.3", "moment": "2.24.0", "@nstudio/nativescript-cardview": "1.0.0", "nativescript-accordion": "6.0.0-beta.2" }, "devDependencies": { "@angular-devkit/build-angular": "^0.800.3", "@angular/cli": "~8.0.3", "@angular/compiler-cli": "~8.0.2", "@angularclass/hmr": "^2.1.3", "@ngtools/webpack": "~8.0.3", "@types/jasmine": "3.3.12", "@types/jasminewd2": "~2.0.6", "@types/node": "~11.12.2", "babel-traverse": "6.26.0", "babel-types": "6.26.0", "babylon": "6.18.0", "codelyzer": "~5.0.0", "jasmine-core": "~3.3.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.0.1", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.5", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.4.0", "lazy": "1.0.11", "node-sass": "4.12.0", "nativescript-dev-webpack": "0.24.1", "protractor": "~5.4.2", "ts-node": "~8.0.3", "tslint": "~5.14.0", "typescript": "~3.4.1", "rxjs-spy": "7.5.1" }
Please, tell us how to recreate the issue in as much detail as possible.
Click on any accordion item title throws the error below. Accordion panel does not expand.
Is there any code involved?