Uncaught TypeError: Cannot read property 'length' of null (ContainerDataBinding.js:67)
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
When I use fx:Binding in my application It will throw this exception
There's three arguments in ContainerDataBinding
binding.source
binding.destFunc
binding.destination
for Example if I am using binding in my application like this
**binding.source** should be sname and
**binding.destFunc** should be null and
**binding.destination** should be controller.scenario.name
But when i compile application binding.source** is sname **binding.destFunc** is controller.scenario.name and **binding.destination** is null


Contributor guide
No contributing guide indexed for this repository
Research direction
Start at ContainerDataBinding.js:67 and inspect how the three fx:Binding arguments—source, destFunc, and destination—are assigned during compilation. Reproduce the example using source="sname.text" and destination="controller.scenario.name", then verify that the compiled binding preserves the expected values and no longer throws the null length TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100