• [SOLVED]Error in v0.917

    By Stephane Knockaert 1 decade ago

    For information the lotus notes version is 6.5.3





    2009/06/09 10:08:20 INFO GooCalSync v0.917 has started.

    2009/06/09 10:08:20 INFO Start Notes to Google synchronization.

    Fichier ID actif : C:\Config Notes\SKNOCKA.ID

    Entrez le mot de passe (Echap pour abandonner) :



    2009/06/09 10:08:28 DEBUG — Retrieved Notes calendar entry —

    2009/06/09 10:08:28 DEBUG ID : 98FF4C1292BAF3BDC12575C500582E0

    9

    2009/06/09 10:08:28 DEBUG Title : Point projet

    2009/06/09 10:08:28 DEBUG Content : Charge jusqu'en fin d'annÚe.

    2009/06/09 10:08:28 DEBUG startDateTime : 2009-06-02T14:30:00+01:00

    2009/06/09 10:08:28 DEBUG endDateTime : 2009-06-02T15:15:00+01:00

    2009/06/09 10:08:28 DEBUG location : bureau dme

    2009/06/09 10:08:28 DEBUG lastupdated : 2009-06-02T09:40:44+01:00

    2009/06/09 10:08:28 DEBUG apptype : 3

    2009/06/09 10:08:28 DEBUG frequency : 0

    2009/06/09 10:08:28 DEBUG interval : 0

    2009/06/09 10:08:28 DEBUG until :

    2009/06/09 10:08:28 DEBUG ————————————–

    2009/06/09 10:08:28 DEBUG executing insert

    2009/06/09 10:08:28 ERROR Calendar entry being handled …

    2009/06/09 10:08:28 ERROR ID : 98FF4C1292BAF3BDC12575C500582E0

    9

    2009/06/09 10:08:28 ERROR Title : Point projet

    2009/06/09 10:08:28 ERROR Content : Charge jusqu'en fin d'annÚe.

    2009/06/09 10:08:28 ERROR startDateTime : 2009-06-02T14:30:00+01:00

    2009/06/09 10:08:28 ERROR endDateTime : 2009-06-02T15:15:00+01:00

    2009/06/09 10:08:28 ERROR location : bureau dme

    2009/06/09 10:08:28 ERROR lastupdated : 2009-06-02T09:40:44+01:00

    2009/06/09 10:08:28 ERROR apptype : 3

    2009/06/09 10:08:28 ERROR frequency : 0

    2009/06/09 10:08:28 ERROR interval : 0

    2009/06/09 10:08:28 ERROR until :

    java.lang.NullPointerException

        at goocalsync.Factory.getCalendarService(Factory.java:187)<br/>
        at goocalsync.GoogleCalendarDAO.insert(GoogleCalendarDAO.java:63)<br/>
        at goocalsync.SyncService.executeNotesToGoogle(SyncService.java:41)<br/>
        at goocalsync.GooCalSync.main(GooCalSync.java:14)<br/>
    

    2009/06/09 10:08:28 ERROR java.lang.NullPointerException: null

    2009/06/09 10:08:28 ERROR at goocalsync.Factory.getCalendarService

    (Factory.java:187)

    2009/06/09 10:08:28 ERROR at goocalsync.GoogleCalendarDAO.insert(G

    oogleCalendarDAO.java:63)

    2009/06/09 10:08:28 ERROR at goocalsync.SyncService.executeNotesTo

    Google(SyncService.java:41)

    2009/06/09 10:08:28 ERROR at goocalsync.GooCalSync.main(GooCalSync

    .java:14)



    C:\Config Notes\GooCalSync>pause

    Appuyez sur une touche pour continuer…

    • try v0.918

      By Muneyuki Ohkawa 1 decade ago

      I have figured out that every error message you had encountered derives from one root cause which is different behavior of getItemValueString method of lotus.domino.Document class depending on Lotus Notes version. In 6.5.4 and before, this method returns null when item has no value. In 6.5.5 and later it returns blank string.



      I fixed codes to absorb this difference of behavior all over the code, and uploaded as v0.918.

      Please try it and report here.

      I'm sure it'll do well on new v0.918.



      http://openntf.org/Projects/pmt.nsf/1af5f59bae92986c85256bae000f898c/8e5fbe5c31bf4724862575d000605c3b!OpenDocument

      • Nice !!

        By Stephane Knockaert 1 decade ago

        Very nice. I'm going to make another test now.

        • Finally !!!

          By Muneyuki Ohkawa 1 decade ago

          If you have any other trouble, please feel free to contact us.



          Thanks.