We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Z" field "IsYearlySpecific" crash on Samsung S5


I am not sure how to describe this error below. Basically, when I try to create some apointments with recurrency daily property, I am getting a instant crash on Samsun S5. I have tested exact same steps on Xperia Z3 and it doesnt happen on this phone. Maybe you may figure out something from the stack trace below.

thanks,
Emil


Java.Interop.JniEnvironmentno "Z" field "IsYearlySpecific" in class "Lcom/syncfusion/schedule/RecurrenceProperties;" or its superclasses
Raw
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at Java.Interop.JniEnvironment+InstanceFields.GetFieldID (Java.Interop.JniObjectReference type, System.String name, System.String signature) [0x00068] in <ff000f515881490a8fbfdf80a90cf5e2>:0 
  at Android.Runtime.JNIEnv.GetFieldID (System.IntPtr jclass, System.String name, System.String sig) [0x00007] in <fdf23bcc5bb346b2a596bf33a4c58ea1>:0 
  at Com.Syncfusion.Schedule.RecurrenceProperties.set_IsYearlySpecific (System.Boolean value) [0x00016] in <fc4b0afc80404438a921aa51f91c50d7>:0 
  at Syncfusion.SfSchedule.XForms.Droid.RecurrenceBuilder_Android.Syncfusion.SfSchedule.XForms.IRecurrenceBuilder.RRuleGenerator (Syncfusion.SfSchedule.XForms.RecurrenceProperties formRecurrenceProperties, System.DateTime startTime, System.DateTime endTime) [0x000cd] in <143cd94a53d94cf481a53736329cba45>:0 
  at myTestApp.SchedulePageModel.CreateRecurrsiveAppointments (System.DateTime StartTime, System.DateTime EndTime, System.Int32 totalWeeks) [0x0003e] in <fa996c9f2bc1428c84ccd01822963145>:0 
  at myTestApp.SchedulePageModel+<GetData>d__29.MoveNext () [0x00190] in <fa996c9f2bc1428c84ccd01822963145>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at myTestApp.BasePageModel+<getInitialData>d__33.MoveNext () [0x0007b] in <fa996c9f2bc1428c84ccd01822963145>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at myTestApp.SchedulePageModel+<ViewIsAppearing>d__28.MoveNext () [0x00060] in <fa996c9f2bc1428c84ccd01822963145>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in <2ae3676fe90e4e3e87c7257281f74b70>:0 
  at Android.App.SyncContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in <fdf23bcc5bb346b2a596bf33a4c58ea1>:0 
  at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in <fdf23bcc5bb346b2a596bf33a4c58ea1>:0 
  at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <fdf23bcc5bb346b2a596bf33a4c58ea1>:0 
  at (wrapper dynamic-method) System.Object:d852da40-a78f-4a17-87aa-a2fed86ae224 (intptr,intptr)
  --- End of managed Java.Lang.LinkageError stack trace ---
java.lang.NoSuchFieldError: no "Z" field "IsYearlySpecific" in class "Lcom/syncfusion/schedule/RecurrenceProperties;" or its superclasses
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team February 6, 2017 08:45 AM UTC

Hi Emil, 
 
Thank you for your interest in Syncfusion products. 
 
Based on the provided information, we have checked and we are unable to reproduce the mentioned issue with Schedule Recurrence in Xamarin Forms (Android) from our side. We have prepared simple sample, please find the below sample. 
 
 
Since the shared information is not sufficient to reproduce the issue, could you please revert to us by modifying the provided sample with more information and its replication procedure, it will helpful for us to analyze on it and provide you a better solution. 
 
Regards,
Subburaj Pandian V  



EM Emil February 18, 2017 10:52 PM UTC

Hello, 

I figured out when this exception occurs. It happens only when I am using linking SDK and USER assemblies. Line below is crashing 

recurrencePropertiesForAlternativeDay.RecurrenceRule = DependencyService.Get<IRecurrenceBuilder>().RRuleGenerator(recurrencePropertiesForAlternativeDay, StartTime, EndTime);

I have already added skip assemblies as

Syncfusion.SfSchedule.XForms;
Syncfusion.SfSchedule.XForms.Android;
Syncfusion.SfSchedule.Android;

I dont know what else is neeed? can you please help me

Thanks,

Emil


SP Sivakumar Punniya Moorthi Syncfusion Team February 20, 2017 09:08 AM UTC

Hi Emil

  

Thank you for the update.  

  

We have created a new support incident under your account to track the status of this issue. Please log on to our support website to check for further updates. 

  

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 

  

Please let us know, if you have any query.

Regards,
 

 
Sivakumar P

SIGN IN To post a reply.
Loader.
Up arrow icon