Publishing error: error broadcasting message to front-end server

Publishing error: error broadcasting message to front-end server

  
Windows 7 enterprise, agile platform 6.0.0.2. Here's the complete error message. I made a very simple application. The message is talking about a graph, but the application contains no graphs....

Publishing Error

Error broadcasting message to Front-end Server nb-leen (127.0.0.1)):System.ArgumentNullException: Objectgrafiek kan niet null zijn.
Parameternaam: graph

Server stack trace:
   bij System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   bij System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
   bij OutSystems.HubEdition.RuntimePlatform.RuntimePlatformUtils.WritePersistentData(String path, String filename, Object data)
   bij #ERb.#HRb.#YRb()
   bij #ERb.#GRb.#YRb()
   bij OutSystems.HubEdition.DeployService.Deploy.#tSb(Exception except, String espaceName, #IRb currentDeploy, Boolean fromCompilerService)
   bij OutSystems.HubEdition.DeployService.Deploy.DeployEspace(String espaceName, Int32 espaceVersionId, String userName, Boolean partial, Boolean forceRedeploy, Boolean alreadyLocked, Boolean fromCompilerService, String uniqueId)
   bij OutSystems.HubEdition.DeployService.Deploy.MessageTransmission(BroadcastMessage msg)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
   bij System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bij System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bij OutSystems.HubEdition.IBroadcastListener.MessageTransmission(BroadcastMessage msg)
   bij #6Mb.#tNb.#dQb(BroadcastMessage msg, Boolean toScheduler).

Exception Details:
[1] Publishing Error: Error broadcasting message to Front-end Server nb-leen (127.0.0.1)):System.ArgumentNullException: Objectgrafiek kan niet null zijn.
Parameternaam: graph

Server stack trace:
   bij System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   bij System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
   bij OutSystems.HubEdition.RuntimePlatform.RuntimePlatformUtils.WritePersistentData(String path, String filename, Object data)
   bij #ERb.#HRb.#YRb()
   bij #ERb.#GRb.#YRb()
   bij OutSystems.HubEdition.DeployService.Deploy.#tSb(Exception except, String espaceName, #IRb currentDeploy, Boolean fromCompilerService)
   bij OutSystems.HubEdition.DeployService.Deploy.DeployEspace(String espaceName, Int32 espaceVersionId, String userName, Boolean partial, Boolean forceRedeploy, Boolean alreadyLocked, Boolean fromCompilerService, String uniqueId)
   bij OutSystems.HubEdition.DeployService.Deploy.MessageTransmission(BroadcastMessage msg)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
   bij System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bij System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bij OutSystems.HubEdition.IBroadcastListener.MessageTransmission(BroadcastMessage msg)
   bij #6Mb.#tNb.#dQb(BroadcastMessage msg, Boolean toScheduler).
bij #6Mb.#tNb.#dQb(BroadcastMessage msg, Boolean toScheduler)
   bij #6Mb.#tNb.BroadcastDeployPartial(Object msgobject)
   bij #6Mb.#tNb.DeployEspaceFirstPart(String eSpaceName, String userName, Boolean force, Boolean partial, Int32 eSpaceVersionId, String uniqueId, Boolean& failedAllServers)
   bij #6Mb.#tNb.DeployEspaceFirstPart(ICompilerContext context, String eSpaceName, String userName, Boolean force, Boolean partial, Int32 eSpaceVersionId, String uniqueId, Boolean& failedAllServers)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
   bij System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   bij System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   bij System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
   bij System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
   bij System.Runtime.Remoting.Channels.DispatchChannelSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   bij System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   bij #6Mb.#tNb.#e.#vNb.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   bij System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
   bij System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
   bij System.Runtime.Remoting.Channels.RequestQueue.ProcessNextRequest(SocketHandler sh)
   bij System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
   bij System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   bij System.Net.ContextAwareResult.CompleteCallback(Object state)
   bij System.Threading.ExecutionContext.runTryCode(Object userData)
   bij System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bij System.Net.ContextAwareResult.Complete(IntPtr userToken)
   bij System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   bij System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   bij System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
[2] System.ArgumentNullException: Objectgrafiek kan niet null zijn.
Parameternaam: graph

Server stack trace:
   bij System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   bij System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
   bij OutSystems.HubEdition.RuntimePlatform.RuntimePlatformUtils.WritePersistentData(String path, String filename, Object data)
   bij #ERb.#HRb.#YRb()
   bij #ERb.#GRb.#YRb()
   bij OutSystems.HubEdition.DeployService.Deploy.#tSb(Exception except, String espaceName, #IRb currentDeploy, Boolean fromCompilerService)
   bij OutSystems.HubEdition.DeployService.Deploy.DeployEspace(String espaceName, Int32 espaceVersionId, String userName, Boolean partial, Boolean forceRedeploy, Boolean alreadyLocked, Boolean fromCompilerService, String uniqueId)
   bij OutSystems.HubEdition.DeployService.Deploy.MessageTransmission(BroadcastMessage msg)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
   bij System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bij System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bij OutSystems.HubEdition.IBroadcastListener.MessageTransmission(BroadcastMessage msg)
   bij #6Mb.#tNb.#dQb(BroadcastMessage msg, Boolean toScheduler)

I once had a problem like that...
  1. Go to X:\Program Files\OutSystems\Platform Server\running
  2. Backup (to another folder) all the .cache files in there (just in case anything goes wrong)
  3. Delete all the .cache files in X:\Program Files\OutSystems\Platform Server\running
  4. Restart the "OutSystems Deployment Controller Service" service
  5. Try publishing again
Hope it helps.
Thanks for your suggestion, but i solved the problem with a reinstall of the agile platform.