LineageGlueRule 'web_child_elements' caused RemotingExceptio
Posted: Mon Mar 24, 2014 8:46 am
Ranorex version 4.1.15.17134
Windows 7 Pro
IE 9.0.8112.16421
I am having problem testing a webportal, get a lot of errors from time to time, can someone help me, is there a way to solve this? Do you need more information?
This is part of my code:
This is the result that occur quite often, but not all times.
20:41.321
Debug
Plugins
LineageGlueRule 'web_child_elements' caused RemotingException on Execute. An error occurred while processing the request on the server: System.Runtime.Remoting.RemotingException: Tcp channel protocol violation: expecting preamble.
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
at System.Runtime.Remoting.Channels.Ipc.IpcServerHandler.ReadHeaders()
at System.Runtime.Remoting.Channels.Ipc.IpcServerTransportSink.ServiceRequest(Object state)
at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
Show/Hide Stacktrace
Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcServerHandler.ReadToEndOfHeaders(BaseTransportHeaders headers) at System.Runtime.Remoting.Channels.Ipc.IpcClientHandler.ReadHeaders() at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Ranorex.Plugin.TridentIpc.ITridentDom.AddRefCounts(IntPtr[] ptrs) at Ranorex.Plugin.WebChildrenRule.Execute(GlueRuleExecutionState state) at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element, GlueRuleExecutionState state)
20:41.381
Debug
Plugins
LineageGlueRule 'web_child_elements' caused RemotingException on Execute. Failed to write to an IPC Port: The pipe is being closed.
Show/Hide Stacktrace
Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcPort.Write(Byte[] data, Int32 offset, Int32 size) at System.Runtime.Remoting.Channels.Ipc.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.Runtime.Remoting.Channels.ChunkedMemoryStream.WriteTo(Stream stream) at System.Runtime.Remoting.Channels.Ipc.IpcClientHandler.SendRequest(IMessage msg, ITransportHeaders headers, Stream contentStream) at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Ranorex.Plugin.TridentIpc.ITridentDom.AddRefCounts(IntPtr[] ptrs) at Ranorex.Plugin.WebChildrenRule.Execute(GlueRuleExecutionState state) at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element, GlueRuleExecutionState state)
Windows 7 Pro
IE 9.0.8112.16421
I am having problem testing a webportal, get a lot of errors from time to time, can someone help me, is there a way to solve this? Do you need more information?
This is part of my code:
Code: Select all
var tags =
Service.Repo.MainPage.OrderBody.AssignmentBody.AssignmentLineBody.AssignmentLineOverviewButtonRow
.selMultiLineMode.Find<OptionTag>("option");
foreach (var tag in tags)
{
Ranorex.Keyboard.Press(tag.InnerText == "Send & Print" ? Keys.Enter : Keys.Down);
}
20:41.321
Debug
Plugins
LineageGlueRule 'web_child_elements' caused RemotingException on Execute. An error occurred while processing the request on the server: System.Runtime.Remoting.RemotingException: Tcp channel protocol violation: expecting preamble.
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
at System.Runtime.Remoting.Channels.Ipc.IpcServerHandler.ReadHeaders()
at System.Runtime.Remoting.Channels.Ipc.IpcServerTransportSink.ServiceRequest(Object state)
at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
Show/Hide Stacktrace
Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcServerHandler.ReadToEndOfHeaders(BaseTransportHeaders headers) at System.Runtime.Remoting.Channels.Ipc.IpcClientHandler.ReadHeaders() at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Ranorex.Plugin.TridentIpc.ITridentDom.AddRefCounts(IntPtr[] ptrs) at Ranorex.Plugin.WebChildrenRule.Execute(GlueRuleExecutionState state) at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element, GlueRuleExecutionState state)
20:41.381
Debug
Plugins
LineageGlueRule 'web_child_elements' caused RemotingException on Execute. Failed to write to an IPC Port: The pipe is being closed.
Show/Hide Stacktrace
Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcPort.Write(Byte[] data, Int32 offset, Int32 size) at System.Runtime.Remoting.Channels.Ipc.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.Runtime.Remoting.Channels.ChunkedMemoryStream.WriteTo(Stream stream) at System.Runtime.Remoting.Channels.Ipc.IpcClientHandler.SendRequest(IMessage msg, ITransportHeaders headers, Stream contentStream) at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Ranorex.Plugin.TridentIpc.ITridentDom.AddRefCounts(IntPtr[] ptrs) at Ranorex.Plugin.WebChildrenRule.Execute(GlueRuleExecutionState state) at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element, GlueRuleExecutionState state)