Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Issue trying run samples like 02.echo-bot #929

Closed

Description

@denstren

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

Preview 8

Describe the bug

I am trying to run the samples like 02.echo-bot.
The echo bot starts up fine.
But, as soon as I send a message to the bot in the Teams app it throws the following error.

java.util.concurrent.CompletionException: java.io.IOException: java.util.concurrent.ExecutionException: com.microsoft.bot.connector.authentication.AuthenticationException: java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: com/nimbusds/oauth2/sdk/http/CommonContentTypes

Full startup and stack trace attached.
02.echo-bot.stack.trace.txt

I created an echo bot in Visual Studio using C# with the same App Id and Password and it worked as expected and echoed the message.

To Reproduce

Steps to reproduce the behavior:

  1. Start the 02.echo-bot.
  2. Connect to the Bot via the Teams App and send a message.
  3. It throws the error in the attached stack trace.

Expected behavior

Should echo back the message in the Teams App.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Let me know if you need any more details.

Activity

  1. added
    bug
    needs-triage
    on Feb 1, 2021
  2. added
    Bot Services
    customer-reported
    on Feb 1, 2021
  3. tracyboehrer commented on Feb 1, 2021

    @tracyboehrer
    Member

    denstren It looks like Java MSAL has a new version that resolves a missing dependency related to nimbusds.

    https://github.com/AzureAD/microsoft-authentication-library-for-java/releases/tag/v1.8.1

    We get this corrected in the next preview, which is coming in a couple of weeks.

  4. added
    Area: Authentication
    P0
    and removed
    needs-triage
    on Feb 1, 2021
  5. added
    customer-replied-to
    on Feb 1, 2021
  6. denstren commented on Feb 2, 2021

    @denstren
    Author

    Thanks! Updating to MSAL 1.8.1 worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: AuthenticationBot ServicesP0bugcustomer-replied-tocustomer-reported

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions