Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null object reference on Start #4

Open
mirkoemirbc opened this issue Jun 23, 2019 · 1 comment
Open

Null object reference on Start #4

mirkoemirbc opened this issue Jun 23, 2019 · 1 comment

Comments

@mirkoemirbc
Copy link

mirkoemirbc commented Jun 23, 2019

When call startRecording() on console shows the follow error and cancel:

I/System.out( 3454): 开始录制
E/AndroidRuntime( 3454): FATAL EXCEPTION: Thread-4
E/AndroidRuntime( 3454): Process: com.mysystem.apps.myapp, PID: 3454
E/AndroidRuntime( 3454): java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.OutputStream.write(byte[])' on a null object reference
E/AndroidRuntime( 3454): 	at com.bilibili502.recorderwav.AudioUtil.writeData(AudioUtil.java:100)
E/AndroidRuntime( 3454): 	at com.bilibili502.recorderwav.AudioUtil$WriteThread.run(AudioUtil.java:68)
E/AndroidRuntime( 3454): 	at java.lang.Thread.run(Thread.java:761)

Is there any workaround for this?

@TimeCyber
Copy link

i have same problem

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

No branches or pull requests

2 participants