| Summary: | Null pointer exception when viewing report that uses localization, variable and library | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Pierre-Alain Blanc <canular> | ||||||
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | Xiaodan Wang <xwang> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier | ||||||
| Version: | 2.5.2 | ||||||||
| Target Milestone: | 3.7.0 | ||||||||
| Hardware: | Other | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | Non-auto | ||||||||
| Attachments: |
|
||||||||
|
Description
Pierre-Alain Blanc
Created attachment 177064 [details]
Stack trace of report viewer when executing report
Created attachment 177066 [details]
report design files (+ library and translation files), ZIP compressed
Strangely does *not* happen when exporting to Excel, only when viewing in web-viewer. Hi, I noticed there is an error in the trace you attached: SEVERE: Failed to get the report runnable org.eclipse.birt.report.engine.api.EngineException: The design file xxx.rptdesign has error and can not be run. Which indicates that the design file has errors. Did you notice any errors in the Problems/Error view? I've tried a report design using sample db on 2.5.2 release, which is similar to the attached test report, but can not reproduce the issue you mentioned. Is there any chance that you can export the data from db to csv flatfile and change the report design to use the flatfile datasource? Can you reproduce this issue by below steps in your build: 1. New a blank report, using the library file you attached 2. New a variable in the report 3. Preview in webviewer I can reproduce the NPE(not the same NPE as you attached) in webviewer by above steps in 2.5.2 but not in the 2.6.0 release. Would you please try the latest 2.6.0 release build to see if it has been already resolved? Hi ! Thanks for the investigations. I've tried the same report under runtime version 2.6.0 and couldn't reproduce it. Seems that the bug was fixed between 2.5.2 and 2.6.0 As it seems to work also when generating Excel under 2.5.2, it is fine for me. You can close the bug. Thanks again for your support ! Fixed in 2.6.0 release. Set as Verified. |