Problem entr new work order in WBI scheduler

I get sometime get the error below when I double click on the day in the monthly schedule to enter a new work order. I can’t tie down the exact circumstances but it appears to relate to using a client for the first time.



Server Error in ‘/AyaNovaWBI’ Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
WorkorderNew.btnOK_Click(Object sender, ImageClickEventArgs e) +436
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET V

This company had also contacted us directly via email. Will post here the results once established.

At this time awaiting details as have requested step by step details so that we can recreate the exact same steps to see if we too get the issue.
Or if we don’t get the same issue with demo data, then be able to know exactly what and where to be able to help troubleshoot further.

If ever posting a support request, do include step by step details so that a recreation of the exact issue can be made so that a resolution can be quickly determined.

We HIGHLY recommend reviewing the topic If-you-have-an-issue before posting any support questions to minimize your time spent on any issue.

We received the following steps to recreate, and were able to!!

  1. Log into WBI
  2. Move to the Clients grid. Select New and create new client. Save.
  3. Move to the Schedule screen.
  4. Double-click on a day in the month view of the Schedule. Which opens the client selection window.
  5. Select the newly created client. Click on OK
  6. Error message occurs (listed at bottom)
  7. If instead select to create a new workorder by selecting the New workorder menu option at the top of the Schedule, no error occurs.

Step #4 used is not a step that was actually coded for in WBI.
As a result, if the client is newly created internal issues occur.
Development has been made aware of this issue and is on their maintenance update list to look into.

At this time, create a new workorder via the Schedule screen in WBI by using only the New workorder menu option at the top.

AyaNovaWBI encountered an unexpected problem
What happened

There was an unexpected error in the AyaNovaWBI web site.  This may be due to a programming bug or installation / configuration problem.

How this will effect you

The current page will not load or continue processing the last operation.

What you can do about it

Close this page and try repeating your last action.  Try alternative methods of performing the same action.  If problems persist contact AyaNova support via the AyaNova technical support forum.  Be sure to provide a copy of the support information below in your support request and a detailed description of the scope of the problem and what steps led to it.

Support information
The following information about the error was automatically captured:

Object reference not set to an instance of an object.

at WorkorderNew.btnOK_Click(Object sender, ImageClickEventArgs e)
at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [/i]