You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to use this browser for relatively more complex relationships but it fails for this simple one :
(when trying to browse the model)
package com.example.sampleapp.dbobjects;
import io.realm.RealmObject;
public class Question extends RealmObject {
private String question;
private long time;
private String level;
private Answer answer;
public String getQuestion(){
return this.question;
}
public void setQuestion(String question){
this.question = level;
}
public long getTime(){
return this.time;
}
public void setTime(long _time){
this.time = _time;
}
public String getLevel(){
return this.level;
}
public void setLevel(String level){
this.level = level;
}
public Answer getAnswer(){
return this.answer;
}
public void setAnswer(Answer answer){
this.answer = answer;
}
}
package com.example.sampleapp.dbobjects;
import io.realm.RealmObject;
public class Answer extends RealmObject {
private String filePath;
private long bytesUploaded = 0;
private boolean synced = false;
public String getFilePath(){
return this.filePath;
}
public void setFilePath(String filePath){
this.filePath = filePath;
}
public long getBytesUploaded(){
return this.bytesUploaded;
}
public void setBytesUploaded(long bytesUploaded){
this.bytesUploaded = bytesUploaded;
}
public boolean getSynced(){
return this.synced;
}
public void setSynced(boolean synced){
this.synced = synced;
}
}
09-05 17:32:31.307 27416-27416/com.example.sampleapp I/dalvikvm﹕ Could not find method java.lang.ReflectiveOperationException.toString, referenced from method com.dd.realmbrowser.utils.MagicUtils.invokeMethod
09-05 17:32:31.307 27416-27416/com.example.sampleapp W/dalvikvm﹕ VFY: unable to resolve virtual method 20836: Ljava/lang/ReflectiveOperationException;.toString ()Ljava/lang/String;
09-05 17:32:31.307 27416-27416/com.example.sampleapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x001c
09-05 17:32:31.317 27416-27416/com.example.sampleapp D/AndroidRuntime﹕ Shutting down VM
09-05 17:32:31.317 27416-27416/com.example.sampleapp W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x415a2898)
09-05 17:32:31.367 27416-27416/com.example.sampleapp E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: java.lang.ReflectiveOperationException
at com.dd.realmbrowser.utils.MagicUtils.invokeMethod(MagicUtils.java:39)
at com.dd.realmbrowser.RealmAdapter.initRowText(RealmAdapter.java:123)
at com.dd.realmbrowser.RealmAdapter.onBindViewHolder(RealmAdapter.java:85)
at com.dd.realmbrowser.RealmAdapter.onBindViewHolder(RealmAdapter.java:19)
at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5084)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4385)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4278)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1947)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1359)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1322)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:556)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2673)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:2971)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.support.v7.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:493)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14297)
at android.view.ViewGroup.layout(ViewGroup.java:4563)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1976)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1730)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
at android.view.Choreographer.doCallbacks(Choreographer.java:562)
at android.view.Choreographer.doFrame(Choreographer.java:532)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5163)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Can you spot what I am not able to ?
The text was updated successfully, but these errors were encountered:
I am able to use this browser for relatively more complex relationships but it fails for this simple one :
(when trying to browse the model)
Can you spot what I am not able to ?
The text was updated successfully, but these errors were encountered: