Smart client crashes when navigating to Data Management\ Multi-Language Strings tab


 Product(s):APM Implementation and Performance Management
 Version(s):7
 Environment:N/A
 Area:N/A
 Subarea:N/A

Problem Description

When trying to update an attribute for multi-language support, user's smart-client crashed when navigating to the Data Management view \ Multi-Language Data tab \ Multi-Language Strings sub tab:

The crash resulted in the following exception in the error log:

Stack Trace:    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

 =============================================

Outer Exception:

 Exception Type: System.IO.IOException

Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Stack Trace:    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

 =============================================

Outer Exception:

 Exception Type: System.Net.WebException

Message: The underlying connection was closed: An unexpected error occurred on a receive.

Stack Trace:    at System.Net.HttpWebRequest.GetResponse()

   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

 =============================================

Outer Exception:

 Exception Type: System.ServiceModel.CommunicationException

Message: An error occurred while receiving the HTTP response to https://username-apm-app02.bentley.com/username-apm-prod-app02-smartclient/smartclient/ResultSet. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

Stack Trace:

Server stack trace:

   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)

   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

 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 Ivara.PL.Interfaces.IResultSet.GetMCLBDataAsDataSet(Guid resultSetKey, Int32 startRow, Int32 maxRow, Int32 nPCID, PLResult& result)

   at Ivara.PL.Client.ResultSet.GetMCLBDataAsDataSet(Int32 startRow, Int32 maxRows, Int32 nPC, PLResult& result)

   at Ivara.PL.Client.ResultSetDoWorkExtensions.ResultSetGetMCLBDataSet_DoWork(IClientResultSet rs, Object sender, DoWorkEventArgs e)

   at Ivara.PL.Client.WrapRemoteCalls.Wrap(Action serverCall, KillActivityMethod killActivity, ExceptionMethod reconnect, DisplayErrorAndShutdownMethod displayErrorAndShutdown, ExceptionMethod handleUnknown)

Solution

This has been reported as a bug, VSTS#1003199. 

See also

SR 7001503945.