Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.
This repository was 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

@fdzx0707fh

Description

@fdzx0707fh

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions