Getting error while publishing

Getting below error while publishing:


Internal Error


An error occurred in task 'Load OML':

Unexpeceted EOF

Details : System.Xml.XmlException: Unexpeceted EOF ---> System.IO.EndOfStreamException: Unexpeceted EOF

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#2t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#6t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#8t()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#Rt()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

   --- End of inner exception stack trace ---

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

   at Noemax.FastInfoset.XmlFastInfosetReader.Read()

   at OutSystems.Common.XElementReader.cmn#emlnqamu(Int32 bbm)

   at OutSystems.Common.XElementReader.ToXElement()

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmjt(Oml akf, String akg)

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmgq(Oml adj)

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmgn(Oml adf, IInformationForESpaceUpgrade adg)

   at OutSystems.Oml.Oml.cmn#uqmprwog(Stream yp, Boolean yq, IInformationForESpaceUpgrade yr)

   at OutSystems.Oml.Oml.cmn#uqmprwoh(Stream ys, Boolean yt, ObjectKey yu, String yv, Boolean yw, IInformationForESpaceUpgrade yx)

   at OutSystems.Oml.Oml..ctor(Byte[] buffer, String productKey, IInformationForESpaceUpgrade informationForUpgrader)

   at cs#qxyeieqt.Execute(cs#qxyeieqr input, IMessageBroker messageBroker, cs#qxyeieqs& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)


Exception Details:

[1] Internal Error: An error occurred in task 'Load OML':

Unexpeceted EOF

Details : System.Xml.XmlException: Unexpeceted EOF ---> System.IO.EndOfStreamException: Unexpeceted EOF

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#2t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#6t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#8t()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#Rt()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

   --- End of inner exception stack trace ---

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

   at Noemax.FastInfoset.XmlFastInfosetReader.Read()

   at OutSystems.Common.XElementReader.cmn#emlnqamu(Int32 bbm)

   at OutSystems.Common.XElementReader.ToXElement()

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmjt(Oml akf, String akg)

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmgq(Oml adj)

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmgn(Oml adf, IInformationForESpaceUpgrade adg)

   at OutSystems.Oml.Oml.cmn#uqmprwog(Stream yp, Boolean yq, IInformationForESpaceUpgrade yr)

   at OutSystems.Oml.Oml.cmn#uqmprwoh(Stream ys, Boolean yt, ObjectKey yu, String yv, Boolean yw, IInformationForESpaceUpgrade yx)

   at OutSystems.Oml.Oml..ctor(Byte[] buffer, String productKey, IInformationForESpaceUpgrade informationForUpgrader)

   at cs#qxyeieqt.Execute(cs#qxyeieqr input, IMessageBroker messageBroker, cs#qxyeieqs& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`2.Run(InputType input, IMessageBroker messageBroker, OutputType& result)

   at cs#qxyeieqj.Execute(cs#qxyeieqh input, IMessageBroker messageBroker, cs#qxyeieqi& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`2.Run(InputType input, IMessageBroker messageBroker, OutputType& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`2.RunAndGetMessages(InputType input, OutputType& result, HEMessageArrayList& messages)

   at OutSystems.HubEdition.DeploymentController.Compiler.PublishEspaceAsync(ICompilerContext context, EspaceToPublish espaceToPublish, EspacePublishOptions options, Int32 userId, String username, Boolean fromIDE, AuditContext auditContext, EspacePublishAsyncResult& result)

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

   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 OutSystems.HubEdition.DeploymentController.Compiler.ClientIPServerSink.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.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   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.Xml.XmlException: Unexpeceted EOF ---> System.IO.EndOfStreamException: Unexpeceted EOF

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#2t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#6t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#8t()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#Rt()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

   --- End of inner exception stack trace ---

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

   at Noemax.FastInfoset.XmlFastInfosetReader.Read()

   at OutSystems.Common.XElementReader.cmn#emlnqamu(Int32 bbm)

   at OutSystems.Common.XElementReader.ToXElement()

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmjt(Oml akf, String akg)

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmgq(Oml adj)

   at OutSystems.Oml.Oml.cmn#bysovedp.cmn#fjksqmgn(Oml adf, IInformationForESpaceUpgrade adg)

   at OutSystems.Oml.Oml.cmn#uqmprwog(Stream yp, Boolean yq, IInformationForESpaceUpgrade yr)

   at OutSystems.Oml.Oml.cmn#uqmprwoh(Stream ys, Boolean yt, ObjectKey yu, String yv, Boolean yw, IInformationForESpaceUpgrade yx)

   at OutSystems.Oml.Oml..ctor(Byte[] buffer, String productKey, IInformationForESpaceUpgrade informationForUpgrader)

   at cs#qxyeieqt.Execute(cs#qxyeieqr input, IMessageBroker messageBroker, cs#qxyeieqs& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`1.InnerRun(InputType input, IMessageBroker messageBroker, Func`1 executeAction)[3] System.IO.EndOfStreamException: Unexpeceted EOF

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#2t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#6t(Int32 )

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#8t()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Gm.#Rt()

   at Noemax.FastInfoset.XmlFastInfosetReader.#Xv.#7u()

Thanks AJ, Ricardo for your comments. It seems the issue was with the memory out of space. Also this has caused file corrupted error due to outsystems crashed. 

Hi Shivam,

Are you parsing an xml file when you get this error? Please share a few more details about what you are doing at the time of the error. To be clear, this is not an issue with your environment or ServiceStudio, just the code.

I would suggest using an online validation tool, to check what's wrong with the xml format.

Regards,

AJ

Hi,

Did you already try do publish it via Service Center?

Maybe you have some kind of development that broke the XML document that goes from Service Studio fo rthe server.


Best regards,

Ricardo Pereira

Thanks AJ, Ricardo for your comments. It seems the issue was with the memory out of space. Also this has caused file corrupted error due to outsystems crashed. 

Thanks for sharing your root cause Shivam!
So is the issue now resolved on your end? Would be great if you could share what you did to resolve the memory issues, it may help someone else down the road.

If resolved, do tag your post as the Solution to close the thread out.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.