Unhandled exception when running delete annotation

Bug reports.
kris123pra
Posts: 16
Joined: Fri Sep 17, 2010 8:13 am
Location: India

Unhandled exception when running delete annotation

Post by kris123pra » Mon Oct 25, 2010 8:20 am

Hi

I get this error when I run delete annotation in my application.

Ranorex Studio Version : 2.3.3.8879
.NET Version : 2.0.50727.3615
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Terminal Server Session
Working Set Memory : 85400kb
GC Heap Memory : 23799kb

Unhandled exception
Exception thrown:
System.InvalidOperationException: The stream does not support reading.
at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at ICSharpCode.SharpDevelop.BuildWorker.Interprocess.PacketReceiver.OnReceive(IAsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
at ICSharpCode.SharpDevelop.Sda.ExceptionBox.getClipboardString()

---- Post-error application state information:
Installed 3rd party AddIns: [RanorexLogViewer 2.3.3.8879], [RxObjectRepository 2.3.3.8879], [RxRecorder 2.3.3.8879], [Workflow Foundation Designer 2.3.3.8879], [ElementTree 2.3.3.8879]
Workbench.ActiveContent: [TextEditorDisplayBindingWrapper E:\ABC_Auto\ABC\Annotate.cs]
ProjectService.OpenSolution: [Solution: FileName=E:\ABC_Auto\ABC.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: ABC]


I have .NET 3.5 SP1 installed.

Thanks
Kris

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unhandled exception when running delete annotation

Post by Support Team » Mon Oct 25, 2010 9:45 am

Hi,

Thank you for posting the exception. It seems to be a Sharp Develop error. Ranorex is based on the Sharp Develop Studio. Please update to the latest version of Ranorex. We fixed some issues in Ranorex Studio, maybe this resolves this exception.

Regards,
Peter
Ranorex Team

kris123pra
Posts: 16
Joined: Fri Sep 17, 2010 8:13 am
Location: India

Re: Unhandled exception when running delete annotation

Post by kris123pra » Sun Oct 31, 2010 2:40 pm

Hi

Thanks Peter. But this error happened only once and after that, it started working fine. So I am not sure, what caused the error.

Now that it is working fine, thanks anyways :D

Regards
Kris

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unhandled exception when running delete annotation

Post by Support Team » Mon Nov 01, 2010 3:15 pm

Hi,

I think there was just an file, which was not readable at this moment. Therefore you got this exception. But anyway, nice to hear that is is working now. But I would recommend you to update to the latest version, because we fixed some bugs with version 2.3.4.

Regards,
Peter
Ranorex Team

kris123pra
Posts: 16
Joined: Fri Sep 17, 2010 8:13 am
Location: India

Re: Unhandled exception when running delete annotation

Post by kris123pra » Wed Nov 10, 2010 11:22 am

Thanks Peter.. upgraded to 2.3.4 now!

Regards
Kris