Discussion:
[Funambol-developers] Problem with Blackberry Plugin Recurring Event Sync
Shirsendu Jana
2007-08-23 16:23:18 UTC
Permalink
Hi,
I am using the Blackberry plugin (V3.0.7). I am facing
problems while synchronizing Recurring Calendar Events
(SIF-E compatible). It throws
ArrayIndexOutOfBoundsException.

Looks like this is a problem with the RepeatRule class
and specifically the RepeatRule.WEEK_IN_MONTH field.
While debugging, I have observed that in the
XMLEventParser.parseRecurrence() method (called during
add/modify of an event) whenever any value is set to
the RepeatRule.WEEK_IN_MONTH field (on parsing the
Instance value), the event.setRepeat(rule) method
throws ArrayIndexOutOfBoundsException. Though this
error does not occur with any other fields of the
RepeatRule class.


Need your help..

Thanks in advance..
Shirsendu



____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Giuseppe Monticelli
2007-08-27 14:56:41 UTC
Permalink
Hi Shirsendu,

I'm trying to reproduce your issue.

Can you tell me exactly how your event is structured? I could
synchronize a weekly recurrent appointment without experiencing the
ArrayIndexOutOfBoundsException (using a Funambol DS Server v. 6.5.0).

Can you tell me please which server you are syncing against?

Are you using a real BlackBerry device? Which model & operating system
(OS) version?

Thank you for your kind feedback,

Giuseppe
Post by Shirsendu Jana
Hi,
I am using the Blackberry plugin (V3.0.7). I am facing
problems while synchronizing Recurring Calendar Events
(SIF-E compatible). It throws
ArrayIndexOutOfBoundsException.
Looks like this is a problem with the RepeatRule class
and specifically the RepeatRule.WEEK_IN_MONTH field.
While debugging, I have observed that in the
XMLEventParser.parseRecurrence() method (called during
add/modify of an event) whenever any value is set to
the RepeatRule.WEEK_IN_MONTH field (on parsing the
Instance value), the event.setRepeat(rule) method
throws ArrayIndexOutOfBoundsException. Though this
error does not occur with any other fields of the
RepeatRule class.
Need your help..
Thanks in advance..
Shirsendu
--
Giuseppe Monticelli

funambol :: mobile open source :: http://www.funambol.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Shirsendu Jana
2007-08-28 15:00:28 UTC
Permalink
Hi Giuseppe,
The recurring events I tried are monthly/yearly events
where <Instance> (as per SIF-E format) take place. For
example, a recurring event like: 3rd Monday of every
Month OR 1st Sunday of January every Year etc. I think
in case of a weekly event only <DayOfWeekMask> value
is present, not an <Instance>. This problem takes
place, according to my observation, only when there is
a value for <Instance>.

Well, I am using DS Server 3.x and JDE 4.1 Simulator
(not a device). But I think this problem has nothing
to do with the server. This is absolutely related to
the Blackberry client.

I had also mailed to RIM regarding this issue and they
This is a known issue in BlackBerry handheld
software version 4.1 and 4.2 and has been resolved
in version 4.2.1. Unfortunately there is no work
around to this issue, a handheld software upgrade is
required.
As a matter of fact, I have tried the same piece of
code on JDE 4.2.1 which worked perfectly.

Please let me know if you have any further query.

Thanks for your response...

Shirsendu
--- Giuseppe Monticelli
Hi Shirsendu,
I'm trying to reproduce your issue.
Can you tell me exactly how your event is
structured? I could
synchronize a weekly recurrent appointment without
experiencing the
ArrayIndexOutOfBoundsException (using a Funambol DS
Server v. 6.5.0).
Can you tell me please which server you are syncing
against?
Are you using a real BlackBerry device? Which model
& operating system
(OS) version?
Thank you for your kind feedback,
Giuseppe
Post by Shirsendu Jana
Hi,
I am using the Blackberry plugin (V3.0.7). I am
facing
Post by Shirsendu Jana
problems while synchronizing Recurring Calendar
Events
Post by Shirsendu Jana
(SIF-E compatible). It throws
ArrayIndexOutOfBoundsException.
Looks like this is a problem with the RepeatRule
class
Post by Shirsendu Jana
and specifically the RepeatRule.WEEK_IN_MONTH
field.
Post by Shirsendu Jana
While debugging, I have observed that in the
XMLEventParser.parseRecurrence() method (called
during
Post by Shirsendu Jana
add/modify of an event) whenever any value is set
to
Post by Shirsendu Jana
the RepeatRule.WEEK_IN_MONTH field (on parsing the
Instance value), the event.setRepeat(rule) method
throws ArrayIndexOutOfBoundsException. Though this
error does not occur with any other fields of the
RepeatRule class.
Need your help..
Thanks in advance..
Shirsendu
--
Giuseppe Monticelli
http://www.funambol.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?
Stop.
Now Search log events and configuration files using
AJAX and a browser.
Download your FREE copy of Splunk now >>
http://get.splunk.com/
_______________________________________________
Funambol-developers mailing list
https://lists.sourceforge.net/lists/listinfo/funambol-developers
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Loading...