Skip to content

Conversation

santhoshvai
Copy link
Member

Device info :
OS version: android14
Model: Vivo I2202, Vivo Y200 5G
device states: background

crash -

          Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
       at com.oney.WebRTCModule.CameraCaptureController.updateActualSize(CameraCaptureController.java:222)
       at com.oney.WebRTCModule.CameraCaptureController.createVideoCapturer(CameraCaptureController.java:211)
       at com.oney.WebRTCModule.AbstractVideoCaptureController.initializeVideoCapturer(AbstractVideoCaptureController.java:38)
       at com.oney.WebRTCModule.GetUserMediaImpl.createVideoTrack(GetUserMediaImpl.java:374)
       at com.oney.WebRTCModule.GetUserMediaImpl.getUserMedia(GetUserMediaImpl.java:201)
       at com.oney.WebRTCModule.WebRTCModule.lambda$getUserMedia$11(WebRTCModule.java:777)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)

@santhoshvai santhoshvai merged commit b5a7fb2 into master Feb 14, 2025
1 of 3 checks passed
@santhoshvai santhoshvai deleted the null-error branch February 14, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants