<?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 when no data get NullPointerException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259831#M41174</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is it a bug or &amp;nbsp;I am still not using the component last version ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 15:48:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-13T15:48:37Z</dc:date>
    <item>
      <title>tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259824#M41167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am working with&amp;nbsp;tJasperReportExec downloaded from exchange site to do some reporting.&lt;/P&gt;
&lt;P&gt;My job works just fine when there is some data in the datasource (postgres DB), but when the there is no data (the query return no rows) I get this exception below (even if when I execute the report .jrxml from the TIBCO jaspersoft studio I don't get any error and the report is generated and the subreport in question is just empty)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any Idea why ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The job was compiled in version 6.2.1 (as required in&amp;nbsp;tJasperReportExec)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;16:46:33,587|DEBUG|Fill 3: no data&lt;BR /&gt;16:46:33,588|DEBUG|Fill 3: closing query executer&lt;BR /&gt;16:46:33,588|DEBUG|Fill 3: notifying of completion&lt;BR /&gt;16:46:33,588|DEBUG|Fill 3: notified of fill result&lt;BR /&gt;16:46:33,589|ERROR|Fill 1: exception&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:135)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:396)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:742)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:58)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:216)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259824#M41167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259825#M41168</link>
      <description>&lt;P&gt;The Author of component is answer there, so sure he will consult You&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but by the way - Jan have much better set of components tJasperServerXXXX&lt;/P&gt;&lt;P&gt;yes,You need server for them, but it work like a charm!!!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 11:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259825#M41168</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-06-07T11:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259826#M41169</link>
      <description>&lt;P&gt;Do you mean&amp;nbsp; the&amp;nbsp;&lt;SPAN&gt;Author of component has already answerd this issue ?!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case, I don,t have a jasper server yet (for the moment)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually, I am using reporting &amp;nbsp;only from talend to launch the execution of the reporting file .jrxml (developed in jaspersoft studio)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 14:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259826#M41169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T14:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259827#M41170</link>
      <description>&lt;P&gt;Hi, the stack trace ist not complete. Could you send me the whole stack trace?&lt;/P&gt; 
&lt;P&gt;I am always interested in getting information about possible bugs.&lt;/P&gt; 
&lt;P&gt;It would also be great to see your component settings from your job.&lt;/P&gt; 
&lt;P&gt;You can contact me also directly: jan.lolling@gmail.com if we need to exchange some files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 22:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259827#M41170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T22:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259828#M41171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the detail of my job (quite simple)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 782px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtqJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137118i8D84919C0F7A165A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtqJ.png" alt="0683p000009LtqJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LubJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146834i6F1C405F28811E74/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LubJ.png" alt="0683p000009LubJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 995px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lud9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136158iEF8BCDCD24A7A07E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lud9.png" alt="0683p000009Lud9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the complete log trace&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[statistics] connecting to socket on port 3967&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Exception in component tJasperReportExec_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:135)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:396)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:742)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:58)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:216)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;BR /&gt;[ERROR]: net.sf.jasperreports.engine.fill.JRFillSubreport - Fill 1: exception&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:135)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:396)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:742)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:58)&lt;BR /&gt;at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:216)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;Job test1 terminé à 11:24 08/06/2017. [Code sortie=1]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 10:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259828#M41171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-08T10:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259829#M41172</link>
      <description>&lt;P&gt;It looks like you use an out-dated version of the component. Could you please download a current version from Talend Exchange?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 11:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259829#M41172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-08T11:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259830#M41173</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working with the version 2.3 of the component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Isn't &amp;nbsp;the last version ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just downloaded v 2.3 again from exchange site and did the test &amp;nbsp;again, same exception.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="subTitle"&gt;
 &amp;nbsp;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jun 2017 12:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259830#M41173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-08T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259831#M41174</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is it a bug or &amp;nbsp;I am still not using the component last version ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259831#M41174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-13T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259832#M41175</link>
      <description>&lt;P&gt;I have checked the source code and it looks like it is an inconsistency within the report definition.&lt;/P&gt;
&lt;P&gt;The exception is caused by a missing setting for what should happen if there are no data.&lt;/P&gt;
&lt;P&gt;I actually would expect the JasperLibrary should deal with such situations but the obviously does not expect such situations.&lt;/P&gt;
&lt;P&gt;So far, it is not a problem of the component. Nevertheless I will update the version of the JasperLibrary used in my component - perhaps TIBCO has solved this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend, open the report in the studio and check the settings for No Data in the properties of the report.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259832#M41175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-13T19:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259833#M41176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I modified the&amp;nbsp;report, &amp;nbsp;For No Data in the properties of the report I put empty instead of null.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It worked.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks Jan.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259833#M41176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-14T09:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259834#M41177</link>
      <description>&lt;P&gt;Hi when i am trying to run the jasper report i am getting nullpointer exception in&amp;nbsp;JasperPrint line. For you reference below mentioned my code. Can you please give me any idea?&lt;/P&gt; 
&lt;P&gt;@Override&lt;BR /&gt;public int pvVerificationReportNew(String outputFile, Map&amp;lt;String, Object&amp;gt; parametersMap) {&lt;BR /&gt;Connection jdbcConnection = null;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;int result = -1;&lt;BR /&gt;try {&lt;BR /&gt;jdbcConnection = financeDao.getJdbcTemplate().getDataSource().getConnection();&lt;BR /&gt;String jasperFileName = jasperDir + File.separator + "PVverification.jasper";&lt;BR /&gt;JasperPrint jprint = JasperFillManager.fillReport(jasperFileName, parametersMap, jdbcConnection);&lt;BR /&gt;JasperExportManager.exportReportToPdfFile(jprint,&lt;BR /&gt;outputFile);&lt;BR /&gt;result = 0;&lt;BR /&gt;}&lt;BR /&gt;catch(Exception e) {&lt;BR /&gt;logger.error(e.getMessage(), e);&lt;/P&gt; 
&lt;P&gt;}&lt;BR /&gt;finally{&lt;BR /&gt;PilUtil.close(jdbcConnection);&lt;BR /&gt;}&lt;BR /&gt;return result;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 08:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259834#M41177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-02T08:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259835#M41178</link>
      <description>&lt;P&gt;Hard to say without the stack trace. Could you please post your code as code formatted text here and add please the stack trace.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 08:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259835#M41178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-02T08:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: tJasperReportExec when no data get NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259836#M41179</link>
      <description>&lt;P&gt;Hi buddy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using jasper main report with sub report. It is working when we are click preview button in eclipse.&lt;/P&gt;&lt;P&gt;But while running dynamically we are getting below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resource not found at: report/subreport.jasper.&lt;/P&gt;&lt;P&gt;can you please give me a proper solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;selva.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 13:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJasperReportExec-when-no-data-get-NullPointerException/m-p/2259836#M41179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-02T13:02:00Z</dc:date>
    </item>
  </channel>
</rss>

