I have a single report schedule, and insdide that schedule, I have tasks. One of the task is to run another schedule. I was able to add the task fine. However, when I tried to edit that task (the schedule task), it gave me an error - Unhandled Exception.
Below is the detail of the exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at crd5.frmTaskRunSchedule.EditTask(Int32 nTaskID, Boolean ShowAfter)
at crd5.ucTasks.cmdEdit_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.(EventArgs e)
at System.Windows.Forms.Button.(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
---------------------------------
Any ideas why it is happening?
Could you please go to Help - Support - Technical Support in the application and log a technical support call. Our support desk will be in touch with you to help you resolve your issue.