Hi
This little utility has been really useful to me, but all of a sudden I have started to get errors, causing the sync to fail ::(
When I am trying to sync I get the following exception:
Is it possible to add som more error-information, for example what data is incorrect, or is causing the error… so it is possible to correct any odd entry in the calendar.
(
//daniel
….
Starting sync
Application Version: 1.8
OS: Windows 7 6.1 x86
Java: 1.6.0_17 Sun Microsystems Inc.
Local Server: true
Use Proxy: false
Use SSL: true
Sync Description: true
Sync Alarms: false
Getting Lotus Notes calendar entries (1.5 s)
112 entries found within date range
Lotus Version: Release 8.5.1|September 28, 2009
Logging into Google (2.2 s)
Getting Google calendar entries (2.2 s)
102 entries found within date range
Comparing Lotus Notes and Google calendar entries (0.0 s)
10 entries to create. 0 entries to delete.
Creating new Google calendar entries
=== ERROR ===
There was an error synchronizing the calendars.
java.lang.IllegalStateException: g:when/@startTime must be less than or equal to g:when/@endTime.
at com.google.gdata.data.extensions.When.validate(When.java:98)
at com.google.gdata.data.AbstractExtension.generate(AbstractExtension.java:172)
at com.google.gdata.data.ExtensionPoint.generateExtensions(ExtensionPoint.java:489)
at com.google.gdata.data.BaseEntry.generateAtom(BaseEntry.java:795)
at com.google.gdata.client.Service.insert(Service.java:1240)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:561)
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:610)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:213)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:231)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:224)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added code to make the error msg more descriptive. Base on the above error, I think one of your calendar entries has a start time set before the end time.
I tried it, but didn't get any more information in the error (it looked the same as before…)
I also believe I have an incorrect entry, the problem is to find out which one it is…
Regards
Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
here it comes:
but I think it looks the same as the previous…
=== ERROR ===
There was an error synchronizing the calendars.
java.lang.IllegalStateException: g:when/@startTime must be less than or equal to g:when/@endTime.
at com.google.gdata.data.extensions.When.validate(When.java:98)
at com.google.gdata.data.AbstractExtension.generate(AbstractExtension.java:172)
at com.google.gdata.data.ExtensionPoint.generateExtensions(ExtensionPoint.java:489)
at com.google.gdata.data.BaseEntry.generateAtom(BaseEntry.java:795)
at com.google.gdata.client.Service.insert(Service.java:1240)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:561)
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:608)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:212)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:230)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:223)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There was an error synchronizing the calendars.
java.lang.Exception: Couldn't create Google entry.
Subject: com.google.gdata.data.PlainTextConstruct@1014e21 Start Date: 2010-10-31T00:02:00.000
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:618)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:214)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:232)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:225)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: g:when/@startTime must be less than or equal to g:when/@endTime.
at com.google.gdata.data.extensions.When.validate(When.java:98)
at com.google.gdata.data.AbstractExtension.generate(AbstractExtension.java:172)
at com.google.gdata.data.ExtensionPoint.generateExtensions(ExtensionPoint.java:489)
at com.google.gdata.data.BaseEntry.generateAtom(BaseEntry.java:795)
at com.google.gdata.client.Service.insert(Service.java:1240)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:561)
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:608)
… 10 more
And I can now see where the problem is. Seems my Notes Calendar has gone berserc :(
Thanks for the help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
The root-problem seems to be the transition to Wintertime…
When looking in my calendar I have two timeslots at 2AM this week since we are going over to wintertime Sunday night.
In the calendar I see one time slot saying 2:00 as normal, and one saying 2:00 DST, and I think it is the latter which is the problem…
So hopefully my sync will continue as normal next week :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you do me a favor? The previous version of the app I gave you didn't display the entry Subject properly (it should something like "PlainTextConstruct").
=== ERROR ===
There was an error synchronizing the calendars.
java.lang.Exception: Couldn't create Google entry.
Subject: Irene kommer
Start Date: 2010-10-31T00:02:00.000
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:618)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:214)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:232)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
This little utility has been really useful to me, but all of a sudden I have started to get errors, causing the sync to fail ::(
When I am trying to sync I get the following exception:
Is it possible to add som more error-information, for example what data is incorrect, or is causing the error… so it is possible to correct any odd entry in the calendar.
(
//daniel
….
Starting sync
Application Version: 1.8
OS: Windows 7 6.1 x86
Java: 1.6.0_17 Sun Microsystems Inc.
Local Server: true
Use Proxy: false
Use SSL: true
Sync Description: true
Sync Alarms: false
Getting Lotus Notes calendar entries (1.5 s)
112 entries found within date range
Lotus Version: Release 8.5.1|September 28, 2009
Logging into Google (2.2 s)
Getting Google calendar entries (2.2 s)
102 entries found within date range
Comparing Lotus Notes and Google calendar entries (0.0 s)
10 entries to create. 0 entries to delete.
Creating new Google calendar entries
=== ERROR ===
There was an error synchronizing the calendars.
java.lang.IllegalStateException: g:when/@startTime must be less than or equal to g:when/@endTime.
at com.google.gdata.data.extensions.When.validate(When.java:98)
at com.google.gdata.data.AbstractExtension.generate(AbstractExtension.java:172)
at com.google.gdata.data.ExtensionPoint.generateExtensions(ExtensionPoint.java:489)
at com.google.gdata.data.BaseEntry.generateAtom(BaseEntry.java:795)
at com.google.gdata.client.Service.insert(Service.java:1240)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:561)
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:610)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:213)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:231)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:224)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I added code to make the error msg more descriptive. Base on the above error, I think one of your calendar entries has a start time set before the end time.
Replace your current icalbridge.jar file with this one, and let me know the results of your test.
http://lngooglecalsync.svn.sourceforge.net/viewvc/lngooglecalsync/lngooglecalsync/icalbridge-1.9Beta.jar?revision=132
Hi
Thanks for the Beta…
I tried it, but didn't get any more information in the error (it looked the same as before…)
I also believe I have an incorrect entry, the problem is to find out which one it is…
Regards
Daniel
Can you post the full error info? It has line numbers that might help me.
Hi
here it comes:
but I think it looks the same as the previous…
=== ERROR ===
There was an error synchronizing the calendars.
java.lang.IllegalStateException: g:when/@startTime must be less than or equal to g:when/@endTime.
at com.google.gdata.data.extensions.When.validate(When.java:98)
at com.google.gdata.data.AbstractExtension.generate(AbstractExtension.java:172)
at com.google.gdata.data.ExtensionPoint.generateExtensions(ExtensionPoint.java:489)
at com.google.gdata.data.BaseEntry.generateAtom(BaseEntry.java:795)
at com.google.gdata.client.Service.insert(Service.java:1240)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:561)
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:608)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:212)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:230)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:223)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Sorry, my change wasn't quite right.
Please try this version:
http://lngooglecalsync.svn.sourceforge.net/viewvc/lngooglecalsync/lngooglecalsync/icalbridge-1.10Beta.jar?revision=135
Hello
With the 1.10Bet I got the following:
There was an error synchronizing the calendars.
java.lang.Exception: Couldn't create Google entry.
Subject: com.google.gdata.data.PlainTextConstruct@1014e21
Start Date: 2010-10-31T00:02:00.000
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:618)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:214)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:232)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:225)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: g:when/@startTime must be less than or equal to g:when/@endTime.
at com.google.gdata.data.extensions.When.validate(When.java:98)
at com.google.gdata.data.AbstractExtension.generate(AbstractExtension.java:172)
at com.google.gdata.data.ExtensionPoint.generateExtensions(ExtensionPoint.java:489)
at com.google.gdata.data.BaseEntry.generateAtom(BaseEntry.java:795)
at com.google.gdata.client.Service.insert(Service.java:1240)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:561)
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:608)
… 10 more
And I can now see where the problem is. Seems my Notes Calendar has gone berserc :(
Thanks for the help
Hi
The root-problem seems to be the transition to Wintertime…
When looking in my calendar I have two timeslots at 2AM this week since we are going over to wintertime Sunday night.
In the calendar I see one time slot saying 2:00 as normal, and one saying 2:00 DST, and I think it is the latter which is the problem…
So hopefully my sync will continue as normal next week :)
I'm glad you found the problem.
Could you do me a favor? The previous version of the app I gave you didn't display the entry Subject properly (it should something like "PlainTextConstruct").
Can you run this new version and see if the Subject displays properly?
http://lngooglecalsync.svn.sourceforge.net/viewvc/lngooglecalsync/lngooglecalsync/icalbridge-1.10Beta2.jar?revision=136
I'll be happy to!
Here you are:
=== ERROR ===
There was an error synchronizing the calendars.
java.lang.Exception: Couldn't create Google entry.
Subject: Irene kommer
Start Date: 2010-10-31T00:02:00.000
at LotusNotesGoogleCalendarBridge.GoogleService.GoogleImport.createCalendarEntries(GoogleImport.java:618)
at LotusNotesGoogleCalendarBridge.mainGUI.doSync(mainGUI.java:214)
at LotusNotesGoogleCalendarBridge.mainGUI$SyncSwingWorker.doInBackground(mainGUI.java:232)
Excellent. The Subject is displaying fine now.
If anyone has the same problem as you in the future, hopefully they can diagnose it easier. :-)