cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Error not showing up in diagnostics console

Garrett_Weber
Star Collaborator
Star Collaborator

I am trying to compose a test document to see if my placeholder will display the fragment correctly but when I attempt to compose I am repeatedly getting an exception error. I turned on diagnostics console but its not showing anything when this error occurs. What is my best course of action to try to troubleshoot/diagnose the problem on my template? Note this template works fine without this placeholder it also works fine when the field I'm evaluation is set to Yes but when the Default condition is met it gives this error.

Here is the exception information:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Hyland.Office.DocumentComposition.Controls.SharedModule.OpenTempFileFromBytes(Byte[] docBytes, Boolean readOnly)
   at Hyland.Office.DocumentComposition.Controls.SharedModule.composePreview(Int64 templateID, Int64 documentID)
   at Hyland.Office.DocumentComposition.Controls.SharedModule.ComposePreview(Template template, TestingSourceType testingSourceType, Int64 documentID, Int64 xmlID, String xml, Boolean isXmlChanged)
   at Hyland.Office2010.DocumentComposition.Config.Ribbon.OnBtnTestTemplate(IRibbonControl control)

1 ACCEPTED ANSWER

Tony_Maimone
Star Collaborator
Star Collaborator

I recommend contacting your first line of support for more assistance.

View answer in original post

7 REPLIES 7

Garrett_Weber
Star Collaborator
Star Collaborator

I confirmed it was the right when I got the line in the diagnostics console its the correct existing fragment.

Tony_Maimone
Star Collaborator
Star Collaborator

I recommend contacting your first line of support for more assistance.

Ather_Jan
Champ on-the-rise
Champ on-the-rise
Dear Garrett,
This could be a result of composing the test from an old form.As such the new placeholder that you have created in the template do not recognize the fields in the form. Submit a new form and choose that form as your test document and test the composition on it.