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

Transfer callback function failed with error: AttributeError("'NoneType' object has no attribute 'send_disposition'") #39537

Open
tjusto2023 opened this issue Feb 3, 2025 · 3 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Messaging Messaging crew needs-author-feedback Workflow: More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Bus

Comments

@tjusto2023
Copy link

  • Package Name: azure-servicebus
  • Package Version: 7.8.1
  • Operating System: Linux ubuntu-22.04
  • Python Version: 3.12

Describe the bug
Error occurs when processing messages. We noticed that the logs are recording sporadically and we are trying to skip them.

To Reproduce
Steps to reproduce the behavior:

  1. The instance of the client and receiver class uses this method and occasionally tries to access the send_disposition method and gives the NoneType error when trying to process the messages
@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Bus labels Feb 3, 2025
Copy link

github-actions bot commented Feb 3, 2025

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@kashifkhan
Copy link
Member

Thank you for the feedback @tjusto2023 , can you provide some sample code that shows how the SDK is being used so that we can repro the issue on our end?

@kashifkhan kashifkhan added Messaging Messaging crew needs-author-feedback Workflow: More information is needed from author to address the issue. labels Feb 3, 2025
@github-actions github-actions bot removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Feb 3, 2025
Copy link

github-actions bot commented Feb 3, 2025

Hi @tjusto2023. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Messaging Messaging crew needs-author-feedback Workflow: More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Bus
Projects
None yet
Development

No branches or pull requests

4 participants