Bug 192562 NPE throws out in preview when left one requied column member value empty in sorting of crosstab[1102]
Description: NPE throws out in preview when left one requied column member value empty in sorting of crosstab[1102] Build number: 2.2.0.v20070614-0630 Steps to reproduce: 1, New a crosstab 2, Specify the sorting on measure 3, Left one group-level-member empty 4, Preview Expected result: No NPE and give out a warning that the group-level-member should not be null like the behavior of filter Actual result: NPE throws out, and the warning message is incorrect
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/sort/AggrSortDefinition.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.olap.data.impl.aggregation.sort;
import java.util.logging.Logger;
import org.eclipse.birt.data.engine.olap.data.api.DimLevel;
/**
 * 
 */
public class AggrSortDefinition
{
	private DimLevel[] aggrLevels;
	private String aggrName;
	private DimLevel[] axisQualifierLevel;
	private Object[] axisQualifierValue;
	private DimLevel targetLevel;
	private boolean direction;
	private static Logger logger = Logger.getLogger( AggrSortDefinition.class.getName( ) );