Community
Participate
Working Groups
Hi, I developed a report server applcation using BIRT 2.1 RC5, I used to generate the csv format. First it generated the rptdocument file, but when generating csv file from the rptdocument file, it thrown NullPointerException. But I tried to use BIRT 2.1 RC4, there is no this issue. It generated the csv file. please see the following exception. And I attached the rptdesign file and rptdocumet file. Thank you Chaohua 2006-06-29 15:22:41,393 102245 INFO [STDOUT] (Thread-44:) Jun 29, 2006 3:22:41 PM com.premierdata.pdssudio.report.service.ReportEngineService getResultSets SEVERE: java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.birt.report.engine.api.impl.DataExtractionTask.loadResultSetMetaData(DataExtractionTask.java:255) at org.eclipse.birt.report.engine.api.impl.DataExtractionTask.prepareMetaData(DataExtractionTask.java:177) at org.eclipse.birt.report.engine.api.impl.DataExtractionTask.getResultSetList(DataExtractionTask.java:376) at com.premierdata.pdssudio.report.service.ReportEngineService.getResultSets(ReportEngineService.java:734) at com.premierdata.pdssudio.report.service.ReportEngineService.generateCSV(ReportEngineService.java:648) at com.premierdata.pdssudio.report.service.CSVHandler.execute(CSVHandler.java:38) at com.premierdata.pdssudio.report.service.actionhandler.IActionHandler.run(IActionHandler.java:108) 2006-06-29 15:22:41,408 102260 INFO [STDOUT] (Thread-44:) Jun 29, 2006 3:22:41 PM com.premierdata.pdssudio.report.service.Re CSV SEVERE: Failed to get result set com.premierdata.pdssudio.report.exceptions.ReportEngineException at com.premierdata.pdssudio.report.service.ReportEngineService.getResultSets(ReportEngineService.java:790) at com.premierdata.pdssudio.report.service.ReportEngineService.generateCSV(ReportEngineService.java:648) at com.premierdata.pdssudio.report.service.CSVHandler.execute(CSVHandler.java:38) at com.premierdata.pdssudio.report.service.actionhandler.IActionHandler.run(IActionHandler.java:108)
Created attachment 45561 [details] rpt design file
Hi, chaohua wang Can you give me the "Selection.rptlibrary" and the "PDSStudioReportHeader.rptlibrary". Because the design file you attached is using these report libraries. The design file cann't work without them. Otherwise you can try new version BIRT. Thanks.
Created attachment 45593 [details] PDSStudioReportHeader.rptlibrary
Created attachment 45594 [details] Selection.rptlibrary
(In reply to comment #2) > Hi, chaohua wang > Can you give me the "Selection.rptlibrary" and the > "PDSStudioReportHeader.rptlibrary". Because the design file you attached is > using these report libraries. The design file cann't work without them. > Otherwise you can try new version BIRT. > Thanks. Hi, Liang Yu, I also tried to use birt designer (2.1 RC5 ) to generate rtpdisgn file. still doesn't wrok. Thank you. Chaohua
Hi, Chaohua, We can not connect your private DataSource "jdbc:jtds:sqlserver://localhost/lf_co_blm". It's helpfule if you can give me the DataSource. > Otherwise you can try new version BIRT. I means you can use BIRT 2.1 Final or download current BIRT's codes to try it. Thank you again for helping us to improve the BIRT.
Hi, Chaohua, I have made some sample design files and test them in birt designer ( both 2.1 RC5 and current version ). I can not reproduce the NullPointerException. Can you give me your private jdbc DataSource? You can remove the sensitive data before give it to me. I will test it immediately when I get it. Thanks.
(In reply to comment #7) > Hi, Chaohua, > I have made some sample design files and test them in birt designer ( both 2.1 > RC5 and current version ). I can not reproduce the NullPointerException. > Can you give me your private jdbc DataSource? You can remove the sensitive data > before give it to me. I will test it immediately when I get it. > Thanks. Hi, Liang Yu, Thank you very mcuh, I will ask DBA to give me permission. he is in vacation right now. Than kyou again. Chaohua
(In reply to comment #8) > (In reply to comment #7) > > Hi, Chaohua, > > I have made some sample design files and test them in birt designer ( both 2.1 > > RC5 and current version ). I can not reproduce the NullPointerException. > > Can you give me your private jdbc DataSource? You can remove the sensitive data > > before give it to me. I will test it immediately when I get it. > > Thanks. > Hi, Liang Yu, > Thank you very mcuh, I will ask DBA to give me permission. he is in vacation > right now. Than kyou again. > Chaohua it thas been fixed in 2.1 final. Thank you.
Resolved in 2.1Final as confirmed by finder.
*** Bug 159243 has been marked as a duplicate of this bug. ***