We can't reproduce this. Can you send us a simple example to support@wyday.com
Hi,
I'm trying to use this automatic updater (wyBuild version 2.6.18.4) in my WinForm application. I added automaticUpdater to my form, set everything based on tutorial, but I'm still getting NullReference exception.
My application will start as usual, but after 10 seconds (WaitBeforeCheckSecs) I'll get null exception.Any idea what can be wrong here, please?
Adding whole message:
System.NullReferenceException was unhandled HResult=-2147467261 Message=Odkaz na objekt nennastaven na instanci objektu. Source=AutomaticUpdater StackTrace: v wyDay.Controls.AutomaticUpdater.tmrWaitBeforeCheck_Tick(Object sender, EventArgs e) v System.Windows.Forms.Timer.OnTick(EventArgs e) v System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) v System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) v System.Windows.Forms.SafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type) v System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp) v System.Windows.Forms.MessageBox.Show(String text) v nrm.Program.Main() v f:\biznis\biznis\biznis\nrm\nrm\nrm\Program.cs:?ek 30 v System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) v System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) v Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() v System.Threading.ThreadHelper.ThreadStart_Context(Object state) v System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) v System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) v System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) v System.Threading.ThreadHelper.ThreadStart() InnerException:
Thank you.
We can't reproduce this. Can you send us a simple example to support@wyday.com