Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Digvijay_Singh

Qlik Sense Nprinting Sept 2018 - 2 out of 690 reports generated with 0 bytes and 'failed' suffix

Hi,

We get these issues intermittently when cycle field has more than 150-200 values; I raised ticket in Qlik Support as well but they didn't find reasonable answer for that. 

Sharing log file details showing these errors. Please share if anyone else has faced similar issues. Rerun of report for individual failed values as filter work properly. 

Qlik.NPrinting.Engine 18.29.9.0 Qlik.NPrinting.Engine.Composition.EngineCompositionService 20190129T204156.265-06:00 WARN 01 0 0 0 0 0 0 0 0 Exception handling production request 88d09314-fe44-43d5-81a8-0649daa6463c. ERROR: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.↓↓ at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)↓↓ at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()↓↓ at Aspose.Slides.   .(IFontData , UInt16 )↓↓ at Aspose.Slides.   .(FontClass , IFontData , Boolean , Nullable`1 )↓↓ at Aspose.Slides.   .set_ComplexScriptFont(IFontData )↓↓ at Aspose.Slides.   .3ltdewrzs6ugrvr4d7vwv3rdavsj25m8    (IBasePortionFormat )↓↓ at Aspose.Slides.   .3ltdewrzs6ugrvr4d7vwv3rdavsj25m8    (IBasePortionFormat )↓↓ at Aspose.Slides.BasePortionFormat.(IBasePortionFormat )↓↓ at Aspose.Slides.Paragraph.(IPortionFormat )↓↓ at Aspose.Slides.   .j62ktg8rbs3p5vxe7mb9749eck9wfnzx    ( ,     )↓↓ at Aspose.Slides.Paragraph.get_EndParagraphPortionFormat()↓↓ at Aspose.Slides.   .(IParagraphCollection ,  ,     )↓↓ at Aspose.Slides.   .(ITextFrame ,     ,     )↓↓ at Aspose.Slides.   .(ITextFrame ,  ,     )↓↓ at Aspose.Slides.   .(IAutoShape ,     ,     , ​   )↓↓ at Aspose.Slides.   .(IShape ,     ,     , ​   )↓↓ at Aspose.Slides.   .(IGroupShape ,     ,     , ​   )↓↓ at Aspose.Slides.   .(IBaseSlide ,     ,     )↓↓ at Aspose.Slides.   .(ILayoutSlide ,     ,     )↓↓ at Aspose.Slides.​  .(ILayoutSlide )↓↓ at Aspose.Slides.   .(    , ILayoutSlide ,  ​  ,     )↓↓ at Aspose.Slides.   .(    , IMasterSlide , Boolean ,     )↓↓ at Aspose.Slides.   .(IPresentation , Stream , PresentationTypeEx , IPptxOptions )↓↓ at Aspose.Slides.Presentation.(Stream , PresentationTypeEx , IPptxOptions )↓↓ at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)↓↓ at NPrinting.Reporting.ReportingApp.Powerpoint.PowerpointPres.Clone() in C:\Jws\release-18.29.x\server\NPrinting\src\Legacy\NPrinting.Powerpoint\PowerpointApp.cs:line 336↓↓ at NPrinting.Reporting.Engine.ReportingEngine.ProduceTemplate(ITemplate template) in C:\Jws\release-18.29.x\server\NPrinting\src\Legacy\NPrinting.Reporting.Engine\ReportingEngine.cs:line 66↓↓ at Engine.Reporting.OfficeReportComposer.Compose(Stream outputStream, Template template, ContentTree contentTree, OutputSettings settings) in C:\Jws\release-18.29.x\server\NPrinting\src\Engine.Reporting\OfficeReportComposer.cs:line 53↓↓ at Qlik.Printing.BaseCompositionService.<>c__DisplayClass3_0.<Compose>b__0()

 

Qlik.NPrinting.Engine 18.29.9.0 Qlik.NPrinting.Engine.Composition.EngineCompositionService 20190129T210501.283-06:00 WARN -01 0 0 0 0 0 0 0 0 Exception handling production request b5f2bf3b-0b97-4578-8c47-88a11ee766c3. ERROR: System.IndexOutOfRangeException: Index was outside the bounds of the array.↓↓ at System.UnSafeCharBuffer.AppendString(String stringToAppend)↓↓ at System.String.Join(String separator, String[] value, Int32 startIndex, Int32 count)↓↓ at Aspose.Slides.   .(FontClass , FontData )↓↓ at Aspose.Slides.   .(FontClass , IFontData , Boolean , Nullable`1 )↓↓ at Aspose.Slides.   .set_ComplexScriptFont(IFontData )↓↓ at Aspose.Slides.   .3ltdewrzs6ugrvr4d7vwv3rdavsj25m8    (IBasePortionFormat )↓↓ at Aspose.Slides.   .3ltdewrzs6ugrvr4d7vwv3rdavsj25m8    (IBasePortionFormat )↓↓ at Aspose.Slides.BasePortionFormat.(IBasePortionFormat )↓↓ at Aspose.Slides.Paragraph.(IPortionFormat )↓↓ at Aspose.Slides.   .j62ktg8rbs3p5vxe7mb9749eck9wfnzx    ( ,     )↓↓ at Aspose.Slides.Paragraph.get_EndParagraphPortionFormat()↓↓ at Aspose.Slides.   .(IParagraphCollection ,  ,     )↓↓ at Aspose.Slides.   .(ITextFrame ,     ,     )↓↓ at Aspose.Slides.   .(ITextFrame ,  ,     )↓↓ at Aspose.Slides.   .(IAutoShape ,     ,     , ​   )↓↓ at Aspose.Slides.   .(IShape ,     ,     , ​   )↓↓ at Aspose.Slides.   .(IGroupShape ,     ,     , ​   )↓↓ at Aspose.Slides.   .(IBaseSlide ,     ,     )↓↓ at Aspose.Slides.   .(ILayoutSlide ,     ,     )↓↓ at Aspose.Slides.​  .(ILayoutSlide )↓↓ at Aspose.Slides.   .(    , ILayoutSlide ,  ​  ,     )↓↓ at Aspose.Slides.   .(    , IMasterSlide , Boolean ,     )↓↓ at Aspose.Slides.   .(IPresentation , Stream , PresentationTypeEx , IPptxOptions )↓↓ at Aspose.Slides.Presentation.(Stream , PresentationTypeEx , IPptxOptions )↓↓ at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)↓↓ at Aspose.Slides.Presentation.Save(String fname, SaveFormat format)↓↓ at Engine.Reporting.OfficeReportComposer.Compose(Stream outputStream, Template template, ContentTree contentTree, OutputSettings settings) in C:\Jws\release-18.29.x\server\NPrinting\src\Engine.Reporting\OfficeReportComposer.cs:line 79↓↓ at Qlik.Printing.BaseCompositionService.<>c__DisplayClass3_0.<Compose>b__0()

@mgranillo

@Lech_Miszkiewicz

@Ruggero_Piccoli

@Frank_S

Thanks in advance,

DJ

Labels (1)
1 Solution

Accepted Solutions
Frank_S
Support
Support

Updated:

As per conversations with R&D over the last few days, please note the following:

To all experiencing this issue, we will be locking this case for the time being and accepting this response as 'accepted' while the issue is in under investigation.

Please check the following article for next steps if you discover this issue in your environment.

https://support.qlik.com/articles/000086598

When a solution is found, the article will be updated and I will also come back here and post an update as well.

Kind regards...

cc @Digvijay_Singh 

@Fred 

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

12 Replies
Frank_S
Support
Support

Good afternoon,

I checked your support cases and found "NPrinting related - 2 out of 205 power point reports failed to generate in the destination folder"

Those logs indicated you were using NPrinting 18.9.5 April release and given your response below, you have upgraded and are getting new errors.

If so I would suggest starting a new support case and provide:

1. The exact steps to reproduce the issue,

2. provide a copy of your NP database following these instruction in the article below 

https://support-cdn.qlik.com/articles/000032251

3. provide the Publish Task name, report name along with all logs in your NPrinting logs folder so that we can attempt to reproduce the issue via the support case rather than here.

4. The version of Qlik Sense and NPrinting

5. Any other pertinent information including system technical info requested by tech support agent receives your support request.

NOTE: do NOT provide the details above here in the community. Only via your direct Qlik Support case should you decide to submit one.

Kind Regards..fs

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Digvijay_Singh
Author

Thanks for your response, I will raise the case but haven't had good experience so far with Support team. I was curious to know if someone in community has seen similar error messages.

DJ,

Fred
Partner - Creator
Partner - Creator

I am having exactly the same issue in NPrinting june 2019.
1 out of 71 cycled PowerPoint reports is also 0 bytes and has [FAILED] in the file name.
Warn: Collection was modified; enumeration operation may not execute.

@Digvijay_Singh did you ever found out what was causing the issue?

Ruggero_Piccoli
Support
Support

Hi,

FAILED in the generated report file names usually appears when there are issues with applied filters. Remember that a cycle is a kind of filter. 

For example, you are cycling by country but you have a filter applied to the report that returns no data for some cycled countries. 

So check the filters. Check also the Qlik Engine logs and the task executions page.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Fred
Partner - Creator
Partner - Creator

Thanks for your suggestion @Ruggero_Piccoli .

I checked the data in the dashboard and the applied filters/cycle work without a problem and give results.
When I rerun the task with the same data, no errors appear and all PowerPoint reports are generated (including the previously failed PowerPoint).

I am in contact with support for the issue and will give an update here if we find a fix.

Digvijay_Singh
Author

I experienced the same behavior, its intermittent,  had raised issue to qlik support, they couldn’t figure it out. As individual run of failed report works as a work around, I just closed the case as no one responding from support. But nowadays its happening very frequently for me. Hope someone will figure out the root cause. One thing for sure, Qlik nprinting support doesn’t have needed skills or capacity to manage complex issues, some of my issues were assigned to support reps who didn’t have any exp on nprinting. 

Hope thing will be better in future.

Frank_S
Support
Support

Hi@Digvijay_Singh 

Please submit a new support case to the Qlik Support desk if this is occurring with regular frequency quoting the original case number you reported and mention why you closed it.

I cannot speak to why you may not have been responded to. That too should be addressed with our management and can be discussed with your Qlik Account manager as well to ensure you are being looked after from end to end and to avoid that scenario in the future.

In the meantime, check that the dimensions you are trying to access in a report 'cycle' and report 'filter' do not conflict. Also make sure that the dimension(s) in your report 'cycle' are all valid. Simply create a new simple report with a single valid chart and cycle the report with the dimension that results in "FAILED" report output name. If it works with no other filters in use, there could be some kind of filter/cycle conflict that we should investigate further.

Update to those experiencing this issue: When starting your new support case, please note the original R&D investigation ID as follows when submitting your case.

Qlik NPrinting: OP-8813

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Frank_S
Support
Support

Please check the following article I've just written as well in order to keep updated on the progress surrounding this issue. 

When submitting your case, please mention this article as well.

FAILED appears in the generated NPrinting report file names: https://support.qlik.com/articles/000086598

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Digvijay_Singh
Author

Hi,

We did share our experience with account manager and it didn’t help. 

One important fact to be considered here is same task runs again perfectly sometimes with no change at all. So something is wrong as results are unpredictable with no change in data, filter, report etc

I will raise case again as its troubling frequently these days. We are not able to recreate it with mockups. Its happening when cycle values are too many, in our case its 200-215.

Thanks