#5 Function roku_ads_parser_parse(xmldata_ As String, adserver_ As String) As Object
file/line: roku_ads_lib:/Roku_Ads_VAST_Parser.brs(190)
file = "pkg:/config/ads.xml"
' test: succeeds
adXML = ReadAsciiFile(file)
? adXML
' crashes RAF
adInterface.setAdUrl(file)
Roku_Ads Framework version 2.0108
Roku_Ads_util_getStringFromUrl: requesting URL: pkg:/config/ads.xml
Suspending threads...
Thread selected: 1* ...ib:/Roku_Ads_VAST_Parser.brs(190) ??
Current Function:
182: ??
183: ??
184: ??
185: ??
186: ??
187: ??
188: ??
189: ??
190:* ??
191: ??
Use of uninitialized variable. (runtime error &he9) in roku_ads_lib:/Roku_Ads_VAST_Parser.brs(190)
190: ??
Backtrace:
#5 Function roku_ads_parser_parse(xmldata_ As String, adserver_ As String) As Object
file/line: roku_ads_lib:/Roku_Ads_VAST_Parser.brs(190)
#4 Function roku_ads_getads() As Dynamic
file/line: roku_ads_lib:/Roku_Ads.brs(3966)
Local Variables:
No variable info.
Threads:
ID Location Source Code
1* ...ib:/Roku_Ads_VAST_Parser.brs(190) ??
*selected
"acreskey" wrote:
However as a possible improvement the error-handling in the RAF VMAP parser could be improved to not crash 🙂
"RokuNB" wrote:
And done - RAF 2.2 is out.