Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android] Fix ClassCastException in WXComponent.updateProperties() #2897

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

YorkShen
Copy link
Contributor

java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String
	at com.taobao.weex.ui.component.WXComponent.updateProperties(WXComponent.java:710)
	at com.taobao.weex.ui.component.WXComponent.updateAttrs(WXComponent.java:274)
	at com.taobao.weex.ui.component.WXComponent.bindData(WXComponent.java:663)
	at CustomComponent.bindData(InteractiveVideoComponentV2.java:638)
	at com.taobao.weex.ui.component.WXVContainer.bindData(WXVContainer.java:166)

Brief Description of the PR

Checklist

  • Demo:
  • Documentation:

```
java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String
	at com.taobao.weex.ui.component.WXComponent.updateProperties(WXComponent.java:710)
	at com.taobao.weex.ui.component.WXComponent.updateAttrs(WXComponent.java:274)
	at com.taobao.weex.ui.component.WXComponent.bindData(WXComponent.java:663)
	at CustomComponent.bindData(InteractiveVideoComponentV2.java:638)
	at com.taobao.weex.ui.component.WXVContainer.bindData(WXVContainer.java:166)
```
@weex-bot
Copy link

Warnings
⚠️ No Changelog changes! - Can you add a Changelog? To do so,append your changes to the changelog.md
⚠️ Current pr not bind the milestone
⚠️ If your PR is about fixing a bug excluding crash the code,you should add the demo link in the PR description. Demo link: http://dotwe.org/vue
⚠️ If you update the code, maybe you should update the documentation and add the documentation link in the PR description. here is the guide about how to contribute documentation: https://github.com/apache/incubator-weex/blob/master/CONTRIBUTING.md#contribute-code-or-document
Messages
📖 danger test finished.

Generated by 🚫 dangerJS against 6e0e7ec

Copy link
Contributor

@lucky-chen lucky-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@lucky-chen lucky-chen merged commit b94e830 into apache:master Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants