Bug 200755 [smoke]Fail to preview Crosstab after deploy BIRT in application servers.[0601][1102]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/AbstractExpressionCompiler.java
/**
	 * process the script tree to produce a <code>CompiledExpression</code>
	 * 
	 * @param expression
	 * @param tree
	 * @param context
	 * @return @throws
	 *         DataException
	 */
	private CompiledExpression processScriptTree( String expression,
			ScriptOrFnNode tree, Context context ) throws DataException
	{
		CompiledExpression expr;
		if ( tree.getFirstChild( ) == tree.getLastChild( ) )
		{
			
			if ( tree.getFirstChild( ).getType( ) != Token.EXPR_RESULT
					&& tree.getFirstChild( ).getType( ) != Token.EXPR_VOID
					&& tree.getFirstChild( ).getType( ) != Token.BLOCK )
			{
				
				throw new DataException( ResourceConstants.INVALID_JS_EXPR,
						expression );
			}
			Node child, parent = tree;
			Node exprNode = parent.getFirstChild( );
			child = exprNode.getFirstChild( );
			if ( child.getNext( ) != null )
				child = exprNode;