Comments (5)
Hmm, the crash is associated with HTTP requests going to App Services. The error message "Invalid column key" however is an internal crash saying that our association between model class properties and their underlying representation is no longer correct.
This is a bit weird, since Device Sync does not use the OsJavaNetworkTransport
class, it uses its own Websocket connection.
Are you by any chance using Functions? And if yes, are you perhaps writing to the Realm using the result of the function response?
from realm-java.
mmm no I don't think so @cmelchior, we don't write at any time on our app, writes are even set to false on our device sync config, only reads are allowed, all writes are done by the sync SDK internally while syncing.
from realm-java.
Hi @jhonnyinstacart. Could this somehow be related to testing scenarios of upgrading or downgrading the application? The user metadata is stored in an internal realm-file. The schema of this realm changed with 10.17.0, so ex. downgrading from that version to a prior one would require the user to login again, and some scenarios with user/authentication operations could maybe trigger the above error. Can you try to elaborate on the use cases that triggers this?
from realm-java.
I think you might be right @rorbech, thanks for the suggestion, we are still trying to come up with repro steps, no luck just yet, but independently can you guys make a fix for this based on your theory? the SDK should def not crash when upgrading or downgrading 🙏
from realm-java.
Hi @jhonnyinstacart. I have tried replicating your issue by updating and downgrading across 10.16.2 and 10.17.0. Upgrading works, but downgrading is not possible because of an internal check in core that does not work as intended (realm/realm-core#7256). The work around for downgrading would be to delete the metadata Realm in $[SYNC-ROOT-DIRECTORY]/mongodb-realm/[APP-ID]/server-utility/metadata/
as part of the downgrade and would of course require logging in again.
Even with the very unfortunate issue of not being able to downgrade, I cannot provoke you crash, so please gather information on any use case leading up to the crash.
from realm-java.
Related Issues (20)
- Last two releases missing from Maven Central HOT 3
- SEGV_MAPERR crash by RealmFinalizing HOT 2
- kapt plugin throwing error with kotlinx.coroutines 1.7.x HOT 4
- RealmModule definition replaced in the library by definition from the application HOT 3
- Is there a reason RealmTransformerTask isn't cacheable? HOT 4
- Realm sync offline not opening. Realm not behaving like offline-first. Works like online-only HOT 4
- Multiple `@RealmModule`s with same class name can cause erroneous schema definitions HOT 4
- Fix JavaDoc not being uploaded correctly
- Wrong result when using x == NONE {y} HOT 4
- Not Receiving Object Updates HOT 2
- Required SETTINGS preface not received HOT 5
- Reduce SO source file size HOT 1
- * What went wrong: Execution failed for task ':ERemittance:kaptDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) HOT 2
- Update to Core 13.26.0 or later HOT 2
- Devise public API to trigger client reset for a Realm file
- baseUrl Change
- May I ask which example would be better for Android Java project reference? HOT 2
- Model cannot be cast to ModelRealmProxyInterface while using realm jars built from source in Android Project HOT 6
- [realm-core-12.3.0] Assertion failed: false HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-java.