Error on run application

Error on run application

  
I am getting this error when I try running the application with an entry espace:
Internal Error

Length cannot be less than zero.
Parameter name: length

Details : System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at OutSystems.Common.Signatures.CompatibilityHashSequence.Deserialize(String stream)
   at #fPb.#zPb.#kSb(IDbTransaction tran, Int32 producerId, Int32 consumerId, Int32 userId, Boolean inConsumerPTA, String& mismatchesDetected)
   at #fPb.#zPb.PushProducer(String producerName, String consumerName, String testAreaName)

Exception Details:
[1] Internal Error: Length cannot be less than zero.
Parameter name: length

Details : System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at OutSystems.Common.Signatures.CompatibilityHashSequence.Deserialize(String stream)
   at #fPb.#zPb.#kSb(IDbTransaction tran, Int32 producerId, Int32 consumerId, Int32 userId, Boolean inConsumerPTA, String& mismatchesDetected)
   at #fPb.#zPb.PushProducer(String producerName, String consumerName, String testAreaName)
at #fPb.#zPb.PushProducer(String producerName, String consumerName, String testAreaName)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
   at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   at #fPb.#zPb.#e.#BPb.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
   at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
   at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   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)
[2] System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at OutSystems.Common.Signatures.CompatibilityHashSequence.Deserialize(String stream)
   at #fPb.#zPb.#kSb(IDbTransaction tran, Int32 producerId, Int32 consumerId, Int32 userId, Boolean inConsumerPTA, String& mismatchesDetected)
   at #fPb.#zPb.PushProducer(String producerName, String consumerName, String testAreaName)

When I close and reopen service studio then run again without selecting a different entry espace, then I am able to debug.  I am on version 5.1.1.6.
Hi Rebecca,

More than an error from Service Studio, the problem here would seem to lie on behalf of the Platform Server. It seems to be an error when pushing the entry eSpace to the public area where it is being debugged...

Are you on the latest Service Studio and Platform Server version - i.e. both are on version 5.1.1.6?

Regards,

Paulo Tavares
Hi Rebecca,

Can you let us know what is your Service Center revision?

Can you also try to preform a Run in the origin eSpace before selecting it as the start point of your current eSpace?

Best regards,
Renato Gonçalves
I am running version 5.1.1.6.  I noticed that 7 was out this morning so I'll upgrade as well.  You may be right on running the other epace first and then selecting entry espace.