Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.microsoft.bing.speech.AudioStream.close()' on a null object reference #79

Open
fdzx0707fh opened this issue May 16, 2018 · 0 comments

Comments

@fdzx0707fh
Copy link

05-16 09:53:17.058 9785-9863/com.jc_inter.translationtrip E/AndroidRuntime: FATAL EXCEPTION: SpeechRecognitionService Background Worker Thread
Process: com.jc_inter.translationtrip, PID: 9785
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.microsoft.bing.speech.AudioStream.close()' on a null object reference
at com.microsoft.cognitiveservices.speechrecognition.DataRecognitionClient.endAudioWorker(DataRecognitionClient.java:224)
at com.microsoft.cognitiveservices.speechrecognition.DataRecognitionClient.access$200(DataRecognitionClient.java:19)
at com.microsoft.cognitiveservices.speechrecognition.DataRecognitionClient$3.run(DataRecognitionClient.java:123)
at com.microsoft.cognitiveservices.speechrecognition.WorkQueue.threadWorker(WorkQueue.java:64)
at com.microsoft.cognitiveservices.speechrecognition.WorkQueue$1.run(WorkQueue.java:31)

What is the reason for this question?
  how to solve this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant