Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326893 - java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Summary: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: 2.6.2   Edit
Assignee: Xiaoxiao Wu CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 04:09 EDT by Dawton CLA
Modified: 2010-10-28 23:32 EDT (History)
2 users (show)

See Also:


Attachments
screenshot + XML with data strusture and sample data (163.10 KB, application/zip)
2010-10-05 03:05 EDT, Dawton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.