Ticket #1467 (closed bug: fixed)
Gracefully handle empty XML configuration files
| Reported by: | pablo | Owned by: | pablo |
|---|---|---|---|
| Priority: | Normal | Milestone: | Player 5.9 |
| Component: | flash | Keywords: | |
| Cc: | Forum thread: | http://www.longtailvideo.com/support/forums/jw-player/bug-reports/22259/unhandled-exception |
Description
From linuxdev:
There is an unhandled exception in Configger.as, specifically in the function loadComplete(), and specifically in the line: var loadedXML:XML = XML((evt.target as URLLoader).data); The exception is thrown when the XML exists, but it's empty. That scenario it's supposed to be checked in the following line with: loadedXML.children().length() > 0 But the flow never reaches this point. This is 100% reproducible, at least in 5.7
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [2021]