Title: [@sentry-internal/browser-utils]: Cannot read properties of null (reading 'apply') · Issue #15552 · getsentry/sentry-javascript · GitHub
Open Graph Title: [@sentry-internal/browser-utils]: Cannot read properties of null (reading 'apply') · Issue #15552 · getsentry/sentry-javascript
X Title: [@sentry-internal/browser-utils]: Cannot read properties of null (reading 'apply') · Issue #15552 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/15552
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[@sentry-internal/browser-utils]: Cannot read properties of null (reading 'apply')","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/angular\n\n### SDK Version\n\n9.2.0\n\n### Framework Version\n\n19.1.7\n\n### Link to Sentry event\n\nhttps://legartis.sentry.io/issues/31731207\n\n### Reproduction Example/SDK Setup\n\n```js\nSentry.init({\n dsn,\n tracePropagationTargets: [ /* OUR SERVICES */ ],\n integrations: [\n Sentry.browserTracingIntegration(),\n Sentry.replayIntegration(),\n ],\n tracesSampleRate: sentryConfig.tracesRate,\n environment: sentryConfig.environment,\n release: sentryConfig.release,\n debug: sentryConfig.debug,\n});\n```\n\n### Steps to Reproduce\n\nNot sure, a customer triggered the internal Sentry error\n\n### Expected Result\n\nThis shouldn't happen\n\n### Actual Result\n\n`Cannot read properties of null (reading 'apply')`\n\n`node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js in History.replaceState:58`\n```js\n...\n from,\n to\n };\n triggerHandlers('history', handlerData);\n }\n return originalHistoryFunction.apply(this, args);\n // ^^^^^^^^^^^^^^^^^^^^^^^\n };\n }\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n...\n```","author":{"url":"https://github.com/TheDevMinerTV","@type":"Person","name":"TheDevMinerTV"},"datePublished":"2025-03-03T09:42:24Z","url":"https://github.com/getsentry/sentry-javascript/issues/15552"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2c2f28fd-9d53-f984-a9b4-7e20a1554681 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2B0:2A9750:5C52B:805D4:6B042C33 |
| html-safe-nonce | 35fbc493de2710d055c4d6b97d602ee023b8aa2f2038510efb2e2e832861541c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkIwOjJBOTc1MDo1QzUyQjo4MDVENDo2QjA0MkMzMyIsInZpc2l0b3JfaWQiOiI2NzA3MDQ4MzI4ODI1NDE2NzU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 17851c4f7b7e03f85ca00caef57e2960ef4aca32d5f585f7522821be5702a9f2 |
| hovercard-subject-tag | issue:2890695381 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/15552/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62811f2909405cc04840124991b96132f500014d5c4ecc7dbb8449cd5c919b9b/getsentry/sentry-javascript/issues/15552 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62811f2909405cc04840124991b96132f500014d5c4ecc7dbb8449cd5c919b9b/getsentry/sentry-javascript/issues/15552 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheDevMinerTV |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width