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/impl/ServiceForQueryResults.java
if( aggrRefList.size( ) > 0)
					{
						aggrRefs.addAll( aggrRefList );
					}
					
					int groupLevel = 0;
					
					int groupLevelInAggr = getGroupLevel( aggrRefs );
					
					if ( !use0AggrLevel )
						groupLevel = groupLevelInAggr;
					
					
					aggrRefMap.put( aggrDefn.getName( ), aggrRefs );
					
					aggrRefGroupLevelMap.put( aggrDefn.getName( ), new Integer( groupLevel) );
				}
				
				popualteCalcuateRound( aggrDefns,
						nameMap,
						aggrRefMap,
						aggrRefGroupLevelMap );
				sortAggrDefnsAccordingToCalLvl( aggrDefns );
			}
			catch ( BirtException be )
			{
				throw DataException.wrap( be );
			}
		}
		private int getGroupLevel( Set aggrRefs ) throws DataException