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.

Can't commit a non-existing write transaction in /home/cc/repo/realm/release/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 260

See original GitHub issue

We LOVE to help with any issues or bug you have!

Questions: If you have questions about how to use Realm, please ask on SO - we monitor the Realm tag.

Feature Request: Just fill in the first two sections below.

Bugs: To help you as fast as possible with an issue or bug please describe your issue and the steps you have taken to reproduce it in as many details as possible.

Thanks for helping us help you 😃

Remove this and above before submitting.

Goal

What do you want to achieve?

Expected Results

?

Actual Results

E.g. full stack trace with exception

Steps & Code to Reproduce

Describe your current debugging efforts.

Code Sample


> Your code here. Bigger samples should ideally be as separate Android Studio project, 
> in gists/repositories or privately at help@realm.io)

Version of Realm and tooling

Realm version(s): ?

Realm sync feature enabled: yes/no

Android Studio version: ?

Which Android version and device: ?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
Zhuindencommented, Jun 15, 2017

@mengyaCS well it basically says you are calling realm.commitTransaction() without calling realm.beginTransaction().

1reaction
bmeikecommented, Jun 15, 2017

Why not? Cut us a break here?

Could you please fill out the template with a couple of bits of important information: the version of Realm you are using, whether sync is enabled, the Android device and version on which the problem occurs? Any suggestions about how to reproduce the issue.

This information will give us a much better chance of finding and fixing the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't commit a non-existing write transaction - Stack Overflow
You cannot commit a write transaction because you did not start one. Either start a write transaction or delete the commitWrite line.
Read more >
13.3.1 START TRANSACTION, COMMIT, and ROLLBACK ...
COMMIT commits the current transaction, making its changes permanent. ... You cannot use ROLLBACK to undo the effect; however, if an error occurs...
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