android - One user has a bug while other users don't have that bug -


so, i'm working on app platform xamarin. however, 1 user has annoying bug won't go away. what's weirder, user user bug. not reproduce emulators , physical devices , user not have bug well. client uses samsung galaxy a5(2016) (a5xelte). after searching crash reports, discovered client has crash report:

android.runtime.javaproxythrowable: @ acd.app.droid.alert+alertdialogfragment+<>c__displayclass9_0.<happyalert>b__0 (system.object <sender>, system.eventargs <e>) [0x0001d] in <c345aa7ad2f34bfc8b384470d2386f05>:0 @ android.views.view+ionclicklistenerimplementor.onclick (android.views.view v) [0x00011] in <e3db7c3b36704d7ea2a7892711a8a46d>:0 @ android.views.view+ionclicklistenerinvoker.n_onclick_landroid_view_view_ (system.intptr jnienv, system.intptr native__this, system.intptr native_v) [0x0000f] in <e3db7c3b36704d7ea2a7892711a8a46d>:0 @ (wrapper dynamic-method) system.object:209af83e-6acd-4fa8-ae0f-b79f18f9b39f (intptr,intptr,intptr) @ mono.android.view.view_onclicklistenerimplementor.n_onclick (native method) @ mono.android.view.view_onclicklistenerimplementor.onclick (view_onclicklistenerimplementor.java:30) @ android.view.view.performclick (view.java:6261) @ android.widget.textview.performclick (textview.java:11159) @ android.view.view$performclick.run (view.java:23748) @ android.os.handler.handlecallback (handler.java:751) @ android.os.handler.dispatchmessage (handler.java:95) @ android.os.looper.loop (looper.java:154) @ android.app.activitythread.main (activitythread.java:6776) @ java.lang.reflect.method.invoke (native method) @ com.android.internal.os.zygoteinit$methodandargscaller.run (zygoteinit.java:1496) @ com.android.internal.os.zygoteinit.main (zygoteinit.java:1386) 

my question is, why user has bug while other users don't have bug? , how can prevent in future?

here images devices:

image on user's device enter image description here image on other devices: enter image description here

and finally, here's code error takes place:

public void happyalert(android.views.layoutinflater inflater, alertdialog.builder builder)         {              android.views.view secondview = inflater.inflate(resource.layout.happysliderlayout, null);             builder.setview(secondview);              textview title = secondview.findviewbyid<textview>(resource.id.login);             title.text = title;              textview body = secondview.findviewbyid<textview>(resource.id.pincodetext);             body.text = body;             body.movementmethod = new android.text.method.scrollingmovementmethod();              android.widget.button btnneutral = secondview.findviewbyid<android.widget.button>(resource.id.btnneutral);             imageview imghappy = secondview.findviewbyid<imageview>(resource.id.imghappy);             imageview imgsad = secondview.findviewbyid<imageview>(resource.id.imgsad);               var happyslider = secondview.findviewbyid<seekbar>(resource.id.happinessslider);              happyslider.visibility = android.views.viewstates.visible;             btnneutral.text = buttons.first().text;             btnneutral.click += delegate             {                 var car = (stacklayout)content;                  var layoutview = (xamarin.forms.absolutelayout)car.children[1];                 var slider = (slider)layoutview.children[1];                  var totalhappyvalue = happyslider.progress / 10;                 slider.value = totalhappyvalue;                   commandsforbuttons(buttons.first());             };         } 


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -