Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326893

Summary: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Product: z_Archived Reporter: Dawton <dawton>
Component: BIRTAssignee: Xiaoxiao Wu <xwu>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: critical    
Priority: P3 CC: bluesoldier, zqian
Version: unspecified   
Target Milestone: 2.6.2   
Hardware: PC   
OS: Windows 7   
Whiteboard: Obsolete
Attachments:
Description Flags
screenshot + XML with data strusture and sample data none

Description Dawton CLA 2010-10-04 04:09:41 EDT
Build Identifier: M20090211-1700

An exception occurs when "Show Sample Data" button is pressed in Dataset Editor. It happens when the dataset contains a column of type "Date Time" and when some of the column values are NULL. When I change the column type to "Date" only then it works fine.
I have also another column of type "Date Time" in my report with all values != NULL and this is working fine.

Reproducible: Always

Steps to Reproduce:
See details
Comment 1 Dawton CLA 2010-10-05 03:05:46 EDT
Created attachment 180225 [details]
screenshot + XML with data strusture and sample data
Comment 2 Xiaoxiao Wu CLA 2010-10-28 23:11:10 EDT
This bug has been fixed.
Comment 3 Xiaoying Gu CLA 2010-10-28 23:32:54 EDT
Verified in 2.6.2.v20101028-0630.