Bug 173236 NPE is thrown when opening a design file that is created by a higher version BIRT
1. New a report, switch to xml-source view. 2. Edit the version number in line 2, from 3.2.10 to 3.2.11 and save. 3. Close the report and reopen it. The xml-source view is opened automatically. Switch to lay-out view, there's an error message window, and NPE is thrown in error-log view. When user is trying to open a design file that is created by a higher version BIRT, model will throw an exception and stop parsing the report design file. UI should 1. Prevent the NPE 2. Telling user that he is using a higher version design file that this build does not support. (Catch the exception and reflect the message in the exception to end user)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/DesignParserException.java
public static final String DESIGN_EXCEPTION_INVALID_STRUCTURE_NAME = MessageConstants.DESIGN_PARSER_EXCEPTION_INVALID_STRUCTURE_NAME;
	/**
	 * The property syntax is invalid.
	 */
	public static final String DESIGN_EXCEPTION_INVALID_PROPERTY_SYNTAX = MessageConstants.DESIGN_PARSER_EXCEPTION_INVALID_PROPERTY_SYNTAX;
	/**
	 * The property is not defined.
	 */
	public static final String DESIGN_EXCEPTION_UNDEFINED_PROPERTY = MessageConstants.DESIGN_PARSER_EXCEPTION_UNDEFINED_PROPERTY;
	/**
	 * A unsupported exception occurred. This happens that the unicode signature
	 * in the design file is not UTF-8.
	 */
	public static final String DESIGN_EXCEPTION_UNSUPPORTED_ENCODING = MessageConstants.DESIGN_PARSER_EXCEPTION_UNSUPPORTED_ENCODING;
	/**
	 * The report version is unsupported.
	 */
	public static final String DESIGN_EXCEPTION_UNSUPPORTED_VERSION = MessageConstants.DESIGN_PARSER_EXCEPTION_UNSUPPORTED_VERSION;
	/**
	 * The report version is invalid.
	 */
	public static final String DESIGN_EXCEPTION_INVALID_VERSION = MessageConstants.DESIGN_PARSER_EXCEPTION_INVALID_VERSION;
	/**
	 * The element id is invalid.
	 */
	public static final String DESIGN_EXCEPTION_INVALID_ELEMENT_ID = MessageConstants.DESIGN_PARSER_EXCEPTION_INVALID_ELEMENT_ID;
	/**
	 * The virtual parent element reference by baseId is not found in the parent.
	 */
	public static final String DESIGN_EXCEPTION_VIRTUAL_PARENT_NOT_FOUND = MessageConstants.DESIGN_PARSER_EXCEPTION_VIRTUAL_PARENT_NOT_FOUND;