<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tJasperReportExec produces empty / blank DOCX in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311635#M82658</link>
    <description>It looks like you an out dated release of this component. Could you please check to download a newer one. 
&lt;BR /&gt;The newer release has an option to check the given parameters if they find their counterpart within the report and fail if not. 
&lt;BR /&gt;If you do not find in Exchange the last release you can download it also here: 
&lt;BR /&gt; 
&lt;A href="http://jan-lolling.de/talend/components/tJasperReportExec.zip" rel="nofollow noopener noreferrer"&gt;http://jan-lolling.de/talend/components/tJasperReportExec.zip&lt;/A&gt;</description>
    <pubDate>Sat, 07 Jan 2017 11:10:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-07T11:10:44Z</dc:date>
    <item>
      <title>tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311634#M82657</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Been trying to use exchange component&amp;nbsp;tJasperReportExec, I am new to jasper reports and not hugely experienced in Talend so likely a dumb error on my part, but...&lt;BR /&gt;&lt;BR /&gt;My aim would be to use this component to produce a DOCX using a parameter to pass a value to the query used to populate the report. I have a simple PoC report which works i generate from &amp;nbsp;jasper reports studio where I have given the parameter a default value. In my talend job I have given the parameter defined in the component a different static value.&lt;BR /&gt;&lt;BR /&gt;My talend job runs without error, the DOCX is saved but is empty. I tried Output Type: PDF and that is empty too.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I removed the parameter definition in the Talend component, re ran the job and the DOCX is populated using the default parameter value defined in the JRXML. So seems to be something in the way I am passing / receiving the parameter&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Some wisdom to move me froward would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cant add a live link but JRXML is available to FTP from here (HTTP:// removed) :&amp;nbsp;&lt;FONT color="#ff0000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times"&gt;support.domino-printing.com/sendfile/4283_agiledoctest3.jrxml&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141778iE0FCF487CA8E594C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGAI.png" alt="0683p000009MGAI.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157842i3605A4592319835E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGAN.png" alt="0683p000009MGAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311634#M82657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-06T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311635#M82658</link>
      <description>It looks like you an out dated release of this component. Could you please check to download a newer one. 
&lt;BR /&gt;The newer release has an option to check the given parameters if they find their counterpart within the report and fail if not. 
&lt;BR /&gt;If you do not find in Exchange the last release you can download it also here: 
&lt;BR /&gt; 
&lt;A href="http://jan-lolling.de/talend/components/tJasperReportExec.zip" rel="nofollow noopener noreferrer"&gt;http://jan-lolling.de/talend/components/tJasperReportExec.zip&lt;/A&gt;</description>
      <pubDate>Sat, 07 Jan 2017 11:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311635#M82658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-07T11:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311636#M82659</link>
      <description>Hi Jan,
&lt;BR /&gt;Thank you for your prompt response and creating this useful component.
&lt;BR /&gt;I had originally sourced a copy from talend exchange, but replaced it with a copy from the link you provided with no change. &amp;nbsp;The good news is I have identified the issue, the query used in the JRXML queried a view that is quite slow to yield results. I tried a different query that was much faster and the Docx is rendered by the &amp;nbsp;&amp;nbsp;tJasperReportExec&amp;nbsp;component using the parameter passed from talend whereas in Jasper it uses the default parameter value.
&lt;BR /&gt;Is there a timeout set I should check the report query should return within?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Adrian</description>
      <pubDate>Tue, 10 Jan 2017 09:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311636#M82659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T09:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311637#M82660</link>
      <description>The handover of parameters works well in this component, I use this in various projects - I am sure about that. 
&lt;BR /&gt;Did you checked the Check Parameters option? This option checks if the given parameter exists in the report and let the job fail if not. 
&lt;BR /&gt;This way we can prevent spelling errors. Without this option a spelling error will not be recognized and the value silently does not reach the report.</description>
      <pubDate>Tue, 10 Jan 2017 10:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311637#M82660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T10:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311638#M82661</link>
      <description>Hi Jan 
&lt;BR /&gt;Yes I agree parameter handover is working well this was not the cause of my problem, I checked the 'check parameters' box, no errors are reported. &amp;nbsp; 
&lt;BR /&gt;The issue seems to be caused by the execution time of the query defined in the JRXML. My original test job was querying a view which takes around 48 seconds to return results. &amp;nbsp;Here I get the empty DOCX. 
&lt;BR /&gt;I made a new test to a different JRXML where I query a different table with an SQL query execution time of typically 0.08 seconds. The DOCX report is rendered correctly. 
&lt;BR /&gt;Clearly I need to look at the view to see if it can be improved to speed up execution time.&amp;nbsp; 
&lt;BR /&gt;But was curious if you had built in a timeout i.e. what is the maximum query execution time the component will tolerate? 
&lt;BR /&gt;Thanks agin for your prompt response. 
&lt;BR /&gt;Adrian</description>
      <pubDate>Tue, 10 Jan 2017 12:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311638#M82661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T12:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311639#M82662</link>
      <description>Hi Adrian, there is no timeout at all (perhaps whole connecting to the database but for sure not for restricting queries!).
&lt;BR /&gt;If you run the query in a normal plain SQL tool you get a correct answer - you said.&amp;nbsp;
&lt;BR /&gt;Are you expecting a large result set (number rows?). I am not sure how the JasperLibrary handles SQL queries. It could be they do not use the fetch size - I will check that. Which kind of database do you use?</description>
      <pubDate>Tue, 10 Jan 2017 12:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311639#M82662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T12:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311640#M82663</link>
      <description>Hi Jan, 
&lt;BR /&gt;Its an oracle 11i database. 
&lt;BR /&gt;Both queries I have tried are written to return a single row. So no large data set expected 
&lt;BR /&gt;Both queries give the correct answer in my SQL tool 
&lt;BR /&gt;Both queries give the &amp;nbsp;the correct answer in Jasper Reports Studio in data-set query editor dialog&amp;nbsp;&amp;nbsp;(and render the report preview and export to DOCX correctly) 
&lt;BR /&gt;It's only in the talend component the I see the issue with the longer running query. Having said that I have manged to recreate the view in a slightly more efficient form with &amp;nbsp;SQL execution around 11 seconds and the DOCX gets rendered correctly by the component. So I have an effective workaround now. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks for all the support 
&lt;BR /&gt;Adrian</description>
      <pubDate>Tue, 10 Jan 2017 13:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311640#M82663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T13:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311641#M82664</link>
      <description>It could be a matter of the used JDBC driver. Could you please execute the query inside a tOracleInput component (with an example parameter)? It would be great to know if you get here also the expected result.&amp;nbsp;</description>
      <pubDate>Tue, 10 Jan 2017 14:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311641#M82664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T14:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311642#M82665</link>
      <description>Hi Jan, 
&lt;BR /&gt;So ran the test you requested: toracleinput component with same parameter value set as a context variable in the same SQL as used in the JRXML, output to tlogrow is correct. 
&lt;BR /&gt;But, The view I am querying has been changed and returns results faster, which as reported yesterday doesn't seem to be a problem when using your japser component anymore. So is probably not a representative test.</description>
      <pubDate>Wed, 11 Jan 2017 10:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311642#M82665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-11T10:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec produces empty / blank DOCX</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311643#M82666</link>
      <description>I guess it is a problem with the JasperLibrary and the way they setup the statement. In a normal Oracle component you can have a fetch size and I am not sure if the JasperLibrary does the same. I will take a look at it. It should never be a matter of this library to decide a query runs to long.</description>
      <pubDate>Wed, 11 Jan 2017 11:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-produces-empty-blank-DOCX/m-p/2311643#M82666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-11T11:10:57Z</dc:date>
    </item>
  </channel>
</rss>

