question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TimeoutException - timed out after 10 seconds

See original GitHub issue

I am getting these crashes in Fabric

java.util.concurrent.TimeoutException: io.realm.internal.Context.finalize() timed out after 10 seconds
       at java.lang.Object.equals(Object.java:205)
       at java.util.ArrayList.remove(ArrayList.java:418)
       at io.realm.internal.Context.cleanRows(Context.java:69)
       at io.realm.internal.Context.executeDelayedDisposal(Context.java:61)
       at io.realm.internal.Context.finalize(Context.java:113)
       at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:190)
       at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:173)
       at java.lang.Thread.run(Thread.java:818)
java.util.concurrent.TimeoutException: io.realm.internal.Context.finalize() timed out after 10 seconds
       at java.lang.ref.ReferenceQueue.poll(ReferenceQueue.java:47)
       at io.realm.internal.Context.cleanRows(Context.java:70)
       at io.realm.internal.Context.executeDelayedDisposal(Context.java:61)
       at io.realm.internal.Context.finalize(Context.java:113)
       at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187)
       at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
       at java.lang.Thread.run(Thread.java:841)

What could be causing the timeout? Also I have a try catch block around the realm transaction but the exception is not being caught.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lawloretiennecommented, Aug 17, 2015

When is v 0.83 slated to be released?

0reactions
shingchuncommented, Mar 15, 2018

@Zhuinden Using the Gradle plug-in, it is still there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to handle :java.util.concurrent.TimeoutException: android ...
Broadcast Receivers timeout after 10 seconds. Possibly your doing an asynchronous call (wrong) from a broadcast receiver and 4.3 ...
Read more >
Futures timed out after [10 seconds] · Issue #85 · KarelCemus ...
Alright. If the dispatcher is the solution, it has to be part of the play-redis, not scredis. The timeout would be caused by...
Read more >
Bug: android.media.MediaCodec.finalize() timed out after 10 ...
TimeoutException : android.media.MediaCodec.finalize() timed out after 10 seconds at android.media.MediaCodec.native_finalize(MediaCodec.java)
Read more >
Futures time out [5 seconds] - Google Groups
Exception in thread "main" java.util.concurrent.TimeoutException: Futures timed out after [5 seconds] at scala.concurrent.impl.
Read more >
always 10 seconds will throw the Timeout error - OutSystems
We are using MS SQL. I found the problem, it have a SERVER REQUEST TIME in RUN SERVER ACTION, by default is set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found