-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix null exception message error #46001
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
Merged
Merged
+2
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a null exception message error by ensuring that exception telemetry always has a message value. When the exception message is null or empty, it now falls back to using the exception type as the message to prevent rejection by the Breeze service.
Key Changes:
- Added fallback logic to use exception type as message when exception message is null/empty
- Prevents Breeze service from rejecting exceptions without messages
...c/main/java/com/azure/monitor/opentelemetry/autoconfigure/implementation/SpanDataMapper.java
Show resolved
Hide resolved
harsimar
approved these changes
Jul 14, 2025
xiang17
approved these changes
Jul 14, 2025
mmoayyed
pushed a commit
to mmoayyed/cas
that referenced
this pull request
Aug 13, 2025
…nsights-runtime-attach to v3.7.4 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.microsoft.azure:applicationinsights-runtime-attach](https://redirect.github.com/Microsoft/ApplicationInsights-Java) | dependencies | patch | `3.7.3` -> `3.7.4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Microsoft/ApplicationInsights-Java (com.microsoft.azure:applicationinsights-runtime-attach)</summary> ### [`v3.7.4`](https://redirect.github.com/Microsoft/ApplicationInsights-Java/blob/HEAD/CHANGELOG.md#Version-374-GA-08052025) ##### Bug fixes - Update deprecated EnvironmentResourceProvider reference ([#​4377](https://redirect.github.com/microsoft/ApplicationInsights-Java/pull/4377)) - Fix null exception message error ([Azure/azure-sdk-for-java#46001](https://redirect.github.com/Azure/azure-sdk-for-java/pull/46001)) - Update to OpenTelemetry Java Instrumentation 2.18.1 ([#​4378](https://redirect.github.com/microsoft/ApplicationInsights-Java/pull/4378)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,before 9am" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS42Ni4xIiwidXBkYXRlZEluVmVyIjoiNDEuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJCb3QiLCJSZW5vdmF0ZSJdfQ==-->
apereocas-bot
pushed a commit
to apereo/cas
that referenced
this pull request
Aug 13, 2025
…nsights-runtime-attach to v3.7.4 This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.microsoft.azure:applicationinsights-runtime-attach](https://redirect.github.com/Microsoft/ApplicationInsights-Java) | `3.7.3` -> `3.7.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Microsoft/ApplicationInsights-Java (com.microsoft.azure:applicationinsights-runtime-attach)</summary> ### [`v3.7.4`](https://redirect.github.com/Microsoft/ApplicationInsights-Java/blob/HEAD/CHANGELOG.md#Version-374-GA-08052025) ##### Bug fixes - Update deprecated EnvironmentResourceProvider reference ([#​4377](https://redirect.github.com/microsoft/ApplicationInsights-Java/pull/4377)) - Fix null exception message error ([Azure/azure-sdk-for-java#46001](https://redirect.github.com/Azure/azure-sdk-for-java/pull/46001)) - Update to OpenTelemetry Java Instrumentation 2.18.1 ([#​4378](https://redirect.github.com/microsoft/ApplicationInsights-Java/pull/4378)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,before 9am" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/apereo/cas). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS42MC40IiwidXBkYXRlZEluVmVyIjoiNDEuNjAuNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJCb3QiLCJSZW5vdmF0ZSJdfQ==-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves microsoft/ApplicationInsights-Java#4283
Added test in microsoft/ApplicationInsights-Java#4314