Bug 168177 [2.1.2][regression]DataException when preview attached report in Web Viewer.[0901]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java
{
					String name = it.next( ).toString( );
					result.put( name, gbc.getExpression( name ) );
				}
			}
			return result;
		}
		
		/*
		 * (non-Javadoc)
		 * @see org.eclipse.birt.data.engine.odi.IEventHandler#getColumnMappings()
		 */
		public Map getAllColumnBindings( )
		{
			return  getColumnBindings(ServiceForQueryResults.this.queryDefn);
		}
		
		/**
		 * Get column bindings of certain query.
		 * 
		 * @param defn
		 * @return
		 */
		private Map getColumnBindings(IBaseQueryDefinition defn) 
		{
			Map result = defn.getResultSetExpressions();
		
			
			result.putAll(populateGroupColumnBindings(defn.getGroups()
					.iterator()));