Realm Studio: Unable to open a realm... Invalid top array (ref: 34280, size: 11) - realm

Realm is working in my react-native app, (running on iPad simulator). I've found the default.realm file but get the error 'Invalid top array' when trying to open it with Realm Studio. Realm Studio can open the downloaded demo file just fine, but I can't get it to work with my default.realm file for some reason.
I'm a little concerned about the different version numbers. In my project I'm using: "realm": "^4.0.0-beta.0"
However, the newest version of Realm Studio I can find is 3.9.0. I would assume Realm Studio should be 4.something too...
Any advice would be appreciated, this is my first project using Realm, so it may be something obvious that is wrong. I'll gladly provide more info if it could be helpful, but not sure where to begin.

Had this issue with 3.10.0 version.
I think that this issue occurs when you update Realm library version (in my case to 5.0) and still work with the same Realm Studio version (3.10).
So updating Realm Studio to newer version must help.
Interesting thing is that Realm Studio app told me that it was the latest version (3.10) and did not want to update. So I had to manually download the newer one.

I had the exact same issue, with same versions as you describe.
In my case, using Realm Studio 3.9.0 beta 0, helped.

:-) i spent day in this issue thinking something wrong with my code while creating DB.
I think issue was with Realm Studio 3.10.
After updating to Realm Studio Version 3.11.0 (3.11.0.719) Fixed my issue.

Related

Error: error MT: Failed to launch the simulator. MT0069: The app directory doesn't exist

I use in order to develop cross platform application in xamarin forms but I have an issue. I use vs 2015 enterprise. There is a problem, when I simulate my application on iphoneSimulator. I selected "Configuration" mode as Debug and "Platform" mode as IphoneSimulator. In Windows side I use Xamarin.ios 11.2 and macbook side is same xamarin.ios sdk too. And I can connect windows to macbook successfully. I use xcode version 9.2.
When I run my application,
Launch failed. The app 'ADF.XPF.iOS' could not be launched on 'iPhone 5s iOS 11.2'. Error: error MT0069: The app directory '/Users/yazilim/Library/Caches/Xamarin/mtbs/builds/ADF.XPF.iOS/3d07b519b07c870401ed8b5058cf1d91/bin/iPhoneSimulator/Debug/trgovegmmobil.app' does not exist.
Can you help me about it ?
I also met this before.
1.Delete the app in simulator
2.Delete bin,obj folder
3.Run again
This should solve the problem.
I hope this is helpful for somebody.
I had the same problem.
The message says that some folder of the path does not exists, so in my case i went to the MAC and i realized than the folder mtbs was not created.
Solution
Create the missing folder
After that clean, rebuild and launch the application again.
The accepted answer did not work for me. I took a slightly more radical reproach, and re-cloned my entire GitHub repository on my windows machine. I didn't change anything on the mac, and it worked first time.
I had a similar problem, nothing helped until I manually added the Xamarin.Build.Download package version 0.10.0
YourApp.iOS.csproj:
<PackageReference Include = "Xamarin.Build.Download" Version = "0.10.0" />

Native package of JavaFX 8 app with with javafx-maven-plugin on 32-bit Windows fails to load due to MSVCR100.dll missing

I am packaging my app into exe with javafx-maven-plugin. x64 version works well. But then I package x86 version on 32-bit Windows 7 (running in VirtualBox if that's important) with 32-bit JDK 1.8.0_161 and 32-bit Maven. The resulting application installs, but fails to run, claiming that MSVCR100.dll is missing even though it is in the runtime\bin folder. I googled around and found out that this is a JDK bug that was supposedly fixed way back in u40. So why does this still happen?
If I copy that dll manually next to the .exe it starts on one machine (again, in VirtualBox), but for some reason silently crashed on another (real one this time, fresh installation). Found an identical problem in javafx-gradle-plugin issues, though it got resolved when building on newest Win10 version, whereas I'm building on newest Win7.
If I just install Microsoft Visual C++ 2010 Redistributable Package then everything works, obviously, but I don't want user having to do that. So how do I copy .dll with Inno Setup script and how do I figure out the reason behind silent crashing?
I don't think this is related to Windows being 32 bit and it just happens to coincide with your two testing computers. I posted a question that is related here: Failed to find library: jvm.dll. What's going on here?
What you are experiencing is likely a bug on java(fx)packager as described here: https://bugs.openjdk.java.net/browse/JDK-8191176. That bug report claims the bug started on 8u155 and was solved by 8u171 but I am experiencing the bug all the way to the latest 8u172 b03 as I describe here: https://github.com/javafxports/openjdk-jfx/issues/59
I also tried going to 8u144 before the bug existed and I found that building the installer fails because of a missing MSVC dll (surprise! surprise!). I described the problem here: Where/how to get the MSVC dlls Java 1.8.0_144 wants?
There may be another .dll on which MSVCR100.dll depends and which is not present on specific machine.
That is a reason why the Redistributable Package installs everything together.
Try to find another dependencies using http://dependencywalker.com/, it looks like you need more dlls than MSVCR100.dll.
Or simply install Redistributable Package on each machine. Installing it multiple times does not harm any application or system.

Asp.Net Core 2.0 Linux Arm - SQLIte issue

we are currently trying to run asp.net core 2.0 (latest preview) on Linux arm (Raspberry Pi - Ubuntu Mate) and we were able to solve almost all the issues so application works very well.
Not we are trying to run it with SQL Db (Sqlite) and on Windows, everything works fine, we can connect and read the DB but on the linux, we are getting following error:
System.DllNotfoundException: Unable to load DLL 'e_sqlite3': The specified module or one of its dependencies could not be found. (Exception from HRESULT: 0x8007007E).
I think I already tried everything, installed sqlite on linux, but nothing helped.
Any idea what might be wrong?
Thanks a lot
Rado
i changed the library that I used to connect to sqlite to this one
https://www.nuget.org/packages/sqlite-net-pcl/
and then (and not sure why), on linux, i had to take their implementation of SQLite.cs and manually add it to the project.
So for Linux, i had to have that CS included and for windows, i just excluded it so the one which was part of DLL works. Didn't do more investigation, but it works on Windows and Linux as well.
If you need more help just let me know.
https://github.com/oysteinkrog/SQLite.Net-PCL
This file:
https://github.com/praeclarum/sqlite-net/blob/master/src/SQLite.cs
Thanks
Rado
I think we'll have to wait, the issue isn't closed.
UPDATE:
this issue is closed and launched new version. You only need install the last version 1.1.8 of the package SQLitePCLRaw.bundle_green and SQLite in ARM works fine.
I am having the same issue and I after some investigation I think this happens because e_sqlite3.dll for ARM is not (yet) included the SQLitePCLRaw.bundle_green package.
This package contains the dll for different architectures but linux-arm is not yet mentioned in the dependencies (linux, osx and v110xp (win7) are).
We probably have to wait until the .NET Core ARM team adds it properly...

SQLite on Windows Phone problems

I'm developing a SQLite-heavy Windows Phone 8 application and tried to use the latest version, which however seems extremely buggy and randomly fails during INSERT and UPDATE statements with zero-explanation errors (see SQLite 3.8.2 exception on Update statement). For that reason I removed the latest version from the project and entered the one that works correctly.
I published the app to Windows Phone Store after rigorous testing, everything working correctly. However, when it came out, the errors that happened when the newer version was there are happening again. I tested the exact same Release build XAP on my device (via the Deploy tool), and it works perfectly. But after I download the app from Store, once again I get the same issues.
Has someone a way to explain these problems? I repeat, that the exact same XAP that I uploaded I tested and it is working.
EDIT: Additional note - the problems are really random - the same INSERT once works and doesn't another time, although data are valid...
Thank you very much, I'm quite desperate...
The new version of SQLite (3.8.3.1) that was released on 11th April 2014 should resolve any issues, finally :-) . So far I have not encountered the same error again so I suppose it is now fixed.
http://www.sqlite.org/releaselog/3_8_3_1.html

XCode 4.2 is missing the iOS5 SDK for the Simulator

I created an empty Single View application using Xcode 4.2 on OSX Lion 10.7.2 targeting iPhone 5. The project built happily however when launching the simulator I receive the following error message:
iOS Simulator could not find the SDK. The SDK may need to be reinstalled.
I then tried targeting the iPad with the same results. I removed Xcode using the terminal and downloaded a fresh copy from the AppStore. The clean installation generates the exact same error.
It seems that the SDK is not being deployed during installation. Any advice or tips on how I can correctly install the iOS 5 SDK for the simulator to work?
Update
I downloaded the iOS 4.3 simulator which was not installed. The simulator works perfectly if I select the 4.3 SDK but for some reason is not recognizing the folder containing the 5.0 SDK.
Update
I reformatted the MacBook, reloaded a clean OSX Lion without restoring any backups and installed Xcode. Running the simulator directly after the installed worked, however after a reboot and relaunching Xcode the error came back. The SDK itself seems to have been corrupted. Will try and reinstall Xcode again.
After some testing it turns out the problem is caused by a 3rd Party Software. Recently the developer of TotalFinder removed the Asepsis portion of the system and created a separate application for the handling of DS_Store files.
Unfortunately, this breaks the iOS Simulator once installed, and even after uninstalling Asepsis, I needed to rebuild my whole machine to get rid of the error.
Update
BinaryAge is aware of the issue with regards to Xcode 4.2 and it is now listed on the know issues page and a warning banner displayed on the download link.
Final Update
It seems BinaryAge has changed the way Asepsis works and this is no longer an issue with the latest versions.
Did you try "File -> Reset Content and Settings ..." in the simulator ? I also encountered the similar problem, but it worked after I reset the simulator! In fact, I also found it worked after I removed all the existing projects and created new ones, but it occurred again after I restart xcode. Fortunately the "Reset" always works for me and I hope it can be helpful for your case.

Resources