René's URL Explorer Experiment


Title: Avoid NPEs from SDK in API like setTag, setData, setContext by adinauer · Pull Request #4245 · getsentry/sentry-java · GitHub

Open Graph Title: Avoid NPEs from SDK in API like setTag, setData, setContext by adinauer · Pull Request #4245 · getsentry/sentry-java

X Title: Avoid NPEs from SDK in API like setTag, setData, setContext by adinauer · Pull Request #4245 · getsentry/sentry-java

Description: A Sentry SDK for Java, Android and other JVM languages. - Avoid NPEs from SDK in API like setTag, setData, setContext by adinauer · Pull Request #4245 · getsentry/sentry-java

Open Graph Description: 📜 Description Using the SDK and having to guard against null is not a nice experience. Instead the SDK now tries to do the right thing when it receives null on APIs like setTag, setData, setContex...

X Description: 📜 Description Using the SDK and having to guard against null is not a nice experience. Instead the SDK now tries to do the right thing when it receives null on APIs like setTag, setData, setContex...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4240ab2e-bc08-917c-d163-b300331fa441
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id988C:436BB:34F9A9:48D929:6B046BE6
html-safe-nonce525185a616449cec2fffa93b094a71537dd355a237553b75bfce8e28b0fd6a58
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODhDOjQzNkJCOjM0RjlBOTo0OEQ5Mjk6NkIwNDZCRTYiLCJ2aXNpdG9yX2lkIjoiODE2NTEyNjkxMDg5OTkyNjc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac70b3b4632ab1d6a4a18f4166523922fc7c2a3bf7d2cfb84692505d166c21e6a5
hovercard-subject-tagpull_request:2382596522
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-java/4245/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/59ccec6cc5ff013dfea4e1b4a80f4f089c1eb78430c418d206b801e00c29e13b/getsentry/sentry-java/pull/4245
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59ccec6cc5ff013dfea4e1b4a80f4f089c1eb78430c418d206b801e00c29e13b/getsentry/sentry-java/pull/4245
og:image:alt📜 Description Using the SDK and having to guard against null is not a nice experience. Instead the SDK now tries to do the right thing when it receives null on APIs like setTag, setData, setContex...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadinauer
hostnamegithub.com
expected-hostnamegithub.com
None83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseca4d07a7cef4e4b75f821dc25e7300d80c1450a9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/pull/4245#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F4245
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%2F4245
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/pull/4245
Reloadhttps://github.com/getsentry/sentry-java/pull/4245
Reloadhttps://github.com/getsentry/sentry-java/pull/4245
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
https://github.com/getsentry/sentry-java
adinauerhttps://github.com/adinauer
mainhttps://github.com/getsentry/sentry-java/tree/main
fix/fewer-npeshttps://github.com/getsentry/sentry-java/tree/fix/fewer-npes
Conversationhttps://github.com/getsentry/sentry-java/pull/4245
Commits8 (8)https://github.com/getsentry/sentry-java/pull/4245/commits
Checkshttps://github.com/getsentry/sentry-java/pull/4245/checks
Files changedhttps://github.com/getsentry/sentry-java/pull/4245/files
Avoid NPEs from SDK in API like setTag, setData, setContexthttps://github.com/getsentry/sentry-java/pull/4245#top
adinauerhttps://github.com/adinauer
mainhttps://github.com/getsentry/sentry-java/tree/main
fix/fewer-npeshttps://github.com/getsentry/sentry-java/tree/fix/fewer-npes
https://github.com/adinauer
adinauerhttps://github.com/adinauer
Mar 10, 2025https://github.com/getsentry/sentry-java/pull/4245#issue-2907629552
#4224https://github.com/getsentry/sentry-java/issues/4224
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
https://github.com/adinauer
Avoid NPEs from SDK in API like setTag, setData, setContexthttps://github.com/getsentry/sentry-java/pull/4245/commits/6fdd4e7bbc362c0c5b6792cc3e05eec627658f56
6fdd4e7https://github.com/getsentry/sentry-java/pull/4245/commits/6fdd4e7bbc362c0c5b6792cc3e05eec627658f56
https://github.com/adinauer
adinauerhttps://github.com/adinauer
lcianhttps://github.com/lcian
markushihttps://github.com/markushi
romtsnhttps://github.com/romtsn
stefanosianohttps://github.com/stefanosiano
code ownershttps://github.com/getsentry/sentry-java/blob/7074d0b5b54d5478d6d12b6a744af3e9736b014f/.github/CODEOWNERS#L1
March 10, 2025 15:19https://github.com/getsentry/sentry-java/pull/4245#event-16656903563
https://github.com/adinauer
changeloghttps://github.com/getsentry/sentry-java/pull/4245/commits/bea2af6d084c99109b800b46ed4a8b5e004363e2
bea2af6https://github.com/getsentry/sentry-java/pull/4245/commits/bea2af6d084c99109b800b46ed4a8b5e004363e2
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 10, 2025https://github.com/getsentry/sentry-java/pull/4245#issuecomment-2710987703
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
e24a560https://github.com/getsentry/sentry-java/commit/e24a5607165e6aed17f01b7a0a012b63c7d466eb
e24a560https://github.com/getsentry/sentry-java/commit/e24a5607165e6aed17f01b7a0a012b63c7d466eb
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
https://github.com/lcian
lcianhttps://github.com/lcian
Mar 11, 2025 https://github.com/getsentry/sentry-java/pull/4245#pullrequestreview-2673839304
View reviewed changes https://github.com/getsentry/sentry-java/pull/4245/files/bea2af6d084c99109b800b46ed4a8b5e004363e2
sentry/src/main/java/io/sentry/SentryTracer.javahttps://github.com/getsentry/sentry-java/pull/4245/files/bea2af6d084c99109b800b46ed4a8b5e004363e2#diff-8bb325ca6fc9666c24826415b357d8e76a34cb455edc5709dd962bdcd34c6f16
lcianhttps://github.com/lcian
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#discussion_r1988924364
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
adinauerhttps://github.com/adinauer
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#discussion_r1989040678
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
sentry/src/main/java/io/sentry/Scope.javahttps://github.com/getsentry/sentry-java/pull/4245/files/bea2af6d084c99109b800b46ed4a8b5e004363e2#diff-9cb115b44ee4c6940b189c33ba24e7b6a168271eefc02f6c0d6c053e75da94c5
lcianhttps://github.com/lcian
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#discussion_r1988987553
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
lcianhttps://github.com/lcian
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#discussion_r1988991454
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
adinauerhttps://github.com/adinauer
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#discussion_r1989043063
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
adinauerhttps://github.com/adinauer
March 11, 2025 12:37https://github.com/getsentry/sentry-java/pull/4245#commits-pushed-4d59c40
https://github.com/adinauer
revert unintentional changehttps://github.com/getsentry/sentry-java/pull/4245/commits/4d59c40bbe0b166650ee44a293ac3a5c971296aa
4d59c40https://github.com/getsentry/sentry-java/pull/4245/commits/4d59c40bbe0b166650ee44a293ac3a5c971296aa
https://github.com/adinauer
Merge branch 'main' into fix/fewer-npeshttps://github.com/getsentry/sentry-java/pull/4245/commits/13cb0b56a448f6c8d40f6094c780be75f0288677
13cb0b5https://github.com/getsentry/sentry-java/pull/4245/commits/13cb0b56a448f6c8d40f6094c780be75f0288677
https://github.com/adinauer
adinauerhttps://github.com/adinauer
Mar 11, 2025 https://github.com/getsentry/sentry-java/pull/4245#pullrequestreview-2674077533
View reviewed changes https://github.com/getsentry/sentry-java/pull/4245/files/13cb0b56a448f6c8d40f6094c780be75f0288677
CHANGELOG.mdhttps://github.com/getsentry/sentry-java/pull/4245/files/13cb0b56a448f6c8d40f6094c780be75f0288677#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
adinauerhttps://github.com/adinauer
March 11, 2025 12:39https://github.com/getsentry/sentry-java/pull/4245#commits-pushed-3a0a0f1
https://github.com/adinauer
Update CHANGELOG.mdhttps://github.com/getsentry/sentry-java/pull/4245/commits/3a0a0f1692ca534ffdec54b91a790e46a9feeec5
3a0a0f1https://github.com/getsentry/sentry-java/pull/4245/commits/3a0a0f1692ca534ffdec54b91a790e46a9feeec5
https://github.com/adinauer
Merge branch 'main' into fix/fewer-npeshttps://github.com/getsentry/sentry-java/pull/4245/commits/c808f02f0d63ecac8cf88d94f6ae570e90eb9c11
c808f02https://github.com/getsentry/sentry-java/pull/4245/commits/c808f02f0d63ecac8cf88d94f6ae570e90eb9c11
https://github.com/lcian
lcianhttps://github.com/lcian
Mar 11, 2025 https://github.com/getsentry/sentry-java/pull/4245#pullrequestreview-2674421122
View reviewed changes https://github.com/getsentry/sentry-java/pull/4245/files/c808f02f0d63ecac8cf88d94f6ae570e90eb9c11
lcianhttps://github.com/lcian
https://github.com/getsentry/sentry-java/pull/4245#pullrequestreview-2674421122
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
https://github.com/lcian
lcianhttps://github.com/lcian
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#issuecomment-2714157454
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
ac9ebcdhttps://github.com/getsentry/sentry-java/commit/ac9ebcd37106e31ac787798e8dbf980e45741fc9
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
https://github.com/adinauer
set timeouts for okhttp in system testshttps://github.com/getsentry/sentry-java/pull/4245/commits/b1f470420340ec80cca03dc34631055c85546990
b1f4704https://github.com/getsentry/sentry-java/pull/4245/commits/b1f470420340ec80cca03dc34631055c85546990
https://github.com/adinauer
adinauerhttps://github.com/adinauer
Mar 11, 2025https://github.com/getsentry/sentry-java/pull/4245#issuecomment-2714193349
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
https://github.com/adinauer
bump timeouthttps://github.com/getsentry/sentry-java/pull/4245/commits/5662ceb545acb95b71381a701d4a57264481bd85
5662cebhttps://github.com/getsentry/sentry-java/pull/4245/commits/5662ceb545acb95b71381a701d4a57264481bd85
https://github.com/adinauer
adinauerhttps://github.com/adinauer
21a214bhttps://github.com/getsentry/sentry-java/commit/21a214bec3d545c66ecf8c61446aa0aa8f34c625
Mar 12, 2025https://github.com/getsentry/sentry-java/pull/4245#event-16705169950
https://github.com/adinauer
adinauerhttps://github.com/adinauer
March 12, 2025 05:32https://github.com/getsentry/sentry-java/pull/4245#event-16705170243
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 30, 2026 https://github.com/getsentry/sentry-java/pull/4245#ref-pullrequest-4776367062
chore: Add org slug and project ref as tags to the Sentry data supabase/supabase#47442 https://github.com/supabase/supabase/pull/47442
https://github.co/hiddenchars
https://github.com/getsentry/sentry-java/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F4245
https://github.com/lcian
lcian https://github.com/lcian
https://github.com/getsentry/sentry-java/pull/4245/files/c808f02f0d63ecac8cf88d94f6ae570e90eb9c11
https://github.com/romtsn
romtsn https://github.com/romtsn
https://github.com/stefanosiano
stefanosiano https://github.com/stefanosiano
https://github.com/markushi
markushi https://github.com/markushi
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
Span.setData / Transaction.setData cause NullPointerException https://github.com/getsentry/sentry-java/issues/4224
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/4245
https://github.com/adinauer
https://github.com/lcian
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.