Attempt to invoke virtual method 'int java.io.InputStream.read(byte[])' on a null object reference Copying media files failed

1. What is the issue? Please be detailed.
I am trying to Get Blank Forms on my customised ODK tool from the server URL created for a project. However, forms didn't download, and I keep getting this error: "attempt to invoke virtual method 'int java.io.InputStream.read(byte)' on a null object reference Copying media files failed"

2. What steps can we take to reproduce this issue?

  1. Get Blank Forms
  2. Get Selected

3. What have you tried to fix the issue?
I have re-installed the application and check app storage settings on the android phone.

4. Upload any forms or screenshots you can share publicly below.
N/A

What happens if you use the latest release (currently v2023.3.1) from the Play Store? I'm trying to understand if the problem is with Collect or with your changes.

I am using a customized ODK tool developed using ONA for my project.