Bug 213973 [2.2.2]ClassCastException throws out when preview a table share crosstab
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
if ( query instanceof ISubqueryDefinition )
								{
									ISubqueryDefinition subQuery = (ISubqueryDefinition) query;
									String name = String
											.valueOf( item.getID( ) );
									queries[0] = changeSubqueryName( subQuery,
											name );
								}
							}
							catch ( BirtException ex )
							{
								context.addException( handle, ex );
							}
						}
					}
					return queries;
				}
			}
			BaseQueryDefinition query = createQuery( item, parentQuery );
			try
			{
				transformExpressions( item, query );
			}
			catch ( BirtException ex )
			{
				context.addException( item.getHandle( ), ex );
			}