When trying to run the plugin I get Frame Processor threw an error: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete every tick of the frameProcessor on Android. Looks like async error?
Device is Pixel 4a.
Logcat:
2021-08-02 19:48:28.469 22920-23204/com.supervaisor.dashcam.staging E/VisionCamera: Frame Processor threw an error: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
2021-08-02 19:48:28.471 22920-23028/com.supervaisor.dashcam.staging E/ReactNativeJS: Frame Processor threw an error: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
2021-08-02 19:48:29.112 987-987/? W/SoloThreadMana: type=1400 audit(0.0:711721): avc: denied { search } for name="camera" dev="dm-12" ino=209 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_vendor_data_file:s0 tclass=dir permissive=0
2021-08-02 19:48:29.312 987-987/? I/chatty: uid=1000(system) provider@2.6-se identical 3 lines
2021-08-02 19:48:29.379 987-987/? W/SoloThreadMana: type=1400 audit(0.0:711725): avc: denied { search } for name="camera" dev="dm-12" ino=209 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_vendor_data_file:s0 tclass=dir permissive=0
2021-08-02 19:48:29.471 22920-23204/com.supervaisor.dashcam.staging I/HermesVM: JSI rethrowing JS exception: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
Error: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
at __labelImage (native)
at labelImage (JavaScript:1:48)
at labelImage (native)
at _f (JavaScript:1:77)
at _f (native)
2021-08-02 19:48:29.472 22920-23204/com.supervaisor.dashcam.staging I/chatty: uid=10390(com.supervaisor.dashcam.staging) pool-22-thread- identical 1 line
2021-08-02 19:48:29.472 22920-23204/com.supervaisor.dashcam.staging I/HermesVM: JSI rethrowing JS exception: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
Error: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
at __labelImage (native)
at labelImage (JavaScript:1:48)
at labelImage (native)
at _f (JavaScript:1:77)
at _f (native)
When trying to run the plugin I get
Frame Processor threw an error: Exception in HostFunction: java.lang.IllegalStateException: Task is not yet complete
every tick of the frameProcessor on Android. Looks like async error?Device is Pixel 4a.
Logcat: