Error when trying to sync to one drive

Discussions about Diving Log 6.0 - questions and hints
Post Reply
r1cksm1th
Posts: 3
Joined: Sun Jul 10, 2016 17:33

Error when trying to sync to one drive

Post by r1cksm1th »

Whenever I try to save to one drive i get an error message pop up straight away.
Details are below.

System.NullReferenceException: Object reference not set to an instance of an object.

at Divinglog.Sync.OneDrive.GetOneDriveFolder()
at Divinglog.frmWeb.frmWeb_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Diving Log Version: 6.0.21.1
Windows Version: Windows 10 (20H1 | Build 19041)
divinglog
Site Admin
Posts: 5764
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Error when trying to sync to one drive

Post by divinglog »

Hello

Try to select the OneDrive folder manually by clicking the gear icon in the upper right corner of the sync dialog. Looks like the error is happening when you open the sync window, but clicking on "Continue" should make it possible to set the folder. Let me know if it works.

Kind regards,
Sven
McYoda
Posts: 8
Joined: Mon Oct 15, 2012 11:11

Re: Error when trying to sync to one drive

Post by McYoda »

Just had this same error, but I can't find any gear icon you're talking about.
Clicking on Login generates the same error again.
Attachments
Snag_2ed67c06.png
Snag_2ed67c06.png (17.33 KiB) Viewed 6731 times
divinglog
Site Admin
Posts: 5764
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Error when trying to sync to one drive

Post by divinglog »

Please download this zip file and copy the content into the Diving Log 6.0 program folder. Then you should be able to select the OneDrive folder manually.
McYoda
Posts: 8
Joined: Mon Oct 15, 2012 11:11

Re: Error when trying to sync to one drive

Post by McYoda »

That worked perfectly. Thanks a lot.
Post Reply