Page 1 of 1

LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Mon Mar 24, 2014 8:46 am
by Wooltown
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:

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);
      }
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)

Re: LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Wed Mar 26, 2014 5:42 pm
by Support Team
Hello Wooltown,

Can you please give us more information about your application under test?
Is it possible to post a Ranorex Snapshot file?
Additionally it would be great to get access to your application if this is possible in order to analyze the problem.
Does the issue also occur when you are using other browsers?

Regards,
Bernhard

Re: LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Wed Apr 02, 2014 6:10 pm
by krstcs
Had the same issue in one of my test runs today. Sent email to support.

Re: LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Thu Aug 28, 2014 8:11 pm
by brendaj
I'm also experiencing this issue extensively. Please let me know how I can help demonstrate it?

Re: LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Tue Sep 02, 2014 4:14 pm
by Support Team
Hi brendaj,

Please provide some additional information about your issue.
May I also ask you to answer the following questions?
  • Which version of Ranorex is installed on your machine?
  • Is it possible to post a Ranorex Snapshot file?
  • Which Browser are you using?
  • Is this post about the same exception?
If you don’t want to post the information about your issue here in the public forum, you can send an email to [email protected]

Thank you in advance.

Regards,
Markus (S)

Re: LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Fri Sep 19, 2014 6:59 pm
by fatima
Hi,
Did anyone find out the reason for this error message? I have Ranorex 5.1.1 & Windows 7.
I have been using Ranorex (older version) for last two years and never got this error.
But in last couple days I have been noticing it.
Although this error did not cause my automation to fail and all the tests ran fine. But I want to nail down the reason for this.
Thanks,
Fatima

Re: LineageGlueRule 'web_child_elements' caused RemotingExceptio

Posted: Mon Sep 22, 2014 4:31 pm
by Support Team
Hi Fatima,

Can you please give us more information about your test and your application? If your test has no issues during the run it could also come from another application.
Can you please check which element is the reason for this message? It would be great to get a Ranorex Snapshot file or access to your application.

Regards,
Bernhard