René's URL Explorer Experiment


Title: fix(jul): [Logs and Metrics Enable Flags 11] Preserve null-message records by adinauer · Pull Request #5960 · getsentry/sentry-java · GitHub

Open Graph Title: fix(jul): [Logs and Metrics Enable Flags 11] Preserve null-message records by adinauer · Pull Request #5960 · getsentry/sentry-java

X Title: fix(jul): [Logs and Metrics Enable Flags 11] Preserve null-message records by adinauer · Pull Request #5960 · getsentry/sentry-java

Description: PR Stack (Logs and Metrics Enable Flags) #5939 #5940 #5941 #5942 #5943 #5945 #5946 #5947 #5952 #5953 #5957 #5960 #5961 #5964 #5970 📜 Description Skips Sentry Logs conversion when a valid JUL LogRecord has a null message. Event and breadcrumb processing continues normally, while no invalid Sentry Log item is created. 💡 Motivation and Context JUL permits null messages. When Sentry Logs forwarding was enabled, captureLog dereferenced the null formatted message before the established event and breadcrumb branches ran. The enclosing error handler then aborted processing, dropping an otherwise valid event or breadcrumb. The issue is specific to JUL's nullable LogRecord path. Logcat and Timber already handle nullable bodies explicitly, Logback does not dereference its nullable formatted message in this path, and standard Log4j2 message implementations provide a formatted string. 💚 How did you test it? ./gradlew :sentry-jul:test ./gradlew spotlessApply apiDump Added a regression test proving null-message JUL records still produce an event and breadcrumb with Logs enabled, but no Sentry Log item 📝 Checklist I added GH Issue ID & Linear ID I added tests to verify the changes. No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled. I updated the docs if needed. I updated the wizard if needed. Review from the native team if needed. No breaking change or entry added to the changelog. No breaking change for hybrid SDKs or communicated to hybrid SDKs. 🔮 Next steps None. #skip-changelog ⚠️ Merge this PR using a merge commit (not squash). Only the collection branch is squash-merged into 9.x.x.

Open Graph Description: PR Stack (Logs and Metrics Enable Flags) #5939 #5940 #5941 #5942 #5943 #5945 #5946 #5947 #5952 #5953 #5957 #5960 #5961 #5964 #5970 📜 Description Skips Sentry Logs conversion when a valid JUL Log...

X Description: PR Stack (Logs and Metrics Enable Flags) #5939 #5940 #5941 #5942 #5943 #5945 #5946 #5947 #5952 #5953 #5957 #5960 #5961 #5964 #5970 📜 Description Skips Sentry Logs conversion when a valid JUL Log...

Opengraph URL: https://github.com/getsentry/sentry-java/pull/5960

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:36a3b37d-ac15-6f2a-dd66-08ac2d834c68
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB854:271798:4CA9A5:699CB7:6B04705B
html-safe-nonceac6d6fa129904c12d1b7238c80868f45749e5074bddf01d3d006af6ab6e4e62f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODU0OjI3MTc5ODo0Q0E5QTU6Njk5Q0I3OjZCMDQ3MDVCIiwidmlzaXRvcl9pZCI6IjYzNTY4ODI5MDA3Njc3NjQ1NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac703bc10e2c8fcd7c5c321cd48cf5404be1eb841188e0c748561ffbabc561017a
hovercard-subject-tagpull_request:4269911956
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-java/pull/5960/files
twitter:imagehttps://avatars.githubusercontent.com/u/2542832?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2542832?s=400&v=4
og:image:altPR Stack (Logs and Metrics Enable Flags) #5939 #5940 #5941 #5942 #5943 #5945 #5946 #5947 #5952 #5953 #5957 #5960 #5961 #5964 #5970 📜 Description Skips Sentry Logs conversion when a valid JUL Log...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecfb5f24c6e01d85f70804652a5107e5cac03a161
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/pull/5960/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5960%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5960%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/pull/5960/files
Reloadhttps://github.com/getsentry/sentry-java/pull/5960/files
Reloadhttps://github.com/getsentry/sentry-java/pull/5960/files
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests57 (57)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-java%2Fissues%2Fnew%2Fchoose
adinauerhttps://github.com/adinauer
feat/logs-metrics-enable-flagshttps://github.com/getsentry/sentry-java/tree/feat/logs-metrics-enable-flags
fix/jul-null-log-messagehttps://github.com/getsentry/sentry-java/tree/fix/jul-null-log-message
Conversation 6 https://github.com/getsentry/sentry-java/pull/5960
Commits 10 https://github.com/getsentry/sentry-java/pull/5960/commits
Checks 0 https://github.com/getsentry/sentry-java/pull/5960/checks
Files changed https://github.com/getsentry/sentry-java/pull/5960/files
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5960/files
fix(jul): [Logs and Metrics Enable Flags 11] Preserve null-message records https://github.com/getsentry/sentry-java/pull/5960/files#top
Show all changes 10 commits https://github.com/getsentry/sentry-java/pull/5960/files
6f13618 fix(jul): Preserve null-message events and breadcrumbs adinauer Aug 13, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/6f13618a88a07669b36b94f7cc5088ce45b1b22a
831e343 Merge branch 'perf/metrics-batch-thread-first-use' into fix/jul-null-… adinauer Aug 13, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/831e34380a914a7ebc9da72e74784f667ab2f81e
937e886 Merge branch 'perf/metrics-batch-thread-first-use' into fix/jul-null-… adinauer Aug 13, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/937e886a8b7d6b2516f867390e2f2cc005a2e10c
3f9466a Merge branch 'perf/metrics-batch-thread-first-use' into fix/jul-null-… adinauer Aug 13, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/3f9466a59a380efe03624c0d9e96d72be5f24a37
9c2e78e chore(stack): Merge preceding stack changes adinauer Sep 29, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/9c2e78e5359f181539e1ed78cad5993403d44d82
020d5b8 chore(stack): Merge preceding stack changes adinauer Sep 29, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/020d5b83a70f2bc5cdd72d3496ccd2f7dcc4245e
d45fe8e chore(stack): Merge preceding stack changes adinauer Sep 30, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/d45fe8e37799156cb2cab3986f215eb8d2c3b890
855d289 chore(stack): Merge preceding stack changes adinauer Sep 30, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/855d2896295d1c3f3a4958b310708512e6a44675
8a070f8 fix(jul): Handle null messages with resource bundles adinauer Sep 30, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/8a070f8ba9a10b529106550da4264f8f95e61c6b
1a948e4 chore(stack): Merge preceding stack changes adinauer Oct 9, 2026 https://github.com/getsentry/sentry-java/pull/5960/commits/1a948e4c43d62ac5d9373cd9736cd224db4e0f04
Clear filters https://github.com/getsentry/sentry-java/pull/5960/files
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5960/files
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5960/files
SentryHandler.java https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
SentryHandlerTest.kt https://github.com/getsentry/sentry-java/pull/5960/files#diff-0fe0072c293b954f2577aecedd701f7cb89f958f3a3eab06165b2eae639beff4
sentry-jul/src/main/java/io/sentry/jul/SentryHandler.javahttps://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
View file https://github.com/getsentry/sentry-java/blob/1a948e4c43d62ac5d9373cd9736cd224db4e0f04/sentry-jul/src/main/java/io/sentry/jul/SentryHandler.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-java/pull/5960/{{ revealButtonHref }}
https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5960/files
https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
https://github.com/getsentry/sentry-java/pull/5960/files#diff-c7ee669b435275e23fbeaea571cbfadd025742efd112398bca45c887cc33d415
sentry-jul/src/test/kotlin/io/sentry/jul/SentryHandlerTest.kthttps://github.com/getsentry/sentry-java/pull/5960/files#diff-0fe0072c293b954f2577aecedd701f7cb89f958f3a3eab06165b2eae639beff4
View file https://github.com/getsentry/sentry-java/blob/1a948e4c43d62ac5d9373cd9736cd224db4e0f04/sentry-jul/src/test/kotlin/io/sentry/jul/SentryHandlerTest.kt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-java/pull/5960/{{ revealButtonHref }}
https://github.com/getsentry/sentry-java/pull/5960/files#diff-0fe0072c293b954f2577aecedd701f7cb89f958f3a3eab06165b2eae639beff4
https://github.com/getsentry/sentry-java/pull/5960/files#diff-0fe0072c293b954f2577aecedd701f7cb89f958f3a3eab06165b2eae639beff4
https://github.com/getsentry/sentry-java/pull/5960/files#diff-0fe0072c293b954f2577aecedd701f7cb89f958f3a3eab06165b2eae639beff4
https://github.com/getsentry/sentry-java/pull/5960/files#diff-0fe0072c293b954f2577aecedd701f7cb89f958f3a3eab06165b2eae639beff4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.