xml Uncaught TypeError: org.apache.royale.debugging.assert is not a function
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
```
Uncaught TypeError: org.apache.royale.debugging.assert is not a function
at Object.org.apache.royale.debugging.assertType (assertType.js:25)
at XML.addChildInternal (XML.js:874)
at Function.XML.insertAttribute (XML.js:427)
at Function.XML.iterateElement (XML.js:460)
at Function.XML.fromNode (XML.js:497)
at Function.XML.iterateElement (XML.js:475)
at XML.XML_parseXMLStr (XML.js:743)
at new XML (XML.js:31)
at ButtonTestUI.js:52
```
https://github.com/matrix3d/spriteflexjs/blob/master/examples/src/TestMornui.as
https://github.com/matrix3d/spriteflexjs/blob/master/examples/thirdParty/MornUIDemo/src/game/ui/comps/ButtonTestUI.as
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with assertType.js:25 and the XML.js call sites named in the stack trace: addChildInternal, insertAttribute, iterateElement, and fromNode. Reproduce the failure through ButtonTestUI.js; done means the XML parsing path no longer raises the reported 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
- Needs clarification
- Newbie friendliness
- 25/100