OVH Community, your new community space.

Synchronisation problem


zbychuk
07-26-2015, 11:59 PM
I am trying to synchronise some folders, but I am getting an error that 'f:\Hubic\:' can not be synchronised due to the null reference error.
In your log there is a following info:
[ERROR | 22/07/2015 03:56:37 | Ovh.Hubic.Sync.Database.DBHandler.SelectOne] Database error:
System.NullReferenceException: Object reference not set to an instance of an object.

at PetaPoco.Database.CreateCommand(IDbConnection connection, String sql, Object[] args)

at PetaPoco.Database.d__7`1.MoveNext()

at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)

at Ovh.Hubic.Sync.Database.DBHandler.SelectOne[T](Sql sql)
---Called from---
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

at System.Environment.get_StackTrace()

at Ovh.Hubic.Sync.Database.DBHandler.HandleError(Exce ption e)

at Ovh.Hubic.Sync.Database.DBHandler.SelectOne[T](Sql sql)

at Ovh.Hubic.Sync.DBCacheHelper`1.Get(IContainer cont, String relativePath, DateTime currentLastModified)

at Ovh.Hubic.Sync.AI.Indexer.d__1f.MoveNe xt()

at Ovh.Hubic.Sync.AI.Indexer.InternalIndex(IStorableO bject obj, LocalContainer cont, ElementPipeline sink, CancellationToken token, Func`1 preIndexCheck)

at Ovh.Hubic.Sync.AI.Indexer.SyncIndex(IStorableObjec t obj, ElementPipeline sink, CancellationToken token)

at Ovh.Hubic.Sync.AI.Synchronizer.RunIndexation(IList `1 toIndex)

at Ovh.Hubic.Sync.AI.Synchronizer.<>c__DisplayClass34 .<.ctor>b__9(IObserver`1 obs)

at System.Reactive.AnonymousObservable`1.SubscribeCor e(IObserver`1 observer)

at System.Reactive.ObservableBase`1.ScheduledSubscrib e(IScheduler _, AutoDetachObserver`1 autoDetachObserver)

at System.Reactive.Concurrency.ScheduledItem`2.Invoke Core()

at System.Reactive.Concurrency.ScheduledItem`1.Invoke ()

at System.Reactive.Concurrency.CurrentThreadScheduler .Trampoline.Run(SchedulerQueue`1 queue)

at System.Reactive.Concurrency.CurrentThreadScheduler .Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)

at System.Reactive.ObservableBase`1.Subscribe(IObserv er`1 observer)

at System.ObservableExtensions.SubscribeSafe[T](IObservable`1 source, IObserver`1 observer)

at System.Reactive.Linq.ObservĪ±ble.Switch`1._.OnNext (IObservable`1 value)

at System.Reactive.Linq.ObservĪ±ble.Select`2._.OnNext (TSource value)

at System.Reactive.ScheduledObserver`1.Dispatch(ICanc elable cancel)

at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Any help possible?