jellyfin / jellyfin-roku

The Official Roku Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
449 stars 137 forks source link

Crash in Items.brs - 'Dot' Operator attempted with invalid BrightScript Component or interface reference #1078

Closed cewert closed 1 year ago

cewert commented 1 year ago

roku.com crashlog report

Software Versions

Jellyfin Server Version: N/A Roku Client Version: v1.6.3

Error Text

Function audiostream(id As String) As Dynamic file/line: pkg:/source/api/Items.brs(339)

https://github.com/jellyfin/jellyfin-roku/blob/master/source/api/Items.brs#L339

Backtrace

'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in pkg:/source/api/Items.brs(339) 

Backtrace: 
#1  Function audiostream(id As String) As Dynamic file/line: pkg:/source/api/Items.brs(339) 
#0  Function loaditems() As Void file/line: pkg:/components/home/LoadItemsTask.brs(209) 

Local Variables: 
id               roString (2.1 was String) refcnt=1 val:"b3ce41cb21295038d5e5fbfb2fa34411" 
global           Interface:ifGlobal m                roAssociativeArray refcnt=3 count:2 
songdata         roAssociativeArray refcnt=1 count:49 
content          roSGNode:ContentNode refcnt=1 
playbackinfo     Invalid params           <uninitialized>

Additional context

cewert commented 1 year ago

Another one in this file:

Error Text

Function audiostream(id As String) As Dynamic file/line: pkg:/source/api/Items.brs(336)

https://github.com/jellyfin/jellyfin-roku/blob/master/source/api/Items.brs#L336

Backtrace

'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in pkg:/source/api/Items.brs(336) 

Backtrace: 
#1  Function audiostream(id As String) As Dynamic file/line: pkg:/source/api/Items.brs(336) 
#0  Function loaditems() As Void file/line: pkg:/components/home/LoadItemsTask.brs(209) 

Local Variables: 
id               roString (2.1 was String) refcnt=1 val:"82c23539970be1fb30e943bef5ae83f1" 
global           Interface:ifGlobal m                roAssociativeArray refcnt=3 count:2 
songdata         Invalid content          roSGNode:ContentNode refcnt=1 
playbackinfo     <uninitialized> 
params           <uninitialized>