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

Fatal Exception: java.lang.IllegalStateException Recording currently in progress - missing #endRecording() call? #2078

Open
leedawonswing opened this issue Jun 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@leedawonswing
Copy link

Describe the bug

Fatal Exception: java.lang.IllegalStateException
Recording currently in progress - missing #endRecording() call?

After updating to version 2.10.0, an issue is posted in Firebase Crashlytics.

Reproduction steps

Fatal Exception: java.lang.IllegalStateException
Recording currently in progress - missing #endRecording() call?
android.graphics.RenderNode.beginRecording (RenderNode.java:446)
android.graphics.RenderNode.beginRecording (RenderNode.java:465)
androidx.compose.ui.graphics.layer.GraphicsLayerV29.record (GraphicsLayerV29.android.kt:225)
androidx.compose.ui.graphics.layer.GraphicsLayer.recordInternal (AndroidGraphicsLayer.android.kt:432)
androidx.compose.ui.graphics.layer.GraphicsLayer.record-mL-hObY (AndroidGraphicsLayer.android.kt:425)
androidx.compose.ui.platform.GraphicsLayerOwnerLayer.updateDisplayList (GraphicsLayerOwnerLayer.android.kt:237)
androidx.compose.ui.platform.AndroidComposeView.dispatchDraw (AndroidComposeView.android.kt:1544)
android.view.View.draw (View.java:25180)
android.view.View.updateDisplayListIfDirty (View.java:24036)
android.view.View.draw (View.java:24907)
android.view.ViewGroup.drawChild (ViewGroup.java:4780)
android.view.ViewGroup.dispatchDraw (ViewGroup.java:4538)
android.view.View.updateDisplayListIfDirty (View.java:24022)
android.view.View.draw (View.java:24907)
android.view.ViewGroup.drawChild (ViewGroup.java:4780)
android.view.ViewGroup.dispatchDraw (ViewGroup.java:4538)
androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw (ConstraintLayout.java:1994)
android.view.View.updateDisplayListIfDirty (View.java:24022)
android.view.View.draw (View.java:24907)
android.view.ViewGroup.drawChild (ViewGroup.java:4780)
androidx.fragment.app.FragmentContainerView.drawChild (FragmentContainerView.kt:240)
android.view.ViewGroup.dispatchDraw (ViewGroup.java:4538)
androidx.fragment.app.FragmentContainerView.dispatchDraw (FragmentContainerView.kt:230)

Logcat logs

No response

Expected behavior

No response

Affected SDK versions

2.10.0

Latest working SDK version

2.10.0

Did you confirm if the latest SDK version fixes the bug?

Yes

Kotlin / Java version

No response

Gradle / AGP version

No response

Other dependencies versions

No response

Device Information

No response

Other relevant information

No response

@leedawonswing leedawonswing added the bug Something isn't working label Jun 11, 2024
@mariusc83
Copy link
Collaborator

mariusc83 commented Jun 11, 2024

Hi @leedawonswing , thank you for taking the time to report it. We will have a look on our end but in the meantime can you please give us more information :

  1. Are you using the Datadog Session Replay feature ?
  2. How often this happens ?
  3. Can you reproduce the issue on your end ? In that case can you try to reproduce it with and without session replay feature and tell us the outcome ? With and without Datadog SDK enabled ? Any particular (custom layout) you are using in your application ?
  4. Any other extra detail that could help us reproducing the issue on our end will be great.

FYI that stacktrace does not contain any datadog line inside so we are wondering if this could not be something outside of Datadog SDK that's causing it ?

Thanks !!

@mariusc83 mariusc83 self-assigned this Jun 11, 2024
@Im-Tae
Copy link

Im-Tae commented Jun 12, 2024

  1. yes, we are using the Datadog Session Replay, Rum, Trace.
  2. It happened after uploaded the version. 2.2.0 -> 2.10.0.
  3. It's not being reproduced, so I'll check it out and let you know later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants