Bug 209303 [Automation][Smoke]NPE is thrown out when previewing reportdesign
Description: NPE is thrown out when previewing reportdesign TestDate: 20071109 TestBuild: BIRT2.3.0 Daily Build: v20071109-0800 steps to reproduce: - use the attached report design - preview it Expected Result: Report can be previewed without any exception Actual Result: NPE is thrown out. Error log: Please refer to the attachment
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/css/engine/PerfectHashTest.java
assertEquals(StyleConstants.STYLE_MARGIN_LEFT   , PerfectHash.in_word_set("margin-left"));
		assertEquals(StyleConstants.STYLE_MARGIN_RIGHT  , PerfectHash.in_word_set("margin-right"));
		assertEquals(StyleConstants.STYLE_DISPLAY   , PerfectHash.in_word_set("display"));
		assertEquals(StyleConstants.STYLE_TEXT_TRANSFORM   , PerfectHash.in_word_set("text-transform"));
		assertEquals(StyleConstants.STYLE_BACKGROUND_POSITION_Y   , PerfectHash.in_word_set("background-position-y"));
		assertEquals(StyleConstants.STYLE_PADDING_LEFT   , PerfectHash.in_word_set("padding-left"));
		assertEquals(StyleConstants.STYLE_PADDING_RIGHT  , PerfectHash.in_word_set("padding-right"));
		assertEquals(StyleConstants.STYLE_FONT_SIZE  , PerfectHash.in_word_set("font-size"));
		assertEquals(StyleConstants.STYLE_FONT_STYLE , PerfectHash.in_word_set("font-style"));
		assertEquals(StyleConstants.STYLE_WHITE_SPACE, PerfectHash.in_word_set("white-space"));
		assertEquals(StyleConstants.STYLE_ORPHANS   , PerfectHash.in_word_set("orphans"));
		assertEquals(StyleConstants.STYLE_MASTER_PAGE , PerfectHash.in_word_set("master-page"));
		assertEquals(StyleConstants.STYLE_STRING_FORMAT , PerfectHash.in_word_set("string-format"));
		assertEquals(StyleConstants.STYLE_WORD_SPACING , PerfectHash.in_word_set("word-spacing"));
		assertEquals(StyleConstants.STYLE_BACKGROUND_POSITION_X   , PerfectHash.in_word_set("background-position-x"));
		assertEquals(StyleConstants.STYLE_PAGE_BREAK_BEFORE   , PerfectHash.in_word_set("page-break-before"));
		assertEquals(StyleConstants.STYLE_PAGE_BREAK_INSIDE   , PerfectHash.in_word_set("page-break-inside"));
		assertEquals(StyleConstants.STYLE_SHOW_IF_BLANK   , PerfectHash.in_word_set("show-if-blank"));
		assertEquals(StyleConstants.STYLE_FONT_FAMILY  , PerfectHash.in_word_set("font-family"));
		assertEquals(StyleConstants.STYLE_PAGE_BREAK_AFTER   , PerfectHash.in_word_set("page-break-after"));
		assertEquals(StyleConstants.STYLE_MARGIN_BOTTOM   , PerfectHash.in_word_set("margin-bottom"));
		assertEquals(StyleConstants.STYLE_MARGIN_TOP   , PerfectHash.in_word_set("margin-top"));
		assertEquals(StyleConstants.STYLE_WIDOWS   , PerfectHash.in_word_set("widows"));
		assertEquals(StyleConstants.STYLE_PADDING_BOTTOM   , PerfectHash.in_word_set("padding-bottom"));
		assertEquals(StyleConstants.STYLE_PADDING_TOP  , PerfectHash.in_word_set("padding-top"));
		
		
	}
}