<?xml version="1.0" encoding="utf-8" ?>
<component name = "comscore" extends = "task" >
<interface>
<function name="setConfig" />
</interface>
<script type="text/brightscript" uri="pkg:/components/cpc/tasks/metrics/comscore.brs"/>
<script type="text/brightscript" uri="pkg:/components/cpc/tasks/metrics/vendor/comscore_4.1503.03.brs"/>
</component>
BRIGHTSCRIPT: ERROR: roUrlTransfer: creating MAIN|TASK-only component failed on RENDER thread: pkg:/components/cpc/tasks/metrics/vendor/comscore_4.1503.03.brs(719)
I think there are multiple issues causing the same error because I am not using callFunc anywhere in my app and I am still seeing the error. It is so frustrating. In my case I am creating a roUrlTransfer object and using it in the very next line to set the url where the app crashes(intermittently). interesting thing is I see "BRIGHTSCRIPT ERROR: creating MAIN|TASK-only component failed on RENDER thread" in the terminal just before the crash but it says that the actual cause of the crash is 'Dot' operator attempted on invalid component because apparently the request object is invalid !! No clue how the request object could be invalid. Any thoughts appreciated.
@tim_beynart Can you please share what to do exactly in the task. We also have comscore.brs with us, but not sure how should it be implemented using tasks