Crash Issue

Ask general questions here.
krish202
Posts: 4
Joined: Sat Mar 29, 2014 4:38 pm

Crash Issue

Post by krish202 » Thu May 29, 2014 10:08 pm

The following is using RanoRex 5.0.2.17874 and .NET 4.0.3 on Windows XP SP 3.

My team and I are creating an automation application that dynamically loads a .dll file containing our test scripts. The test cases within this .dll file are then executed and a report is generated using RanoRex. What we have been seeing recently is an unhandled exception is being generated outside of our code at the end of our test cases, during the report generation. The exception we get is as follows:

at System.Threading.TimerBase.ChangeTimer(UInt32 dueTime, UInt32 period)
at System.Threading.Timer.Change(Int32 dueTime, Int32 period)
at Ranorex.Core.Reporting.TestReport.ReportWriteCallback(Object state)
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)

When this exception occurs, the program continues as normal (except for a pop up window saying that the Application had experienced an unhandled exception). If we click Okay on this pop up, the entire application closes. There are no line numbers or a proper call stack to investigate when this happens. We have tried setting up our application to catch application-level unhandled exceptions, but this does not stop the problem.

Upon further investigation, we discovered some articles (details attached in the text file) which matches the format of the error we are seeing. We believe the problem could be handled inside RanoRex libraries.

We have tried with .Net 4.0.3, and we still experience the crashing issue.
Attachments
unhandled.txt
(222 Bytes) Downloaded 89 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Crash Issue

Post by Support Team » Tue Jun 03, 2014 2:21 pm

Hello krish202,

May I ask you to enable the internal logging? Just copy the attached file to the folder where your automated test resists in. Please send the generated *.log file to [email protected]

For further information on how to enable the internal logging please visit: http://www.ranorex.com/forum/microsoft- ... tml#p24608

Additionally, please create a screenshot of the error message and attach it to your mail.
Thank you in advance.

Regards,
Robert
Attachments
NLog.zip
(613 Bytes) Downloaded 130 times
.
Image