Closed botmayank closed 10 years ago
Thanks for reporting! We're currently not planning to fix the GCAL support (and eventually drop it completely). To keep supporting GCAL would also mean that we'd have to update to the newer client library as the currently used one will not be supported much longer by Google, requiring a complete rewrite. Also, unit testability is obviously not very great as you depend on GCAL service being available or mimicking GCALs behavior which would lead to a lot of effort. I propose to use the JPA backend for your deployment for now.
java.util.concurrent.ExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Start index must be positive at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:306) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:293) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) at de.uniluebeck.itm.tr.iwsn.portal.PortalServer.main(PortalServer.java:258) Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Start index must be positive at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1358) at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1344) at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:221) at de.uniluebeck.itm.tr.iwsn.portal.PortalServer.doStart(PortalServer.java:139) at com.google.common.util.concurrent.AbstractService.start(AbstractService.java:171) ... 1 more Caused by: java.lang.IllegalArgumentException: Start index must be positive at com.google.gdata.client.Query.setStartIndex(Query.java:507) at de.uniluebeck.itm.tr.rs.persistence.gcal.GCalRSPersistence.getActiveAndFutureReservations(GCalRSPersistence.java:334) at de.uniluebeck.itm.tr.iwsn.portal.ReservationManagerImpl.replayReservationMadeEvents(ReservationManagerImpl.java:160) at de.uniluebeck.itm.tr.iwsn.portal.ReservationManagerImpl.doStart(ReservationManagerImpl.java:120) at com.google.common.util.concurrent.AbstractService.start(AbstractService.java:171) ... 4 more