Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent app crash on home screen #1949

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

cewert
Copy link
Member

@cewert cewert commented Oct 1, 2024

This was fixed before but the crash just moved further down the app. This should hopefully fix it for good

This is one of those crashlogs that says one line in the error text but then the backtrace points to a different line.

Error text: Function itemcontentchanged() As Void; pkg:/components/home/HomeItem.brs(81)

Full backtrace:

Invalid value for left-side of expression. (runtime error &he4) in pkg:/components/home/HomeItem.brs(79) 
Backtrace: 
#0  Function itemcontentchanged() As Voi$1 file/line: pkg:/components/home/HomeItem.brs(81) 
Local Variables: 
global           Interface:ifGloba$1 m                roAssociativeArray refcnt=2 count:6 
itemdata         roSGNode:HomeData refcnt=1 
localglobal      roSGNode:Node refcnt=2 
playedindicatorleftposition <uninitialized> 
extraprefix      <uninitialized> 
textextra        <uninitialized> 
BRIGHTSCRIPT: ERROR: roSGNode.<lookup>: Rendezvous aborted for LoadItemsTask: pkg:/components/home/LoadItemsTask.brs(55)

which points to this line(79) after running build-prod on 2.1.4:

m.itemIcon.uri = itemData.iconUrl

Issues

Ref #1164

@cewert cewert added the bug-fix This fixes a bug. label Oct 1, 2024
@cewert cewert requested a review from a team as a code owner October 1, 2024 13:33
@cewert cewert changed the title Bump build version Prevent app crash on home screen Oct 1, 2024
@cewert cewert merged commit ed62349 into jellyfin:2.1.z Oct 2, 2024
13 checks passed
@cewert cewert deleted the fix-home-item-crash branch October 2, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants