Getting error while publishing any application.

Hi ,

I am getting this error while publishing any application in my personal environment.

Internal Error

An error occurred in task 'Pull eSpace producer files':

Object reference not set to an instance of an object.

Details : System.NullReferenceException: Object reference not set to an instance of an object.

   at OutSystems.Server.Services.Build.Application.FileManager.CopyAuxiliarFile(String espaceTemporaryPath, String fileName, Boolean placeInPool)

   at OutSystems.Server.Services.Build.Application.FileManager.CopyAuxiliarFiles(String espaceTemporaryPath, String eSpaceName, IEnumerable`1 auxiliaryFiles)

   at cs#lfxcujkz.Execute(cs#lfxcujky input, IMessageBroker messageBroker, PullEspaceProducerFilesForProxyResult& result)

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

Exception Details:

[1] Internal Error: An error occurred in task 'Pull eSpace producer files':

Object reference not set to an instance of an object.

Details : System.NullReferenceException: Object reference not set to an instance of an object.

   at OutSystems.Server.Services.Build.Application.FileManager.CopyAuxiliarFile(String espaceTemporaryPath, String fileName, Boolean placeInPool)

   at OutSystems.Server.Services.Build.Application.FileManager.CopyAuxiliarFiles(String espaceTemporaryPath, String eSpaceName, IEnumerable`1 auxiliaryFiles)

   at cs#lfxcujkz.Execute(cs#lfxcujky input, IMessageBroker messageBroker, PullEspaceProducerFilesForProxyResult& result)

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

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

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

   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

   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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)

   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

[2] System.NullReferenceException: Object reference not set to an instance of an object.

   at OutSystems.Server.Services.Build.Application.FileManager.CopyAuxiliarFile(String espaceTemporaryPath, String fileName, Boolean placeInPool)

   at OutSystems.Server.Services.Build.Application.FileManager.CopyAuxiliarFiles(String espaceTemporaryPath, String eSpaceName, IEnumerable`1 auxiliaryFiles)

   at cs#lfxcujkz.Execute(cs#lfxcujky input, IMessageBroker messageBroker, PullEspaceProducerFilesForProxyResult& result)


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

Try to update your module references and publish again! it worked for me, if it doesn't work republish the producer modules, and update the references again!

Hi try to restart outsystems service studio

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