Fatal Service Error (OnlineFileListener) OS X

Help
2007-07-15
2013-04-23
  • Jon (aka nle)
    Jon (aka nle)
    2007-07-15

    Hello! First of all, thank you for a great piece of software. Its working great as far as I know. I have just installed it, but I tested the syncing between gcal og ical, no problems. :)

    Anyways.. over to the problem.

    First some general info:

    Hardware:
    1Ghz PPC, OS X 10.4.10, 1280 ram.

    Java version:
    java version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
    Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

    Everything is working fine, but I still get a Fatal Error. I turned on DEBUG/FATAL on the logs. I cant see whats wrong, but hopefullye someone else can.

    <log>
      2007-07-15 01:43:16 | INFO  | Configurator   | GCALDaemon V1.0 beta 13b starting...
    2007-07-15 01:43:19 | INFO  | Configurator   | RSS/ATOM feed converter enabled.
    2007-07-15 01:43:19 | DEBUG | Configurator   | Duplicated event filter's sensibility: 70%
    2007-07-15 01:43:19 | INFO  | Configurator   | Local time zone is Central European Time.
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | Start listening file /Users/<username>/Library/Application Support/iCal/Sources/596E4185-7E6F-464C-8F9D-AD9230097CB8.calendar/corestorage.ics...
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | Start listening file /Users/<username>/Library/Application Support/iCal/Sources/B7A1B87E-00D2-43D2-85CB-A57E27B0A706.calendar/corestorage.ics...
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | Start listening file /Users/<username>/Library/Application Support/iCal/Sources/192927D3-E936-4A32-A668-E07247ECACB7.calendar/corestorage.ics...
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | Start listening file /Users/<username>/Library/Application Support/iCal/Sources/A0FF93F6-3D6A-4B6C-A786-90829A30F9EC.calendar/corestorage.ics...
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | Start listening file /Users/<username>/Library/Application Support/iCal/Sources/16C18D9C-8923-4326-BE8B-C874A576130B.calendar/corestorage.ics...
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | File listener started successfully.
    2007-07-15 01:43:20 | DEBUG | OnlineFileListener | Loading file /Users/<username>/Library/Application Support/iCal/Sources/596E4185-7E6F-464C-8F9D-AD9230097CB8.calendar/corestorage.ics...
    2007-07-15 01:43:20 | DEBUG | OnlineFileListener | File loaded successfully (5191 bytes).
    2007-07-15 01:43:20 | INFO  | OnlineFileListener | Offline file synchronization enabled.
    2007-07-15 01:43:37 | DEBUG | GCalUtilities  | Loading calendar from http://www.google.com/calendar/ical/<username>@gmail.com/private/basic.ics...
    2007-07-15 01:43:50 | DEBUG | GCalUtilities  | Set the offset of Europe/Paris to GMT+0100.
    2007-07-15 01:43:50 | DEBUG | GCalUtilities  | Calendar loaded successfully (5191 bytes).
    2007-07-15 01:43:50 | DEBUG | Synchronizer   | Starting Google Calendar synchronizer...
    2007-07-15 01:43:50 | DEBUG | Synchronizer   | Event registry loaded successfully (4940 bytes).
    2007-07-15 01:43:54 | DEBUG | OnlineFileListener | Saving file /Users/<username>/Library/Application Support/iCal/Sources/596E4185-7E6F-464C-8F9D-AD9230097CB8.calendar/corestorage.ics...
    2007-07-15 01:43:54 | DEBUG | OnlineFileListener | File saved successfully (5191 bytes).
    2007-07-15 01:43:54 | DEBUG | OnlineFileListener | Loading file /Users/<username>/Library/Application Support/iCal/Sources/B7A1B87E-00D2-43D2-85CB-A57E27B0A706.calendar/corestorage.ics...
    2007-07-15 01:43:54 | DEBUG | OnlineFileListener | File loaded successfully (32562 bytes).
    2007-07-15 01:43:55 | DEBUG | GCalUtilities  | Loading calendar from http://www.google.com/calendar/ical/<some_string>%40group.calendar.google.com/private/basic.ics...
    2007-07-15 01:43:56 | DEBUG | GCalUtilities  | Set the offset of Europe/Oslo to GMT+0100.
    2007-07-15 01:43:56 | DEBUG | GCalUtilities  | Calendar loaded successfully (591 bytes).
    2007-07-15 01:43:56 | DEBUG | Synchronizer   | Starting Google Calendar synchronizer...
    2007-07-15 01:43:58 | DEBUG | GCalUtilities  | Connecting to Google...
    2007-07-15 01:44:00 | DEBUG | Synchronizer   | New event (<eventname here>...) found in the local calendar.

    (...)Few hundreds lines of the same, except for eventname(...)

    2007-07-15 01:44:00 | DEBUG | Synchronizer   | New event (<eventname here> ...) found in the local calendar.
    2007-07-15 01:44:00 | FATAL | OnlineFileListener | Fatal service error!

      [1 ] java.lang.NullPointerException

      [2 ] at org.gcaldaemon.core.GCalUtilities.convertVEvent(GCalUtilities.java:1163)

      [3 ] at org.gcaldaemon.core.GCalUtilities.insertEvent(GCalUtilities.java:680)

      [4 ] at org.gcaldaemon.core.GCalUtilities.insertEvents(GCalUtilities.java:653)

      [5 ] at org.gcaldaemon.core.Synchronizer.syncronizeNow(Synchronizer.java:353)

      [6 ] at org.gcaldaemon.core.Configurator.synchronizeNow(Configurator.java:1012)

      [7 ] at org.gcaldaemon.core.file.OfflineFileListener.run(OfflineFileListener.java:55)

    2007-07-15 01:44:00 | DEBUG | OnlineFileListener | Loading file /Users/<username>/Library/Application Support/iCal/Sources/192927D3-E936-4A32-A668-E07247ECACB7.calendar/corestorage.ics...
    2007-07-15 01:44:00 | DEBUG | OnlineFileListener | File loaded successfully (7312 bytes).
    2007-07-15 01:44:00 | DEBUG | GCalUtilities  | Loading calendar from http://www.google.com/calendar/ical/<some_string>%40group.calendar.google.com/private/basic.ics...
    2007-07-15 01:44:02 | DEBUG | GCalUtilities  | Calendar loaded successfully (7312 bytes).
    2007-07-15 01:44:02 | DEBUG | Synchronizer   | Starting Google Calendar synchronizer...
    2007-07-15 01:44:05 | DEBUG | OnlineFileListener | Saving file /Users/<username>/Library/Application Support/iCal/Sources/192927D3-E936-4A32-A668-E07247ECACB7.calendar/corestorage.ics...
    2007-07-15 01:44:05 | DEBUG | OnlineFileListener | File saved successfully (7312 bytes).
    2007-07-15 01:44:05 | DEBUG | OnlineFileListener | Loading file /Users/<username>/Library/Application Support/iCal/Sources/A0FF93F6-3D6A-4B6C-A786-90829A30F9EC.calendar/corestorage.ics...
    2007-07-15 01:44:05 | DEBUG | OnlineFileListener | File loaded successfully (19463 bytes).
    2007-07-15 01:44:05 | DEBUG | GCalUtilities  | Loading calendar from http://www.google.com/calendar/ical/<some_string>%40group.calendar.google.com/private/basic.ics...
    2007-07-15 01:44:07 | DEBUG | GCalUtilities  | Calendar loaded successfully (19463 bytes).
    2007-07-15 01:44:07 | DEBUG | Synchronizer   | Starting Google Calendar synchronizer...
    2007-07-15 01:44:13 | DEBUG | OnlineFileListener | Saving file /Users/<username>/Library/Application Support/iCal/Sources/A0FF93F6-3D6A-4B6C-A786-90829A30F9EC.calendar/corestorage.ics...
    2007-07-15 01:44:13 | DEBUG | OnlineFileListener | File saved successfully (19463 bytes).
    2007-07-15 01:44:13 | DEBUG | OnlineFileListener | Loading file /Users/<username>/Library/Application Support/iCal/Sources/16C18D9C-8923-4326-BE8B-C874A576130B.calendar/corestorage.ics...
    2007-07-15 01:44:13 | DEBUG | OnlineFileListener | File loaded successfully (7516 bytes).
    2007-07-15 01:44:13 | DEBUG | GCalUtilities  | Loading calendar from http://www.google.com/calendar/ical/<some_string>%40group.calendar.google.com/private/basic.ics...
    2007-07-15 01:44:14 | DEBUG | GCalUtilities  | Calendar loaded successfully (7516 bytes).
    2007-07-15 01:44:14 | DEBUG | Synchronizer   | Starting Google Calendar synchronizer...
    2007-07-15 01:44:18 | DEBUG | OnlineFileListener | Saving file /Users/<username>/Library/Application Support/iCal/Sources/16C18D9C-8923-4326-BE8B-C874A576130B.calendar/corestorage.ics...
    2007-07-15 01:44:18 | DEBUG | OnlineFileListener | File saved successfully (7516 bytes).
    2007-07-15 01:44:18 | INFO  | OnlineFileListener | Synchronization finished.
    </log>

    Thanks!

     
    • aberkes
      aberkes
      2007-07-15

      > NullPointerException (GCalUtilities.java:1163)

      = GCALDaemon found an event in your local calendar with valid START date/time and NULL (???) END time. I added some extra validation to this method:

      ...
      if (endTime == null) {
      endTime = startTime;
      }
      ...

      Thanks for this feedback! Download link:
      http://downloads.sourceforge.net/gcaldaemon/upgrade-beta13-to-beta13c.zip
      Regards
      -A

       
      • Jon (aka nle)
        Jon (aka nle)
        2007-07-16

        Thx, tried the new beta, no problems :)

         
  • Marco Pivetta
    Marco Pivetta
    2011-10-17

    I apreciate aberkes solution, but I don´t know which file should receive that modification. A class?
    I solved my problem renaming the file google.ics (c:\program files\GCalDaemon\google.ics) and restarting the service.