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_TEXT_INDENT, PerfectHash.in_word_set("text-indent"));
		assertEquals(StyleConstants.STYLE_NUMBER_ALIGN, PerfectHash.in_word_set("number-align"));
		assertEquals(StyleConstants.STYLE_NUMBER_FORMAT , PerfectHash.in_word_set("number-format"));
		assertEquals(StyleConstants.STYLE_VERTICAL_ALIGN , PerfectHash.in_word_set("vertical-align"));
		assertEquals(StyleConstants.STYLE_LINE_HEIGHT , PerfectHash.in_word_set("line-height"));
		assertEquals(StyleConstants.STYLE_BACKGROUND_REPEAT  , PerfectHash.in_word_set("background-repeat"));
		assertEquals(StyleConstants.STYLE_BACKGROUND_ATTACHMENT  , PerfectHash.in_word_set("background-attachment"));
		assertEquals(StyleConstants.STYLE_DATE_FORMAT  , PerfectHash.in_word_set("date-format"));
		assertEquals(StyleConstants.STYLE_CAN_SHRINK  , PerfectHash.in_word_set("can-shrink"));
		assertEquals(StyleConstants.STYLE_TEXT_OVERLINE  , PerfectHash.in_word_set("text-overline"));
		assertEquals(StyleConstants.STYLE_TEXT_UNDERLINE  , PerfectHash.in_word_set("text-underline"));
		assertEquals(StyleConstants.STYLE_BACKGROUND_IMAGE   , PerfectHash.in_word_set("background-image"));
		assertEquals(StyleConstants.STYLE_BORDER_TOP_STYLE   , PerfectHash.in_word_set("border-top-style"));
		assertEquals(StyleConstants.STYLE_BORDER_LEFT_STYLE  , PerfectHash.in_word_set("border-left-style"));
		assertEquals(StyleConstants.STYLE_BORDER_RIGHT_STYLE , PerfectHash.in_word_set("border-right-style"));
		assertEquals(StyleConstants.STYLE_BORDER_BOTTOM_STYLE, PerfectHash.in_word_set("border-bottom-style"));
		assertEquals(StyleConstants.STYLE_COLOR   , PerfectHash.in_word_set("color"));
		assertEquals(StyleConstants.STYLE_BORDER_TOP_WIDTH   , PerfectHash.in_word_set("border-top-width"));
		assertEquals(StyleConstants.STYLE_TEXT_LINETHROUGH   , PerfectHash.in_word_set("text-linethrough"));
		assertEquals(StyleConstants.STYLE_BORDER_LEFT_WIDTH  , PerfectHash.in_word_set("border-left-width"));
		assertEquals(StyleConstants.STYLE_BORDER_RIGHT_WIDTH , PerfectHash.in_word_set("border-right-width"));
		assertEquals(StyleConstants.STYLE_BORDER_BOTTOM_WIDTH, PerfectHash.in_word_set("border-bottom-width"));
		assertEquals(StyleConstants.STYLE_BACKGROUND_COLOR  , PerfectHash.in_word_set("background-color"));
		assertEquals(StyleConstants.STYLE_BORDER_TOP_COLOR  , PerfectHash.in_word_set("border-top-color"));
		assertEquals(StyleConstants.STYLE_BORDER_LEFT_COLOR , PerfectHash.in_word_set("border-left-color"));
		assertEquals(StyleConstants.STYLE_BORDER_RIGHT_COLOR, PerfectHash.in_word_set("border-right-color"));
		assertEquals(StyleConstants.STYLE_BORDER_BOTTOM_COLOR , PerfectHash.in_word_set("border-bottom-color"));
		assertEquals(StyleConstants.STYLE_LETTER_SPACING  , PerfectHash.in_word_set("letter-spacing"));
		assertEquals(StyleConstants.STYLE_FONT_WEIGHT   , PerfectHash.in_word_set("font-weight"));
		assertEquals(StyleConstants.STYLE_FONT_VARIANT  , PerfectHash.in_word_set("font-variant"));