• rrayIndexOutOfBoundsException error

    By Jeff J Anderson 1 decade ago

    I did get it installed on version 9.1.9 (although I continue to have an issue with 9.1.8 - which didn't have the timezone problem) - after running for awhile, I get the following error:



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>set gcsno

    tespath=C:\Program Files\Lotus Notes



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>set gcsjv

    mbinpath=C:\Program Files\Java\jre6\bin



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>set gcsjv

    mlibpath=C:\Program Files\Java\jre6\lib



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>set gcspa

    th=C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>set path=

    C:\Program Files\Lotus Notes;C:\Program Files\Java\jre6\bin;C:\Program Files\Dom

    inoForOutlook\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>set class

    path=.;;C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919\g

    data-core-1.0.jar;C:\Documents and Settings\Jeff Anderson\My Documents\goocalsyn

    c_v0.919\gdata-client-1.0.jar;C:\Documents and Settings\Jeff Anderson\My Documen

    ts\goocalsync_v0.919\gdata-calendar-2.0.jar;C:\Program Files\Lotus Notes\jvm\lib

    \ext\Notes.jar;C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v

    0.919\goocalsync.jar



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>cd C:\Doc

    uments and Settings\Jeff Anderson\My Documents\goocalsync_v0.919



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>java gooc

    alsync.GooCalSync



    2009/07/15 18:46:53 INFO GooCalSync v0.919 has started.

    2009/07/15 18:46:53 INFO Start Notes to Google synchronization.

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index

    out of range: 0

        at java.util.Vector.get(Unknown Source)<br/>
        at goocalsync.NotesCalendarDAO.convDoc(NotesCalendarDAO.java:266)<br/>
        at goocalsync.NotesCalendarDAO.getNextEntry(NotesCalendarDAO.java:93)<br/>
        at goocalsync.SyncService.executeNotesToGoogle(SyncService.java:72)<br/>
        at goocalsync.GooCalSync.main(GooCalSync.java:14)<br/>
    



    C:\Documents and Settings\Jeff Anderson\My Documents\goocalsync_v0.919>pause

    Press any key to continue . . .







    GREAT concept by the way! If this works I'll be excited!

    • By Jeff J Anderson 1 decade ago

      OK - I worked thru getting it to work on 9.1.8 as well. But they both have that issue with some calendar invites. I guess you need some kind of boundary check? If I delete the "bad" invite (which looks fine in notes) it goes until it finds the next bad calendar entry.