java.lang.RuntimeException: ImageReaderContext is not initialized
at android.media.ImageReader.nativeImageSetup(Native Method)
at android.media.ImageReader.acquireNextSurfaceImage(ImageReader.java:327)
at android.media.ImageReader.acquireNextImageNoThrowISE(ImageReader.java:308)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:283)
at com.stardust.autojs.core.image.ScreenCapturer.lambda$setImageListener$0$ScreenCapturer(ScreenCapturer.java:93)
at com.stardust.autojs.core.image.ScreenCapturer$$Lambda$0.onImageAvailable(Unknown Source)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:648)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at com.stardust.autojs.core.looper.Loopers.lambda$initServantThread$1$Loopers(Loopers.java:67)
at com.stardust.autojs.core.looper.Loopers$$Lambda$0.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)
Description:
java.lang.RuntimeException: ImageReaderContext is not initialized at android.media.ImageReader.nativeImageSetup(Native Method) at android.media.ImageReader.acquireNextSurfaceImage(ImageReader.java:327) at android.media.ImageReader.acquireNextImageNoThrowISE(ImageReader.java:308) at android.media.ImageReader.acquireLatestImage(ImageReader.java:283) at com.stardust.autojs.core.image.ScreenCapturer.lambda$setImageListener$0$ScreenCapturer(ScreenCapturer.java:93) at com.stardust.autojs.core.image.ScreenCapturer$$Lambda$0.onImageAvailable(Unknown Source) at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:648) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:157) at com.stardust.autojs.core.looper.Loopers.lambda$initServantThread$1$Loopers(Loopers.java:67) at com.stardust.autojs.core.looper.Loopers$$Lambda$0.run(Unknown Source) at java.lang.Thread.run(Thread.java:818)
Device info: