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

java.lang.UnsatisfiedLinkError: No implementation found for com.microsoft.cognitiveservices.speech.dialog.DialogServiceConnector.stopListening #994

Closed
matecode opened this issue Mar 17, 2021 · 6 comments

Comments

@matecode
Copy link

matecode commented Mar 17, 2021

I'm using the library com.microsoft.cognitiveservices.speech:client-sdk:1.15.0
and the connection works fine. Now I'm trying to call
DialogServiceConnector.stopListeningAsync but I get the following error during runtime:

java.lang.UnsatisfiedLinkError: No implementation found for long com.microsoft.cognitiveservices.speech.dialog.DialogServiceConnector.stopListening(com.microsoft.cognitiveservices.speech.util.SafeHandle) (tried Java_com_microsoft_cognitiveservices_speech_dialog_DialogServiceConnector_stopListening and Java_com_microsoft_cognitiveservices_speech_dialog_DialogServiceConnector_stopListening__Lcom_microsoft_cognitiveservices_speech_util_SafeHandle_2)

The async method wraps the method stopListening which seems not implemented in the SO counterpart.

@matecode
Copy link
Author

seems like there is a 1.16.0 version today, but the problem still exists

@matecode matecode changed the title No implementation found for com.microsoft.cognitiveservices.speech.dialog.DialogServiceConnector.stopListening java.lang.UnsatisfiedLinkError: No implementation found for com.microsoft.cognitiveservices.speech.dialog.DialogServiceConnector.stopListening Mar 18, 2021
@dargilco
Copy link
Member

@matecode Can you please turn on logs, do a short run that captures the above and share the log here? Can you share a snippet of code that shows the order of Speech SDK APIs call you make, used to create this log.
Thanks,
Darren

@matecode
Copy link
Author

matecode commented Mar 23, 2021

@dargilco Thanks for your response!

Im calling DialogServiceConnector.listenOnceAsync to start the recognition. After that and during the "user voice input" i'm calling DialogServiceConnector.stopListeningAsync which throws the exception mentioned above.

Here is the log you requested:

speechSdk.log

@dargilco
Copy link
Member

Thanks @matecode, I opened a ticket on this in our internal system. I will investigate and report back here when I have an update. This is Java on Android, correct?
I am going to close this GitHub issue to keep the open issues fresh.

@matecode
Copy link
Author

matecode commented Apr 9, 2021

Hi @dargilco

Just for the record: I actually don't think it's a good practice to close the issue without having an answer because there is no way for the issue creator to keep track of their own open questions/issues.

Now the subject: any news from internal systems?

Thanks

@dargilco
Copy link
Member

dargilco commented May 4, 2021

Hi @matecode, a fix for this issue will be in next release of Speech SDK (version 1.17), likely to be out by the end of next week (mid May). Thank you again for reporting this!
Darren

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