Uncaught exception crashing app

Hi,

we had the CS app crash with this one:

2023-03-13 19:46:26,631 ERROR | uncaughtException: Unexpected token < in JSON at position 0
2023-03-13 19:46:26,631 ERROR | SyntaxError: Unexpected token < in JSON at position 0
2023-03-13 19:46:26,631 ERROR |     at JSON.parse (<anonymous>)
2023-03-13 19:46:26,631 ERROR |     at IncomingMessage.<anonymous> (/cryosparc/cryosparc-master/cryosparc_master/cryosparc_app/custom-server/dist/server/index.js:894:47465)
2023-03-13 19:46:26,631 ERROR |     at IncomingMessage.emit (node:events:525:35)
2023-03-13 19:46:26,631 ERROR |     at endReadableNT (node:internal/streams/readable:1358:12)
2023-03-13 19:46:26,631 ERROR |     at processTicksAndRejections (node:internal/process/task_queues:83:21)
2023-03-13 19:46:26,672 ERROR | uncaughtException: Unexpected token < in JSON at position 0
2023-03-13 19:46:26,672 ERROR | SyntaxError: Unexpected token < in JSON at position 0
2023-03-13 19:46:26,672 ERROR |     at JSON.parse (<anonymous>)
2023-03-13 19:46:26,672 ERROR |     at IncomingMessage.<anonymous> (/cryosparc/cryosparc-master/cryosparc_master/cryosparc_app/custom-server/dist/server/index.js:894:47465)
2023-03-13 19:46:26,672 ERROR |     at IncomingMessage.emit (node:events:525:35)
2023-03-13 19:46:26,672 ERROR |     at endReadableNT (node:internal/streams/readable:1358:12)
2023-03-13 19:46:26,672 ERROR |     at processTicksAndRejections (node:internal/process/task_queues:83:21)

Unsure what was running at the time, but seems a bad value got passed and the app couldn’t take it.

Cheers,

Miguel

Hi @vatese ,

Thanks for reporting this. We are aware of the issue and have made a fix that will be released in an upcoming release. In the meantime if you encounter this error again please restart the application: cryosparcm restart app.

- Suhail

Hi @vatese ,

CryoSPARC v4.2.1 released on March 15th includes a fix for this bug. Please upgrade when you get a chance!

Regards,
Suhail