Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25888

Android: getEventsBetweenDates() crashes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.3.0
    • Component/s: Android
    • Labels:
    • Environment:

      SDK 7.1.0.GA
      Mac OS High Sierra, 64bit
      Node 8.9.1
      Android

      Description

      On Android 8 with Titanium 7.1.0.GA the app crahses when calling getEventsBetweenDates(). With SDK 7.0.2.GA everything is okay.

      This is the log I see after calling getEventsBetweenDates():

      [WARN]  W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference
      [WARN]  W/System.err: 	at ti.modules.titanium.calendar.RecurrenceRuleProxy.fillFrequencyFields(RecurrenceRuleProxy.java:233)
      [WARN]  W/System.err: 	at ti.modules.titanium.calendar.RecurrenceRuleProxy.<init>(RecurrenceRuleProxy.java:189)
      [WARN]  W/System.err: 	at ti.modules.titanium.calendar.EventProxy.setRecurrenceRules(EventProxy.java:499)
      [WARN]  W/System.err: 	at ti.modules.titanium.calendar.EventProxy.queryEventsBetweenDates(EventProxy.java:133)
      [WARN]  W/System.err: 	at ti.modules.titanium.calendar.EventProxy.queryEventsBetweenDates(EventProxy.java:272)
      [WARN]  W/System.err: 	at ti.modules.titanium.calendar.CalendarProxy.getEventsBetweenDates(CalendarProxy.java:187)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:63)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:962)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1186)
      [WARN]  W/System.err: 	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:394)
      [WARN]  W/System.err: 	at ti.modules.titanium.ui.PickerProxy.handleMessage(PickerProxy.java:351)
      [WARN]  W/System.err: 	at android.os.Handler.dispatchMessage(Handler.java:101)
      [WARN]  W/System.err: 	at android.os.Looper.loop(Looper.java:164)
      [WARN]  W/System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6541)
      [WARN]  W/System.err: 	at java.lang.reflect.Method.invoke(Native Method)
      [WARN]  W/System.err: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
      [WARN]  W/System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
      

        Attachments

          Activity

            People

            • Assignee:
              ybanev Yordan Banev
              Reporter:
              michielve Michiel van Eerd
              Reviewer:
              Gary Mathews
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6253
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code