Bug 201030 NPE throws out when preview the attached report design
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
}
				}
			}
			else
			{
				isSameType = false;
			}
			if ( isSameType )
				return obArray;
			else if ( obj instanceof Boolean )
				populateObArray( obArray[1], obArray );
			else
				populateObArray( obj, obArray );
			return obArray;
		}
		private static Object[] populateObArray( Object obj, Object[] obArray )
		{
			try
			{
				if ( obj instanceof Number )
				{
					for ( int i = 0; i < obArray.length; i++ )
					{
						obArray[i] = DataTypeUtil.toDouble( obArray[i] );
					}
				}
				else if ( obj instanceof java.sql.Date )
				{
					for ( int i = 0; i < obArray.length; i++ )
					{