jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Bug: lists update before loading children when getting new values

Open gdorsi opened this issue 6 months ago • 0 comments

Using the MusicPlayer from two devices I've got into this error:

TypeError: Cannot read properties of null (reading 'id')
    at https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:57145:40
    at Proxy.map (<anonymous>)
    at SidePanel (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:57140:55)
    at renderWithHooks (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:31570:27)
    at updateFunctionComponent (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:33067:21)
    at beginWork (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:33722:20)
    at performUnitOfWork (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:36787:20)
    at workLoopSync (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:36686:43)
    at renderRootSync (https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:36670:13)
    at performWorkOnRoot **(https://music.demo.jazz.tools/assets/index-BiT7e2Sa.js:36372:46)**

To reproduce:

  • Log with the same account on two devices
  • Add a new playlist

Result: the other device crashes with the "Cannot read properties of null (reading 'id')" error

gdorsi avatar Jun 13 '25 09:06 gdorsi