cheerpj-meta
cheerpj-meta copied to clipboard
App crashes with error "no such method: sun.awt.image.ImageWatched..."
I see this error from time to time, and it cause the entire app to crash:
Uncaught (in promise) no such method: sun.awt.image.ImageWatched$WeakLink.lambda$update$0(ImageObserver,Image,int,int,int,int,int)Boolean/invokeStatic
and error points to line 2268 of the loader.js file (version: 20200927):
currentThread.parent.endPromise.fail(detailMessage);
To reproduce the issue:
- goto https://ij.imjoy.io/
- click "File -> New -> Image...", then click ok in the dialog
- now click "File -> Save", then the app crashes and you can see the error in the console.