- Home
- Forum
- Xamarin.Android
- Error on SFrangeslider
Error on SFrangeslider
hi all,
i have this error when i change activity
Unhandled Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.Graphics.Paint'.
android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.Graphics.Paint'.
at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in <9ed4c1a7b8844cdcb5330cc881c1cd6a>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00000] in <9ed4c1a7b8844cdcb5330cc881c1cd6a>:0
at Android.Graphics.Paint.set_Color (Android.Graphics.Color value) [0x00028] in <3921e1c40bf740cab0f47696b3ad1282>:0
at Com.Syncfusion.Sfrangeslider.TrackRectangle.OnDraw (Android.Graphics.Canvas canvas) [0x00037] in 60c>:0
at Android.Views.View.n_OnDraw_Landroid_graphics_Canvas_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_canvas) [0x00011] in <3921e1c40bf740cab0f47696b3ad1282>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.15(intptr,intptr,intptr)
at md5a8fb857fb1ea2728048c7d943a5db46f.TrackRectangle.n_onDraw(Native Method)
at md5a8fb857fb1ea2728048c7d943a5db46f.TrackRectangle.onDraw(TrackRectangle.java:53)
at android.view.View.draw(View.java:19145)
at android.view.View.updateDisplayListIfDirty(View.java:18095)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.draw(View.java:19148)
at android.widget.ScrollView.draw(ScrollView.java:1739)
at android.view.View.updateDisplayListIfDirty(View.java:18095)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1234)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.updateDisplayListIfDirty(View.java:18086)
at android.view.View.draw(View.java:18873)
at android.view.ViewGroup.drawChild(ViewGroup.java:4218)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4002)
at android.view.View.draw(View.java:19148)
at com.android.internal.policy.DecorView.draw(DecorView.java:788)
at android.view.View.updateDisplayListIfDirty(View.java:18095)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:643)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:649)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:757)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3035)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2830)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2383)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1422)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6834)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)
at android.view.Choreographer.doCallbacks(Choreographer.java:841)
at android.view.Choreographer.doFrame(Choreographer.java:772)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1015)
at android.os.Handler.handleCallback(Handler.java:793)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:173)
at android.app.ActivityThread.main(ActivityThread.java:6698)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Object name: 'Android.Graphics.Paint'.
at Java.Interop.JniPeerMembers.As
at Java.Interop.JniPeerMembers+Jn
at Android.Graphics.Paint.set_Col
at Com.Syncfusion.Sfrangeslider.T
at Android.Views.View.n_OnDraw_La
at (wrapper dynamic-method) Android.Runtime.DynamicMethodN
at md5a8fb857fb1ea2728048c7d943a5
at md5a8fb857fb1ea2728048c7d943a5
at android.view.View.draw(View.ja
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.draw(View.ja
at android.widget.ScrollView.draw
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.support.design.widget.
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.updateDispla
at android.view.View.draw(View.ja
at android.view.ViewGroup.drawChi
at android.view.ViewGroup.dispatc
at android.view.View.draw(View.ja
at com.android.internal.policy.De
at android.view.View.updateDispla
at android.view.ThreadedRenderer.
at android.view.ThreadedRenderer.
at android.view.ThreadedRenderer.
at android.view.ViewRootImpl.draw
at android.view.ViewRootImpl.perf
at android.view.ViewRootImpl.perf
at android.view.ViewRootImpl.doTr
at android.view.ViewRootImpl$Trav
at android.view.Choreographer$Cal
at android.view.Choreographer.doC
at android.view.Choreographer.doF
at android.view.Choreographer$Fra
at android.os.Handler.handleCallb
at android.os.Handler.dispatchMes
at android.os.Looper.loop(Looper.
at android.app.ActivityThread.mai
at java.lang.reflect.Method.invok
at com.android.internal.os.Zygote
at com.android.internal.os.Zygote
can you help me please?
thanks
SIGN IN To post a reply.
25 Replies
MK
Muneesh Kumar G
Syncfusion Team
June 7, 2019 09:07 AM UTC
Hi Alberto,
Greetings, currently we are validating this stack trace with our source. We will update you the status of this on or before June 10th, 2019. We appreciate your patience until then.
Regards,
Regards,
Muneesh Kumar G.
LU
Luca
June 7, 2019 10:37 AM UTC
tested different version of this dll and it always breaks.
please let me know because i'm blocked.
thanks
LU
Luca
June 9, 2019 10:44 PM UTC
i think the problem is in ValueChanged function
thanks
MK
Muneesh Kumar G
Syncfusion Team
June 10, 2019 10:58 AM UTC
Hi Alberto,
Thanks for your update.
We have analyzed the reported issue and we were unable to reproduce the issue. We have created a sample by changing the activity and using a ValueChanged event and it is working as expected. Please have the sample from the following link
Sample:
But based on the provided stack trace, we have fixed the reported issue internally. Please have the patch from the following link
Recommended approach - exe will perform automatic configuration Please find the patch setup from below location:
http://syncfusion.com/Installs/support/patch/17.1.0.47/916885/F145085/SyncfusionPatch_17.1.0.47_916885_6102019054412989_F145085.exe
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location: http://syncfusion.com/Installs/support/patch/17.1.0.47/916885/F145085/SyncfusionPatch_17.1.0.47_916885_6102019054412989_F145085.zip
Assembly Version: 17.1.0.47
Nuget: http://syncfusion.com/Installs/support/patch/17.1.0.47/916885/F145085/SyncfusionNuget_17.1.0.47_916885_6102019054412989_F145085.zip
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location: http://syncfusion.com/Installs/support/patch/17.1.0.47/916885/F145085/SyncfusionPatch_17.1.0.47_916885_6102019054412989_F145085.zip
Assembly Version: 17.1.0.47
Nuget: http://syncfusion.com/Installs/support/patch/17.1.0.47/916885/F145085/SyncfusionNuget_17.1.0.47_916885_6102019054412989_F145085.zip
Before replacing the NuGet, please follow the below steps to clear the NuGet cache,
For Windows
Follow the below link to clear cache,
If you still facing the same issue means, please revert us by modifying the sample based on your application along with replication procedure. This will be helpful for us to investigate further and provide you a better solution at the earliest.
Please let us know if you have any other concern.
Regards,
Muneesh Kumar G
Muneesh Kumar G
LU
Luca
June 10, 2019 12:17 PM UTC
hi,
i'm using version 50 not 47..
MK
Muneesh Kumar G
Syncfusion Team
June 10, 2019 12:28 PM UTC
Hi Alberto,
We would like to inform you that we give patch only in our main release or SP release version only. But 17.1.0.50 is a weekly nuget version. So that we have given the patch in 17.1.0.47 (Vol1 SP 1) version.
We have fixed the issue based on provided stack trace only. If you make sure the provided fix resolved your problem, we will include the fix in our next weekly nuget release.
Regards,
Muneesh Kumar G
Muneesh Kumar G
LU
Luca
June 12, 2019 07:25 AM UTC
hi,
tested but now i have this error
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.Widget.TextView'.
this my code
private void SfRangeSliderX_ValueChanged(object sender, ValueChangedEventArgs e)
{
tvTest.Text = ((int)e.Value).ToString();
}
thanks
android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.Widget.TextView'.
at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in <9ed4c1a7b8844cdcb5330cc881c1cd6a>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeNonvirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00000] in <9ed4c1a7b8844cdcb5330cc881c1cd6a>:0
at Android.Widget.TextView.set_TextFormatted (Java.Lang.ICharSequence value) [0x00029] in <3921e1c40bf740cab0f47696b3ad1282>:0
at Android.Widget.TextView.set_Text (System.String value) [0x0000d] in <3921e1c40bf740cab0f47696b3ad1282>:0
at Com.Syncfusion.Sfrangeslider.SfRangeSlider.UpdateTooltipBasedOnDecimalSeparator (System.Double correctedValue) [0x00072] in a70>:0
at Com.Syncfusion.Sfrangeslider.SfRangeSlider.HorizontalShowPopUpValue () [0x00074] in a70>:0
at Com.Syncfusion.Sfrangeslider.SfRangeSlider.OnTouchEvent (Android.Views.MotionEvent ev) [0x000c1] in a70>:0
at Android.Views.View.n_OnTouchEvent_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e) [0x00011] in <3921e1c40bf740cab0f47696b3ad1282>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.32(intptr,intptr,intptr)
at md5a8fb857fb1ea2728048c7d943a5db46f.SfRangeSlider.n_onTouchEvent(Native Method)
at md5a8fb857fb1ea2728048c7d943a5db46f.SfRangeSlider.onTouchEvent(SfRangeSlider.java:62)
at android.view.View.dispatchTouchEvent(View.java:11734)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2957)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2636)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2963)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2593)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:448)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1828)
at android.app.Activity.dispatchTouchEvent(Activity.java:3346)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:68)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:410)
at android.view.View.dispatchPointerEvent(View.java:11975)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4836)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4647)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4183)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4236)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4202)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4329)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4210)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4386)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4183)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4236)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4202)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4210)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4183)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6743)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6717)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6678)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6849)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:249)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:325)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:6698)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Object name: 'Android.Widget.TextView'.
at Java.Interop.JniPeerMembers.As
at Java.Interop.JniPeerMembers+Jn
at Android.Widget.TextView.set_Te
at Android.Widget.TextView.set_Te
at Com.Syncfusion.Sfrangeslider.S
at Com.Syncfusion.Sfrangeslider.S
at Com.Syncfusion.Sfrangeslider.S
at Android.Views.View.n_OnTouchEv
at (wrapper dynamic-method) Android.Runtime.DynamicMethodN
at md5a8fb857fb1ea2728048c7d943a5
at md5a8fb857fb1ea2728048c7d943a5
at android.view.View.dispatchTouc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at android.view.ViewGroup.dispatc
at com.android.internal.policy.De
at com.android.internal.policy.Ph
at android.app.Activity.dispatchT
at android.support.v7.view.Window
at com.android.internal.policy.De
at android.view.View.dispatchPoin
at android.view.ViewRootImpl$View
at android.view.ViewRootImpl$View
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Asyn
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Asyn
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl$Inpu
at android.view.ViewRootImpl.deli
at android.view.ViewRootImpl.doPr
at android.view.ViewRootImpl.enqu
at android.view.ViewRootImpl$Wind
at android.view.InputEventReceive
at android.os.MessageQueue.native
at android.os.MessageQueue.next(M
at android.os.Looper.loop(Looper.
at android.app.ActivityThread.mai
at java.lang.reflect.Method.invok
at com.android.internal.os.Zygote
at com.android.internal.os.Zygote
MK
Muneesh Kumar G
Syncfusion Team
June 12, 2019 09:36 AM UTC
Hi Alberto,
We have validated your query, but we are not able to reproduce the reported issue at our end.
Since we are not aware of the exact scenario in which this issue is occurring in your application So, could you please share the following detail for this issue?
Can you please send the sample or modify the already provided sample or more detail about this issue to replicate the reported issue?
Can you please send the detailed whole stack trace about this issue?
This will be helpful for us to provide you a good solution and improve us to serve you better.
Regards,
Muneesh Kumar G
Muneesh Kumar G
LU
Luca
June 12, 2019 10:08 AM UTC
hi,
the scenario is easy: i have 1 slider and 1 textview that shows the slider value using this function
private void SfRangeSliderX_ValueChanged(object sender, ValueChangedEventArgs e)
{
tvTest.Text = ((int)e.Value).ToString();
}
just this.
LU
Luca
June 12, 2019 10:12 AM UTC
hi,
the scenario is easy: i have 1 slider and 1 textview that shows the slider value using this function
private void SfRangeSliderX_ValueChanged(object sender, ValueChangedEventArgs e)
{
tvTest.Text = ((int)e.Value).ToString();
}
just this.
MK
Muneesh Kumar G
Syncfusion Team
June 12, 2019 12:35 PM UTC
Hi Alberto,
We have validated your query and created a sample based on your scenario. But still, we are not able to reproduce the reported issue.
Please find the sample from the following link.
Can you please share the device configuration details and API version?
We request you to try our sample if you are still facing the same issue means, please revert us by modifying the sample based on your application along with replication procedure. This will help us to provide you a better solution at the earliest.
OR
We can set up a web meeting to look into it and provide the solution. Please let us know your availability. We will make every effort to have this scheduled on a date and time of your convenience.
Regards,
Muneesh Kumar G
Regards,
Muneesh Kumar G
LU
Luca
June 15, 2019 01:18 PM UTC
hi,
again
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.Widget.TextView'.
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object.'
x0 0000000000000000 x1 000000000000310b x2 0000000000000006 x3 0000000000000008
x4 00000071a0930000 x5 00000071a0930000 x6 00000071a0930000 x7 000000000002be2e
x8 0000000000000083 x9 5870eec287819f55 x10 0000000000000000 x11 0000000000000001
x12 ffffffffffffffff x13 0000000000000000 x14 00000000ffffffff x15 000000000011fb80
x16 000000719e255300 x17 000000719e1f9e10 x18 0000000000000020 x19 000000000000310b
x20 000000000000310b x21 000000717bf1fb80 x22 000000000000000b x23 0000000000002c2a
x24 0000000000000031 x25 000000717b593000 x26 0000000000002c29 x27 0000007fe59f6ff0
x28 0000000000000043 x29 0000007fe59f6e90 x30 000000719e1adf24
sp 0000007fe59f6e50 pc 000000719e1f9e18 pstate 0000000060000000
backtrace:
#00 pc 0000000000069e18 /system/lib64/libc.so (tgkill+8)
#01 pc 000000000001df20 /system/lib64/libc.so (abort+88)
#02 pc 00000000004392e8 /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+528)
#03 pc 00000000004399f8 /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+24)
#04 pc 0000000000528e90 /system/lib64/libart.so (_ZN7android4base10LogMessageD1Ev+900)
#05 pc 00000000002d6f44 /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1716)
#06 pc 00000000002d7120 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+116)
#07 pc 0000000000109ca8 /system/lib64/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+148)
#08 pc 00000000001097d4 /system/lib64/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+536)
#09 pc 0000000000107c70 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+856)
#10 pc 000000000010d12c /system/lib64/libart.so (_ZN3art8CheckJNI13CheckCallArgsERNS_18ScopedObjectAccessERNS_11ScopedCheckEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDNS_10InvokeTypeEPKNS_7VarArgsE+132)
#11 pc 000000000010bfe8 /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+680)
#12 pc 00000000000faad8 /system/lib64/libart.so (_ZN3art8CheckJNI15CallVoidMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+92)
#13 pc 00000000000bde40 /system/lib64/libandroid_runtime.so (_ZN7_JNIEnv14CallVoidMethodEP8_jobjectP10_jmethodIDz+120)
#14 pc 00000000000f13e4 /system/lib64/libandroid_runtime.so (_ZN7android24NativeInputEventReceiver13consumeEventsEP7_JNIEnvblPb+236)
#15 pc 00000000000f10f0 /system/lib64/libandroid_runtime.so (_ZN7android24NativeInputEventReceiver11handleEventEiiPv+124)
#16 pc 000000000001605c /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+996)
#17 pc 0000000000015bf0 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+108)
#18 pc 00000000001148f8 /system/lib64/libandroid_runtime.so (_ZN7androidL38android_os_MessageQueue_nativePollOnceEP7_JNIEnvP8_jobjectli+44)
#19 pc 00000000728caf6c /data/dalvik-cache/arm64/system@[email protected] (offset 0xa12000)
Abort message: 'java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception android.runtime.JavaProxyThrow
x0 0000000000000000 x1 000000000000310b x2 0000000000000006 x3 0000000000000008
x4 00000071a0930000 x5 00000071a0930000 x6 00000071a0930000 x7 000000000002be2e
x8 0000000000000083 x9 5870eec287819f55 x10 0000000000000000 x11 0000000000000001
x12 ffffffffffffffff x13 0000000000000000 x14 00000000ffffffff x15 000000000011fb80
x16 000000719e255300 x17 000000719e1f9e10 x18 0000000000000020 x19 000000000000310b
x20 000000000000310b x21 000000717bf1fb80 x22 000000000000000b x23 0000000000002c2a
x24 0000000000000031 x25 000000717b593000 x26 0000000000002c29 x27 0000007fe59f6ff0
x28 0000000000000043 x29 0000007fe59f6e90 x30 000000719e1adf24
sp 0000007fe59f6e50 pc 000000719e1f9e18 pstate 0000000060000000
backtrace:
#00 pc 0000000000069e18 /system/lib64/libc.so (tgkill+8)
#01 pc 000000000001df20 /system/lib64/libc.so (abort+88)
#02 pc 00000000004392e8 /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+528
#03 pc 00000000004399f8 /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+2
#04 pc 0000000000528e90 /system/lib64/libart.so (_ZN7android4base10LogMessageD
#05 pc 00000000002d6f44 /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPK
#06 pc 00000000002d7120 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEP
#07 pc 0000000000109ca8 /system/lib64/libart.so (_ZN3art11ScopedCheck6AbortFEP
#08 pc 00000000001097d4 /system/lib64/libart.so (_ZN3art11ScopedCheck11CheckTh
#09 pc 0000000000107c70 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERN
#10 pc 000000000010d12c /system/lib64/libart.so (_ZN3art8CheckJNI13CheckCallAr
#11 pc 000000000010bfe8 /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodV
#12 pc 00000000000faad8 /system/lib64/libart.so (_ZN3art8CheckJNI15CallVoidMet
#13 pc 00000000000bde40 /system/lib64/libandroid_runti
#14 pc 00000000000f13e4 /system/lib64/libandroid_runti
#15 pc 00000000000f10f0 /system/lib64/libandroid_runti
#16 pc 000000000001605c /system/lib64/libutils.so (_ZN7android6Looper9pollInnerE
#17 pc 0000000000015bf0 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEi
#18 pc 00000000001148f8 /system/lib64/libandroid_runti
#19 pc 00000000728caf6c /data/dalvik-cache/arm64/syste
LU
Luca
June 16, 2019 08:58 PM UTC
ok,
i find how to test and see my issue.
from an activity to new activity and then come back (using protected override void OnActivityResult)
Now,i can notice that the slider has a different color (light gray instead of red) and now if i use the slider i have the exception.
please check also tooltip size since on some device tooltip doesn't fit its content (eg it shows 3 for 35, 2 for 23 ec..)
this is urgent fix since this component is unusable !!!!!!!!
MK
Muneesh Kumar G
Syncfusion Team
June 18, 2019 05:38 AM UTC
Hi Alberto,
Sorry for the inconvenience caused.
Query 1: System.ObjectDisposedException: Cannot access a disposed object.
We were able to reproduce the reported issue and we have fixed the reported issue. Please find the custom assemblies from the following location
Assemblies:
Assembly Version: v17.1.0.51
Disclaimer:
Please note that we have created this patch for the version 17.1.0.51 specifically to resolve the issue reported in this.
This fix will be included in our upcoming volume 2 Main release which will be available on end of June 2019.
Query 2: Tooltip size since on some device tooltip doesn't fit its content (eg it shows 3 for 35, 2 for 23 ec..).
We have validated your query, but we are unable to reproduce the reported issue. Can you please share the device detail and configuration for reproducing the reported issue?
This will be helpful for us to provide you a good solution and improve us to serve you better.
Regards,
Muneesh Kumar G.
LU
Luca
June 18, 2019 07:54 AM UTC
thanks,
does this release include also the previous fix?
on a one plus 6 i have the issue on tooltip.
thanks
MK
Muneesh Kumar G
Syncfusion Team
June 18, 2019 01:18 PM UTC
Hi Alberto,
Thanks for the update.
We have validated your query, we will include the previous fix in our upcoming volume 2 release which will be available on end of June 2019. We will let you know once the release has been rolling out.
For tooltip issue, we are not able to reproduce the reported issue in OnePlus device. Please find the video for this
Video Link:http://www.syncfusion.com/downloads/support/directtrac/general/ze/SfRangeSlider1447012318
Sample Link:
Can you please modify the above sample or send code snippet or sample or video to reproduce the reported issue?
This will be helpful for us to provide you a good solution and improve us to serve you better.
Regards,
Muneesh Kumar G.
LU
Luca
June 18, 2019 09:30 PM UTC
hi, again error
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.Widget.TextView'.
it is no possible...
MK
Muneesh Kumar G
Syncfusion Team
June 19, 2019 06:27 AM UTC
Hi Alberto,
We are unable to get your exact problem from your query. So, we can setup a web meeting to look into it and provide the solution. Please let us know your availability. We will make every effort to have this scheduled on a date and time of your convenience.
Regards,
Muneesh Kumar G.
LU
Luca
June 19, 2019 07:59 AM UTC
hi,
i add your fixed dll but i still get the same error with the same scenario,
from an activity i come back to the previous one using protected override void OnActivityResult
Now,i can notice that the slider has a different color (light gray instead of red) and now if i use the slider i have the exception.
MK
Muneesh Kumar G
Syncfusion Team
June 19, 2019 01:22 PM UTC
Hi Alberto,
We have checked with the assembly but unable to reproduce reported issue. But based on the provided stack trace, we have fixed the reported issue internally.
Assemblies:
Assembly Version: v17.1.0.51
Please check with this updated assembly and let us know, if you are still facing the reported issue.
Regards,
Muneesh Kumar G.
Muneesh Kumar G.
LU
Luca
June 20, 2019 09:41 PM UTC
hi,
finally seems it works but i think you should check better since is there the horizontal line that when i come back to the activity has a light gray insted of a dark one.
no exception, it works but maybe something should be still fixed.
please, for the future do more test for your components ..... it is not possbible having this issue in a production version
MK
Muneesh Kumar G
Syncfusion Team
June 21, 2019 11:16 AM UTC
Hi Alberto,
Sorry for the inconvenience caused.
We were able to reproduce the reported issue and we have fixed the reported issue. Please find the custom assemblies from the following location
Assemblies:
Assembly Version: v17.1.0.51
Disclaimer:
Please note that we have created this patch for the version 17.1.0.51 specifically to resolve the issue reported in this.
This fix will be included in our upcoming volume 2 Beta release which will be available on end of June 2019.
Regards,
Muneesh Kumar G
LU
Luca
June 22, 2019 10:43 AM UTC
hi,
color fixed when there is just one Thumb.
But when i use it as a range with 2 ThumbSize, the left one part of horizontal line is dark and the right one light gray.
No exception, control is working, just a graphics issue.
thanks
LU
Luca
June 23, 2019 05:31 PM UTC
issue on tooltip for oneplus 6t still there
MK
Muneesh Kumar G
Syncfusion Team
June 24, 2019 11:20 AM UTC
Hi Alberto,
Query1: When I use it as a range with 2 ThumbSize, the left one part of a horizontal line is dark and the right one light gray
We have validated your query, to resolve this issue, you can set custom color (ex. light gray) as Track color in the sample level as like below code snippet.
|
range.TrackColor = Color.LightGray; |
Query 2: Issue on the tooltip for one plus 6t still there
As we mentioned in the previous update, we were not able to reproduce the reported issue in one plus 6T device at our end.
Could you please send video or screenshot or send code snippet to reproduce the reported issue?
This would be helpful for us to give better solution in this.
Regards,
Muneesh Kumar G.
SIGN IN To post a reply.
- 25 Replies
- 2 Participants
-
LU Luca
- Jun 5, 2019 09:12 PM UTC
- Jun 24, 2019 11:20 AM UTC