17
Views
3
Comments
Solved
Internal error:  Invalid compiler output. Object Referenece is not set to an instance

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.

2019-01-07 16-04-16
Siya
 
MVP
Solution

@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.

2016-04-22 00-29-45
Nuno Reis
 
MVP

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.

2025-07-22 10-30-27
Mandar Deshpande

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.

2019-01-07 16-04-16
Siya
 
MVP
Solution

@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.

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