| Summary: | DBCS 3.3 - Eclipse crash when previewing Korean bar chart | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Geoffrey Hung <cyhung> |
| Component: | BIRT | Assignee: | Yulin Wang <Lionel.wyl> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P1 | CC: | camle, clin, cyfgod, doshiro, kantliu, kitlo, steven.wasleski |
| Version: | 2.2.0 | ||
| Target Milestone: | 2.2.0 RC0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 162039 | ||
| Bug Blocks: | |||
| Attachments: | |||
Created attachment 62656 [details]
image for reference
Created attachment 62657 [details]
java snap for reference
This problem happens in Linux only This happens on any locale on Linux. I have tested on 20070402 build. To reproduce: 1. Copy attached Test_Report_Chart_Format.rptdesign and Chart.csv into Linux file system. 2. Start eclipse on Linux and import Test_Report_Chart_Format.rptdesign. 3. Set the data source path to the directory where you have copied Chart.csv. 4. Preview the report. --> Nothing displayed. 5. Clock Layout tab --> Core dump. Created attachment 62711 [details]
Report to reproduce this problem
View Report in Web Viewer works with Korean(and other) on Linux. So to continue testing, please preview the report as View Report in Web Viewer from File->View report menu. Geoffrey, can you use the web viewer as a workaround for continuing tests? (Preview and web viewer follow similar logic and have similar output.) Doshiro-san, since this could cause a crash, it should be deemed as a major issue. Can this bug be given a higher priority for investigation and fix? That would help completing the globalization enablement test for this feature. We still get Eclipse crashed by using web preview There is a bug, BIRT V2.2 can't run in Linux, so I can't reproduce it. I will fix it after the bug#162039 fixing. According to Bug 162039, the crash problem on Linux has happened sporadically for a few months (as early as October 2006), and it may be caused by SWT. Is there a bug submitted for SWT/platform on the specific symptom? This bug is duplicate of 162039, but not resolved yet. Jerry, could you find or file a bug for SWT/platform issue? Because eclipse SWT isn't stable, you can switch to use external browser to prerview report. It can avoid this crash issue. Please open window->preference->Report Design->Preview Then check "always use external browsers". Input command line "mozilla %1" in the below text field. A quick update for the crash problem, it is gone when we use the 20070413 build. However, the orginal problem, exception "Unable to use a non-datetime data to render a datetime axis." is still there. Also, one point should be highlighted is this exception will occure if we use orders_YMD.csv as test data, but will be perfect if we use orders_MDY.csv. However, according to the Korea locale setting, we should use the YMD data. Hopefully, this can help to narrow down the problem. (In reply to comment #14) > A quick update for the crash problem, it is gone when we use the 20070413 > build. > However, the orginal problem, exception "Unable to use a non-datetime data to > render a datetime axis." is still there. > > Also, one point should be highlighted is this exception will occure if we use > orders_YMD.csv as test data, but will be perfect if we use orders_MDY.csv. > However, according to the Korea locale setting, we should use the YMD data. > Hopefully, this can help to narrow down the problem. > Please attach your report to reproduce the issue you mentioned or file another bug. If crash issue has been resolved by eclipse, I will mark it as resolved. Created attachment 64413 [details]
report file and order with different format
This exception will occur if we use orders_YMD.csv as test data.
The exception is caused by the wrong column type of null date. This has been fixed already. *** This bug has been marked as a duplicate of bug 181361 *** Created attachment 65150 [details]
before workaround Test_Report_Chart_Date_Step.rptdesign
Before workaround Test_Report_Chart_Date_Step.rptdesign, the version="3.2.10"
Created attachment 65151 [details]
before workaround, choose layout option error message
before workaround, choose layout option error message.
Created attachment 65152 [details]
modify Test_Refport_Chart_Date_Step.rptdesign
Our work around consists in modifying the version in Test_Report_Chart_Step.rtpdesign panel to version="3.2.7"
Created attachment 65153 [details]
after workaround, successful view when browsing layout option
after workaround, successful view when browsing layout option.
|
Product Build#: Eclipse M6 + birt-report-framework-sdk-2.2.0-N20070321 Platform/Version : RHEL50 Language: Korean Releated Test Case #: 01 BIRT - DATE STEP Same problem in English: No ===== DEFECT DESCRIPTION ===== When preview the bar chart report, it is blank on the preview panel and an error msg is on the bottom of panel. "Unable to use a non-datetime data to render a datetime axis." The 20070321 build will crash Eclipse by the same steps below. ===== STEPS TO RECREATE ===== Step 1: Start Eclipse and if the current perspective is not the Report Designer, set the perspective to Report Designer from Window->Open Perspective->Other... Step 2: On Navigator view, right click the project and select Import, select File System, and select the Test_Report_Chart_Date_Step.rptdesign. Then, click Finish. Step 3: Copy either orders_DMY.csv, orders_MDY.csv, or orders_YMD.csv to orders.csv depends on the Date format of your locale. Step 4: Double click the Test_Report_Chart_Date_Step.rptdesign on Navigator view. The report design is displayed. Then, double click the Data Source and set the “Select Folder” to the path you have copied order.csv file in Step 3. Step 5: Preview the report by clicking Preview tab. ===== EXPECTED RESULT ===== the bar chart should be displayed.