Bug 190092 NPE throws out in preview when left one requied column member value empty[1102]
Description: NPE throws out in preview when left one requied column member value empty. Build number: 2.2.0.v20070531-0630 Steps to reproduce: 1, New a crosstab 2, Specify the filter 3, Specify the target level, filter condition 4, If there are some column member value, such as year, quarter and month. Only specify year and quarter. 5, Preview(or preview the attached report design) Expected result: No NPE throws out. And suggestion is we can do some restrict in GUI, if the we don't specify all the member value the GUI don't allow user left the page. But DATA part should handle the NPE exception Actual result: NPE throws out Error log: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.NullPointerException org.eclipse.birt.data.engine.olap.data.impl.dimension.DimensionFilterHelper.find(DimensionFilterHelper.java:69) org.eclipse.birt.data.engine.olap.data.impl.dimension.DimensionFilterHelper.find(DimensionFilterHelper.java:45) org.eclipse.birt.data.engine.olap.data.impl.dimension.Dimension.find(Dimension.java:165) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.getSimpleFilterResult(CubeQueryExecutorHelper.java:1397) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.getFilterResult(CubeQueryExecutorHelper.java:1280) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.onePassExecute(CubeQueryExecutorHelper.java:552) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.applyAggrFilter(CubeQueryExecutorHelper.java:503) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.execute(CubeQueryExecutorHelper.java:299)
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/ResourceConstants.java
public final static String RD_EXPR_RESULT_SET_NOT_START = "data.engine.ResultSetNotStart";
	
	public final static String INVALID_ROW_INDEX = "data.engine.invalidRowIndex";
	public final static String BACKWARD_SEEK_ERROR = "data.engine.backwardSeekError";
	public final static String START_ERROR = "data.engine.startError";
	
	
	public final static String RD_INVALID_FILTER = "data.engine.rd.errorfilters";
	
	
	public final static String SCRIPT_EVAL_ERROR = "data.engine.ScriptEvalError";
	public final static String PREPARED_QUERY_CLOSED = "data.engine.PreparedQueryClosed";	
	public final static String DEFAULT_INPUT_PARAMETER_VALUE_CANNOT_BE_NULL = "data.engine.NullDefaultInParamValue";
	public final static String INVALID_GROUP_EXPR = "data.engine.BadGroupKeyExpr";
	public final static String GROUP_NOT_EXIST = "data.engine.GroupNotExist";
	public final static String INVALID_SORT_EXPR = "data.engine.BadSortKeyExpr";
	public final static String PARAMETER_METADATA_NOT_SUPPORTED = "data.engine.NoParamMetaForDataSource";
	public final static String UNEXPECTED_ERROR = "data.engine.UnexpectedError";
	public final static String CANNOT_CONVERT_PARAMETER_TYPE = "data.engine.ConvertDataTypeError";
	public static final String CANNOT_INSTANTIATE_AGGREGATION_FACTORY = "data.engine.CannotInstantiateAggregationFactory";
	public static final String DUPLICATE_AGGREGATION_NAME = "date.engine.DuplicateAggregationName";
	public static final String INCORRECT_GROUP_KEY_VALUES = "data.engine.incorrectGroupKeyValues";
	public static final String NO_EXPRESSION_PROCESSOR_AVAILABLE = "data.engine.NoExpressionProcessorAvailable";
	public static final String INCONVERTIBLE_DATATYPE="data.engine.InconvertibleDatatype";
	public static final String CONVERT_TO_DATATYPE_ERROR="data.engine.ConvertToDataTypeError";
	public static final String NO_ROW_UPDATE="data.engine.NoRowUpdate";
	public static final String BAD_DATA_TYPE= "data.engine.BadDataType";
	public static final String BAD_DATA_EXPRESSION="data.engine.BadDataExpression";
	
	public static final String CACHE_FUNCTION_WRONG_MODE="data.engine.cacheFunctionWrongMode";