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 INVALID_BOUND_COLUMN_NAME = "data.engine.InvalidBoundColumnName";
	public final static String INVALID_GROUP_KEY = "data.engine.InvalidGroupKey";
	public final static String COLUMN_BINDING_NOT_EXIST = "data.engine.ColumnBindingNotExist";
	public final static String COLUMN_BINDING_CYCLE = "data.engine.ColumnBindingCycle";
	public final static String COLUMN_BINDING_REFER_TO_INEXIST_COLUMN = "data.engine.ColumnBindingReferToInexistColumn";
	public final static String COLUMN_BINDING_REFER_TO_AGGREGATION_COLUMN_BINDING_IN_PARENT_QUERY = "data.engine.ColumnBindingReferToAggregationColumnBindingInParentQuery";
	
	public final static String EXPR_INVALID_COMPUTED_COLUMN= "data.engine.BadCompColExpr";
	
	public final static String WRONG_DATA_TYPE_COMPUTED_COLUMN= "data.engine.CompCol.WrongDataType";
	public final static String WRONG_DATA_TYPE_SCRIPT_RESULT= "data.engine.ScriptResult.WrongDataType";
	
	
	public final static String INVALID_EXPRESSION_IN_FILTER = "data.engine.BadFilterExpr";
	public final static String INVALID_DEFINITION_IN_FILTER = "data.engine.BadFilterDefn";
	public final static String BAD_GROUP_EXPRESSION = "data.engine.BadGroupExpr";
	public final static String FILTER_EXPR_CONTAIN_ROW_NUM = "data.engine.filterExprContainRowNum";
	public final static String SORT_EXPR_CONTAIN_ROW_NUM = "data.engine.sortExprContainRowNum";
	
	
	public final static String CLOB_OPEN_ERROR = "data.engine.opencloberror";
	public final static String CLOB_READ_ERROR = "data.engine.readcloberror";
	public final static String BLOB_OPEN_ERROR = "data.engine.openbloberror";
	public final static String BLOB_READ_ERROR = "data.engine.readbloberror";
	
	
	public final static String DESTINDEX_OUTOF_RANGE = "data.engine.BadDestIndex";
	public final static String WRITE_TEMPFILE_ERROR = "data.engine.WriteTempError";