How to Address Issues Submitting a Test (Uh-Oh Error)
Who is this article for?
All Ideagen Quality Management Users with appropriate permissions.Ideagen Quality Management site accessis needed.
Customers may encounter issues submitting a test instance.
To make troubleshooting this issue easier to learn, this article is split into three sections so that you can either walk through the steps in sequence or you can jump to the section relevant to what you are finding:
1. Issue Experienced
This section will explain what occurs when the customer is experiencing the issue.
The customer will have noticed they get an unexpected (uh-oh) error when they try to submit a test instance. The error logs will have an entry similar to the following.
Exception message: Sequence contains no matching element
Exception stack trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate) at Ideagen Quality Management.Core.Testing.TestInstance.Grade(IIdeagen Quality ManagementConnection connection, Ideagen Quality ManagementCommand command) at Ideagen Quality Management.Core.Testing.TestInstance.Submit(IEnumerable`1 providedAnswers) at Ideagen Quality Management.Core.Services.TestInstanceServiceTrainingDecorator.SubmitTestInstance(Int32 testInstanceId, IEnumerable`1 answers) at Ideagen Quality Management.Core.Services.TestInstanceServiceEmailDecorator.SubmitTestInstance(Int32 testInstanceId, IEnumerable`1 answers) at Ideagen Quality Management.Web.Testing.InstancePage.btnGradeQuestions_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2. Resolution
This section will provide the resolution for error submitting a test.
This is caused when the session for the user taking the test has expired before the user hits the submit button. Once this has expired and the session no longer exists in our database objects can no longer be processed. The user would have to log back in and retake the test.
3. Further Reading
This section will provide important links to further troubleshooting and resources.