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

FileNotFoundException /data/xxx/sentry/xxx/replay_x/.ongoing_segment: open failed: ENOENT (No such file or directory) #4498

Closed
simonwh opened this issue Feb 1, 2025 · 1 comment · Fixed by getsentry/sentry-java#4135

Comments

@simonwh
Copy link

simonwh commented Feb 1, 2025

What React Native libraries do you use?

Expo (mobile only), Hermes

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

6.5.0

How does your development environment look like?

"expo": "^51.0.0",
"react-native": "~0.75.0"
"react": "18.2.0",

hermesEnabled: true

Sentry.init()

"expo": "^51.0.0",
"react-native": "~0.75.0"
"react": "18.2.0",

Sentry.init({
  enabled: ENV.APP_VARIANT !== 'development',
  dsn: ENV.SENTRY_DSN,
  debug: false,
  attachStacktrace: true,
  enableAutoSessionTracking: true,
  attachViewHierarchy: true,
  environment: ENV.APP_VARIANT,
  tracesSampleRate: 1.0,
  enableNdkScopeSync: true,
  _experiments: {
    profilesSampleRate: 1.0,
    replaysSessionSampleRate: 1.0,
    replaysOnErrorSampleRate: 1.0,
  },
  enableAppHangTracking: true,
  appHangTimeoutInterval: 10,
  enableAutoPerformanceTracing: true,
  enableTracing: true,
  enableCaptureFailedRequests: true,
  enableWatchdogTerminationTracking: true,
  integrations: [
    Sentry.breadcrumbsIntegration(DEV_BREADCRUMBS_CONFIG),
    navigationIntegration,
    Sentry.mobileReplayIntegration({
      maskAllText: false,
      maskAllImages: false,
      maskAllVectors: false,
    }),
  ].filter((i) => i !== null) as Integration[],
});

Steps to Reproduce

Cannot reproduce locally, but I see the errors coming in continuously in Sentry.

Expected Result

No exceptions thrown

Actual Result

FileNotFoundException thrown and unhandled. Shows in our Sentry monitoring.

Seems to be happening only on Android.

Image

@romtsn
Copy link
Member

romtsn commented Feb 3, 2025

hi @simonwh thanks for reporting the issue! We're working on the fix as we speak, it should be out this week, stay tuned! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants