Code Monkey home page Code Monkey logo

stetho-realm's People

Contributors

esmasui avatar zaki50 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stetho-realm's Issues

Problem with custom name of the database

Hi,
@zaki50 I have problem when I use custom name of the database.

Realm.init(this);
RealmConfiguration config = new RealmConfiguration.Builder()
                .name(Constants.REALM_DATABASE_NAME)
                .schemaVersion(4)
                .migration(new MyMigration())
                .build(); 

Stetho show two database: default and my, but both are empty (don't show tabels structure).

zrzut ekranu 2016-10-05 o 13 27 52 1
__

When I remove name() method form my config everything is ok. I can preview my database.
I use:
stethoVersion = '1.4.1'
realmStethoVersion = '2.0.0'
realm = '2.0.1'

Stetho show a same result to both processes

hi, i use a realm to my lockscreen app. before the start, i'm sorry to my english is not good T-T.

my app have a 2 process, app process and another process(it has a different app process id).
the problem when using stetho, it show same result to both app process and another process.

I write a data to ream. my app process update realm database and this update don't effect my another process realm database(i guess why it is forked. so once it was copy once when another process was created). so it's ok. natural. but i use a stetho, it show same result, althought anther process's realm db is not changed.

i hope that u can understand what i say :)

Integration to React Native

Hello.

Does anybody know how to make it work on React Native?

I've got an error:

\MainApplication.java:44: error: cannot find symbol
Realm.init(this);
^
symbol: variable Realm
location: class MainApplication

Thanks

Realm database is empty

Hello.

Thank you for your plugin. I am trying to use it. I see my database but the base is empty although I have a data (4 realm object classes and data in them)?
chrome

Fatal exception when a Realm database expands in Chrome

compile 'com.facebook.stetho:stetho:1.4.1'
compile 'com.uphyca:stetho_realm:2.0.0'

Stetho.initialize(
                Stetho.newInitializerBuilder(this)
                        .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
                        .enableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
                        .build());

Chrome message: "Detached from target"

LogCat:

java.lang.NoSuchMethodError: io.realm.RealmConfiguration$Builder.<init>
 at com.uphyca.stetho_realm.RealmPeerManager.openSharedRealm(RealmPeerManager.java:135)
 at com.uphyca.stetho_realm.RealmPeerManager.openSharedRealm(RealmPeerManager.java:128)
 at com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:55)
 at com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:124)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:515)
 at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
 at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
 at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
 at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
 at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
 at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
 at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
 at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44)
 at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
 at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117)
 at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83)
 at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84)
 at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61)
 at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52)
 at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63)
 at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33)
 at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36)
 at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)

Limited View on Tables

First of all: Thanks for the plugin! Awesome for Linux users who dont have the RealmBrowser :)

This may not be an issue on your side (I dont know the implementations), but if you have a huge table saved in realm than the view in stetho which lets you browse through that table stops after 250 entries and then prints a line with column-values of "truncated".

Is there a way to browser everything in that table?

Working Configuration....

The documentation on the readme file results is not working. Here's the "config" that I use and works.


import android.app.Application;
import android.content.Context;
import com.facebook.stetho.Stetho;
import com.uphyca.stetho_realm.RealmInspectorModulesProvider;
import io.realm.Realm;
import io.realm.RealmConfiguration;
import java.util.regex.Pattern;

public class BaseApplication extends Application {
  @Override public void onCreate() {
    super.onCreate();

    initializeStetho(this);

    //------ init the db ----------------
    RealmConfiguration config = new RealmConfiguration.Builder(this).deleteRealmIfMigrationNeeded().name("TheDb.realm").build();
    Realm.setDefaultConfiguration(config);
  }

  private void initializeStetho(final Context context) {

    Stetho.initialize(Stetho.newInitializerBuilder(context)
        .enableDumpapp(Stetho.defaultDumperPluginsProvider(context))
        .enableWebKitInspector(RealmInspectorModulesProvider.builder(context)
            .withDescendingOrder()
            .withLimit(1000)
            .databaseNamePattern(Pattern.compile(".+\\.realm"))
            .build())
        .build());
  }
}

Query not working

Hello ,
I tried to do query like "select * from class_University;" but there is no returned result.

Any help ?

Crash when selecting certain tables in Realm 0.82.1

I've added Stetho and this library as in the instructions. When selecting certain tables in the Chrome inspector, they display fine, but others cause a crash with the stack trace below.

The tables that cause a crash and the tables that don't are pretty similar. Both have String IDs and have Realm relationships. It seems (not sure) that the tables that cause a crash have a field that is a number or a date.

FATAL EXCEPTION: StethoWorker40
    Process: com.example.example, PID: 13803
    java.lang.IllegalArgumentException: Illegal Argument: ColumnType invalid.
            at io.realm.internal.CheckedRow.nativeGetLong(Native Method)
            at io.realm.internal.UncheckedRow.getLong(UncheckedRow.java:109)
            at com.uphyca.stetho_realm.Database$RowWrapper_0_81.getLink(Database.java:595)
            at com.uphyca.stetho_realm.Database.flattenRows(Database.java:204)
            at com.uphyca.stetho_realm.Database.access$300(Database.java:37)
            at com.uphyca.stetho_realm.Database$1.handleSelect(Database.java:121)
            at com.uphyca.stetho_realm.Database$1.handleSelect(Database.java:101)
            at com.uphyca.stetho_realm.RealmPeerManager.executeSQL(RealmPeerManager.java:123)
            at com.uphyca.stetho_realm.Database.executeSQL(Database.java:100)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
            at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
            at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
            at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
            at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
            at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
            at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
            at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:46)
            at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
            at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:154)
            at com.facebook.stetho.websocket.WebSocketHandler.handleSecured(WebSocketHandler.java:106)
            at com.facebook.stetho.server.SecureHttpRequestHandler.handle(SecureHttpRequestHandler.java:52)
            at org.apache.http.protocol.HttpService.doService(HttpService.java:248)
            at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:192)
            at com.facebook.stetho.server.LocalSocketHttpServer$WorkerThread.run(LocalSocketHttpServer.java:233)

I do not see my app in chrome://inspect/#devices

I do not see my app in chrome://inspect/#devices

dependencies:

compile 'com.facebook.stetho:stetho:1.3.1'
compile 'com.uphyca:stetho_realm:0.9.0'
classpath 'io.realm:realm-gradle-plugin:1.0.0'

my code:

Stetho.initialize(
Stetho.newInitializerBuilder(this)
.enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
.enableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
.build());

stetho realm not working

i use realm-0.84.1

Stetho.initialize(
Stetho.newInitializerBuilder(this)
.enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
.enableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
.build());

D/ChromeDevtoolsServer: onOpen
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.canEmulate
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Console.setTracingBasedTimeline
I/ResponseBodyFileManager: Cleaned up temporary network files.
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Debugger.setAsyncCallStackDepth
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Debugger.skipStackFrames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Runtime.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Timeline.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.setAutoconnectToWorkers
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: ApplicationCache.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: ApplicationCache.getFramesWithManifests

jitpack build of stetho-realm fails because of javadoc formatting

https://jitpack.io/#uPhyca/stetho-realm
https://jitpack.io/com/github/uPhyca/stetho-realm/v2.0.0/build.log

:stetho_realm:releaseAndroidJavadocsPicked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
/home/jitpack/build/stetho_realm/src/main/java/com/uphyca/stetho_realm/RealmInspectorModulesProvider.java:19: error: self-closing element not allowed
 * <p/>
   ^
/home/jitpack/build/stetho_realm/src/main/java/com/uphyca/stetho_realm/RealmInspectorModulesProvider.java:23: error: self-closing element not allowed
 * <p/>
   ^
/home/jitpack/build/stetho_realm/src/main/java/com/uphyca/stetho_realm/RealmInspectorModulesProvider.java:23: warning: empty <p> tag
 * <p/>
   ^
/home/jitpack/build/stetho_realm/src/main/java/com/uphyca/stetho_realm/RealmInspectorModulesProvider.java:31: error: self-closing element not allowed
 * <p/>

stetho-realm can't debug realm

I can't debug realm using stetho-realm
Web SQL - Empty

capture

My build.gradle:

buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
    classpath 'io.fabric.tools:gradle:1.+'
}

}

apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'io.fabric'
apply plugin: 'realm-android'

repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' }
}

dependencies {
...
compile 'com.facebook.stetho:stetho:1.3.1'
compile 'com.uphyca:stetho_realm:0.9.0'
compile 'com.facebook.stetho:stetho-okhttp3:1.3.1'
}

MyApplication:
public void onCreate() {
super.onCreate();
configureJobManager();
TwitterAuthConfig authConfig = new TwitterAuthConfig(TWITTER_KEY, TWITTER_SECRET);
// Set up Crashlytics, disabled for debug builds
Crashlytics crashlyticsKit = new Crashlytics.Builder()
.core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build())
.build();
Fabric.with(this, crashlyticsKit, new TwitterCore(authConfig), new Digits());

    Stetho.initialize(
            Stetho.newInitializerBuilder(this)
                    .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
                    .enableWebKitInspector(RealmInspectorModulesProvider.builder(this)
                            .build())
                    .build());
}

Cant sync gradle,Error:Could not HEAD to the Url,Received status code 503 from server: first byte timeout

I want to grab stetho-realm via Gradle in Android Studio.
Here is my Gradle code

allprojects {
    repositories {
        maven {
            url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
        }
        jcenter()
    }
}
dependencies {
    compile 'com.facebook.stetho:stetho:1.4.1'
    compile 'com.uphyca:stetho_realm:2.0.0'
   //here along with my other dependecies
}

But when I sync the Gradle it show me this error
git

I even tried to adding maven and the url in my repositories,it show me this error
git

But I test just only stetho,it sync successfully.
compile 'com.facebook.stetho:stetho:1.4.1'

I havent do anything else,but can I know how to solve this??

Is it possible to display SqlLite content along with Realm?

In my project, I'm using both Realm and Sqllite. To display Realm's content I have to use:

Stetho.
    Stetho.newInitializerBuilder(this)
        .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
        .enableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
        .build());

Hovewer, to display SqlLite content, I have to replace it with:

Stetho.initializeWithDefaults(this);

Is it possible to inspect data from both engines at the same time?

java.lang.NoClassDefFoundError: io.realm.internal.LinkView

Got this error using Realm 3.7.1:

java.lang.NoClassDefFoundError: io.realm.internal.LinkView
at libcore.reflect.InternalNames.getClass(InternalNames.java:55)
at java.lang.Class.getDexCacheType(Class.java:2551)
at java.lang.reflect.AbstractMethod.getParameterTypes(AbstractMethod.java:169)
at java.lang.reflect.Method.getParameterTypes(Method.java:193)
at java.lang.Class.getDeclaredMethods(Class.java:1812)
at com.facebook.stetho.inspector.MethodDispatcher.buildDispatchTable(MethodDispatcher.java:115)
at com.facebook.stetho.inspector.MethodDispatcher.findMethodDispatcher(MethodDispatcher.java:53)
at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:60)
at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44)
at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117)
at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83)
at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84)
at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61)
at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52)
at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63)
at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33)
at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36)
at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)

Looks similar to this #34. Reverting back to 3.5.0 works fine

Error:Could not find com.uphyca:stetho_realm:0.9.0

I set up this
maven {url "https://github.com/uPhyca/stetho-realm/raw/master/maven-repo"}

And this
compile 'com.facebook.stetho:stetho:1.3.1' compile 'com.uphyca:stetho_realm:0.9.0'

Am I missing something? Thanks a lot for any assistance,

Seems like steho is not refreshing when device state is changed

hi. What I'm doing wrong? Once I opened my app, there are some table visible to me. Now, there are no tables and Steho thinks that I'm till on the previous app, while I'm on another. Also, there is a weird error I see every time I open my app:
Could not start Stetho server: main

NoClassDef found for io.realm.internal.SharedGroup class

Realm 2.0.0 Update may have removed this class. Unable to use this library to check the Realm database.

This is the stack trace:
ERR: stack=java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/internal/SharedGroup;
at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:145)
at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:134)
at com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:57)
at com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:125)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44)
at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117)
at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83)
at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84)
at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61)
at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52)
at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63)
at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33)
at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36)
at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)
Caused by: java.lang.ClassNotFoundException: Didn't find class "io.realm.internal.SharedGroup" on path

Remote Debugging has been terminated with reason: Connection lost. at runtime

I am trying to get categories with this code in my MainActivity class


Realm.init(this);
Realm realm = Realm.getDefaultInstance();
RealmQuery<Category> query = realm.where(Category.class);
RealmResults<Category> categories = query.findAll();

LomiFragmentStatePagerAdapter adapter = new LomiFragmentStatePagerAdapter(getSupportFragmentManager(), categories);
myPager.setAdapter(adapter);

After launching inspect my device from chrome://inspect and trying to expand default.realm under Web SQL it throws error:

Detached from the target
Remote debugging has been terminated with reason: Connection lost.
Please re-attach to the new target.

And the application fails.
The application does not normally fail otherwise.

Here is the stack trace from Android Monitor:

09-29 16:23:43.739 30536-9683/com.a360ground.lomibooksrecycler E/AndroidRuntime: FATAL EXCEPTION: StethoWorker-main-938
                                                                                 Process: com.a360ground.lomibooksrecycler, PID: 30536
                                                                                 java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/internal/SharedGroup;
                                                                                     at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:145)
                                                                                     at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:134)
                                                                                     at com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:57)
                                                                                     at com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:125)
                                                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                                                     at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
                                                                                     at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
                                                                                     at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
                                                                                     at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
                                                                                     at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
                                                                                     at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
                                                                                     at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
                                                                                     at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44)
                                                                                     at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
                                                                                     at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117)
                                                                                     at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83)
                                                                                     at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84)
                                                                                     at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61)
                                                                                     at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52)
                                                                                     at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63)
                                                                                     at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33)
                                                                                     at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36)
                                                                                     at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)
                                                                                  Caused by: java.lang.ClassNotFoundException: Didn't find class "io.realm.internal.SharedGroup" on path: DexPathList[[zip file "/data/app/com.a360ground.lomibooksrecycler-2/base.apk"],nativeLibraryDirectories=[/data/app/com.a360ground.lomibooksrecycler-2/lib/x86, /data/app/com.a360ground.lomibooksrecycler-2/base.apk!/lib/x86, /vendor/lib, /system/lib]]
                                                                                     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                                                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
                                                                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
                                                                                     at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:145) 
                                                                                     at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:134) 
                                                                                     at com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:57) 
                                                                                     at com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:125) 
                                                                                     at java.lang.reflect.Method.invoke(Native Method) 
                                                                                     at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96) 
                                                                                     at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67) 
                                                                                     at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129) 
                                                                                     at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111) 
                                                                                     at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87) 
                                                                                     at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176) 
                                                                                     at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136) 
                                                                                     at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44) 
                                                                                     at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45) 
                                                                                     at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117) 
                                                                                     at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83) 
                                                                                     at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84) 
                                                                                     at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61) 
                                                                                     at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52) 
                                                                                     at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63) 
                                                                                     at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33) 
                                                                                     at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36) 
                                                                                     at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167) 
                                                                                    Suppressed: java.lang.ClassNotFoundException: io.realm.internal.SharedGroup
                                                                                     at java.lang.Class.classForName(Native Method)
                                                                                     at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
                                                                                     at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
                                                                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                                                                                            ... 24 more
                                                                                  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
09-29 16:23:44.203 30536-9840/com.a360ground.lomibooksrecycler E/Surface: getSlotFromBufferLocked: unknown buffer: 0xae434410
09-29 16:23:44.771 30536-30536/com.a360ground.lomibooksrecycler E/ChromeDevtoolsServer: onError: ex=java.io.IOException: socket closed

Not compatible with realm 2.0.0

Yesterday, a new version of Realm was released: https://realm.io/news/realm-java-2-0-mobile-platform-support/

This is not compatible and crashes the app. Stacktrace:

FATAL EXCEPTION: StethoWorker-main-206
java.lang.NoClassDefFoundError: io.realm.internal.SharedGroup
   at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:145)
   at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:134)
   at com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:57)
   at com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:125)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
   at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
   at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
   at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
   at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
   at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
   at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
   at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44)
   at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
   at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117)
   at com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83)
   at com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84)
   at com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61)
   at com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52)
   at com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63)
   at com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33)
   at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36)
   at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)

NoSuchMethodError is thrown with realm 0.82.1

When I tried to open a realm file on a chrome inspector, it crashes.

 java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/String;Z[B)V in class Lio/realm/internal/SharedGroup; or its super classes (declaration of 'io.realm.internal.SharedGroup' appears in /data/app/com.oldroid.apps.votox.internal.dev-3/base.apk)
            at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:130)
            at com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:52)
            at com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:90)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
            at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
            at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
            at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
            at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
            at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
            at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
            at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:46)
            at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
            at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:154)
            at com.facebook.stetho.websocket.WebSocketHandler.handleSecured(WebSocketHandler.java:106)
            at com.facebook.stetho.server.SecureHttpRequestHandler.handle(SecureHttpRequestHandler.java:52)
            at org.apache.http.protocol.HttpService.doService(HttpService.java:248)
            at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:192)
            at com.facebook.stetho.server.LocalSocketHttpServer$WorkerThread.run(LocalSocketHttpServer.java:233)

App Crashes while opening Stetho / debugging App (Realm in Custom Android Library)

Hey Everyone,

( Using Realm 3.7.1)

i'm working on a project, and want that to include some (interfaces & abstract classes that work on Realm) in my custom Android Library.
I created required standard interface & abstract class for the project and i run the project, stetho worked fine, even when i moved all this interface to a Custom Android Library Module.

When i import this Custom Android Library Module to a new project, realm works well, also the realm database working fine, but while Opening debugger, App closed.

Console Log :

Console Log.txt

Looks similar to this #59 . Reverting back to 3.5.0 works fine

Method not implemented

Hi,

I am getting the following errors when I try to open the realm database in chrome insepector:

D/ChromeDevtoolsServer: onOpen
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.canEmulate
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Console.setTracingBasedTimeline
I/ResponseBodyFileManager: Cleaned up temporary network files.
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Debugger.setAsyncCallStackDepth
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Debugger.skipStackFrames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Runtime.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Timeline.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.setAutoconnectToWorkers
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: ApplicationCache.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: ApplicationCache.getFramesWithManifests

I am using steth_realm-2.0.0, steth-1.4.1,

Any ideas?

All schema show the tables of default schema

There are 2 custom schema in library module:
@RealmModule(library = true, classes = {Elephant.class, Lion.class, Zebra.class})
public class ZooAnimalsModule {
}

@RealmModule(library = true, classes = {Cat.class, Dog.class})
public class DomesticAnimalsModule {
}

And in my application There are some Model in the default schema:
Cow, Pig, Snake, Spider

But when i run the application, all schema show the tables of the default schema.
image

not able to compile dependency

I have defined dependencies and tried to sync gradle, it is not failed to resolve.

debugCompile 'com.facebook.stetho:stetho:1.4.1'

debugCompile 'com.uphyca:stetho_realm:2.0.0'

Error:(30, 18) Failed to resolve: com.uphyca:stetho-realm:2.0.0

Could not find library

I have
repositories { jcenter() maven { url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' } maven { url 'https://maven.fabric.io/public' } }
in my project lvl build.gradle, and,
compile 'com.facebook.stetho:stetho:1.4.1' compile 'com.facebook.stetho:stetho-okhttp3:1.4.1' compile 'com.uphyca:stetho_realm:2.0.0'
in my app level build.gradle, and I'm getting the following error.
Error:Could not find com.uphyca:stetho-realm:2.0.0. Required by: Myapp:app:unspecified <a href="searchInBuildFiles">Search in build.gradle files</a>

don't show the newly added data.

I created a database, and in the database which added the write data, are displayed. But when I add the data again, it does not show me the newly added data.

Fails to return database tables with Realm 2.0

As of the latest realm update, stetho fails to return database tables and dumps the following into the console.

D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Timeline.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.setAutoconnectToWorkers
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: ApplicationCache.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: ApplicationCache.getFramesWithManifests

If stetho initialization for Realm 2.0 differs in any way from Realm 1.2, shouldn't it be mentioned in the readme.md?

java.lang.NoClassDefFoundError: com.uphyca.stetho_realm.RealmFilesProvider

using:
debugCompile 'com.facebook.stetho:stetho:1.0.0'
debugCompile 'com.uphyca:stetho_realm:0.8.0'

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
        classpath 'io.realm:realm-gradle-plugin:0.88.2'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" } // for MPAndroid Charts
        maven { url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' }
    }
}
public class MyDebugApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();

        if (BuildConfig.DEBUG) {
            Log.e("RELEASE", "stethos enabled");
            Stetho.initialize(
                    Stetho.newInitializerBuilder(this)
                            .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
                            .enableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
                            .build());
        }
    }
}
FATAL EXCEPTION: Stetho-Listener
   java.lang.NoClassDefFoundError: com.uphyca.stetho_realm.RealmFilesProvider
       at com.uphyca.stetho_realm.RealmInspectorModulesProvider.get(RealmInspectorModulesProvider.java:109)
       at com.facebook.stetho.Stetho$BuilderBasedInitializer.getInspectorModules(Stetho.java:252)
       at com.facebook.stetho.Stetho$Initializer.getRegistry(Stetho.java:148)
       at com.facebook.stetho.server.LocalSocketHttpServer.createService(LocalSocketHttpServer.java:232)
       at com.facebook.stetho.server.LocalSocketHttpServer.listenOnAddress(LocalSocketHttpServer.java:158)
       at com.facebook.stetho.server.LocalSocketHttpServer.run(LocalSocketHttpServer.java:134)
       at com.facebook.stetho.Stetho$1.run(Stetho.java:80)

Exception when many open files

This error happen when i insert many items in Realm

07-28 16:47:15.379 3532-4077/E/REALM_JNI: jni: ThrowingException 5, Too many open files in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 238, .
07-28 16:47:15.379 3532-4077/E/REALM_JNI: Exception has been thrown: Unrecoverable error. Too many open files in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 238
07-28 16:47:15.399 3532-3532/E/[Gralloc-ERROR]: int gralloc_lock(const gralloc_module_t*, buffer_handle_t, int, int, int, int, int, void**):273 Locking invalid buffer 0x0x0, returning error

Realm 1.0.1 not working

Process: com.pordiva.intermail, PID: 12894
                                                                       java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/internal/ColumnType;
                                                                           at com.uphyca.stetho_realm.Database$2.<clinit>(Database.java:163)
                                                                           at com.uphyca.stetho_realm.Database.flattenRows(Database.java:163)
                                                                           at com.uphyca.stetho_realm.Database.access$300(Database.java:37)
                                                                           at com.uphyca.stetho_realm.Database$1.handleSelect(Database.java:121)
                                                                           at com.uphyca.stetho_realm.Database$1.handleSelect(Database.java:101)
                                                                           at com.uphyca.stetho_realm.RealmPeerManager.executeSQL(RealmPeerManager.java:123)
                                                                           at com.uphyca.stetho_realm.Database.executeSQL(Database.java:100)
                                                                           at java.lang.reflect.Method.invoke(Native Method)
                                                                           at java.lang.reflect.Method.invoke(Method.java:372)
                                                                           at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
                                                                           at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
                                                                           at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
                                                                           at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
                                                                           at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
                                                                           at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
                                                                           at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
                                                                           at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:46)
                                                                           at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
                                                                           at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:154)
                                                                           at com.facebook.stetho.websocket.WebSocketHandler.handleSecured(WebSocketHandler.java:106)
                                                                           at com.facebook.stetho.server.SecureHttpRequestHandler.handle(SecureHttpRequestHandler.java:52)
                                                                           at org.apache.http.protocol.HttpService.doService(HttpService.java:243)
                                                                           at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:187)
                                                                           at com.facebook.stetho.server.LocalSocketHttpServer$WorkerThread.run(LocalSocketHttpServer.java:233)
                                                                        Caused by: java.lang.ClassNotFoundException: Didn't find class "io.realm.internal.ColumnType" on path: DexPathList[[zip file "/data/app/com.pordiva.intermail-1/base.apk"],nativeLibraryDirectories=[/data/app/com.pordiva.intermail-1/lib/arm, /vendor/lib, /system/lib]]
                                                                           at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                                                           at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
                                                                           at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
                                                                           at com.uphyca.stetho_realm.Database$2.<clinit>(Database.java:163) 
                                                                           at com.uphyca.stetho_realm.Database.flattenRows(Database.java:163) 
                                                                           at com.uphyca.stetho_realm.Database.access$300(Database.java:37) 
                                                                           at com.uphyca.stetho_realm.Database$1.handleSelect(Database.java:121) 
                                                                           at com.uphyca.stetho_realm.Database$1.handleSelect(Database.java:101) 
                                                                           at com.uphyca.stetho_realm.RealmPeerManager.executeSQL(RealmPeerManager.java:123) 
                                                                           at com.uphyca.stetho_realm.Database.executeSQL(Database.java:100) 
                                                                           at java.lang.reflect.Method.invoke(Native Method) 
                                                                           at java.lang.reflect.Method.invoke(Method.java:372) 
                                                                           at com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96) 
                                                                           at com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67) 
                                                                           at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129) 
                                                                           at com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111) 
                                                                           at com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87) 
                                                                           at com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176) 
                                                                           at com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136) 
                                                                           at com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:46) 
                                                                           at com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45) 
                                                                           at com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:154) 
                                                                           at com.facebook.stetho.websocket.WebSocketHandler.handleSecured(WebSocketHandler.java:106) 
                                                                           at com.facebook.stetho.server.SecureHttpRequestHandler.handle(SecureHttpRequestHandler.java:52) 
                                                                           at org.apache.http.protocol.HttpService.doService(HttpService.java:243) 
                                                                           at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:187) 
                                                                           at com.facebook.stetho.server.LocalSocketHttpServer$WorkerThread.run(LocalSocketHttpServer.java:233) 
                                                                        Suppressed: java.lang.ClassNotFoundException: io.realm.internal.ColumnType
                                                                           at java.lang.Class.classForName(Native Method)
                                                                           at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
                                                                           at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
                                                                           at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                                                                                ... 25 more
                                                                        Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.