Exception Details:[1] System.NullReferenceException: Object reference not set to an instance of an object. at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.WriteFileWithReadFileShare(AbstractObject obj, String fileName, Byte[] content, Boolean isProjectFile, CompilationContext context) at OutSystems.HubEdition.Compiler.Image.DumpFile() at OutSystems.HubEdition.Compiler.ESpace.DumpImageResources() at OutSystems.HubEdition.Compiler.ESpace.Dump() at OutSystems.HubEdition.Compiler.Compiler.DumpEspaceCode(ESpace eSpace, CompilationContext context) at OutSystems.HubEdition.Compiler.Compiler.InnerGenerateCode(ESpace eSpace, CompilationContext context) at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.TrapExceptionsInContext(Action action, CompilationContext context)
after checking this Exception I am trying to publish the old version but still I am geting same error.
Please help me to resolve this issue.
Thank you.
@Madhusudhan Reddy Paspula : It looks like the images in your OML are corrupted. Click on each image to check if it appears in the preview. If not, replace the corrupted images and that should resolve the issue. I had a similar issue in the past, and the solution was to replace the images.
Hello.
Let's start with the basics.
First, export the oml so you can mess around with it.
Was the previous version working? If so, you can try to merge both to fix the errors.
Still not working? Go back to last working version and redo the changes one by one, always testing the deployment.
If nothing works, you can contact Support.
Hi @Madhusudhan Reddy Paspula
Also check for Invalid resources.
If your module has extensions, Images or Extrenal libraries, one of them might be corrupted.
You can try removing/readding them.