Project: Birt
Bug 286598 NPE occurred when edit style which is using in report item's TOC
Reported: 2009-08-13 23:27:21 | Status: closed fixed

Description: NPE occurred when edit style which is using in report item's TOC Build number: 2.5.1.v20090813-0630 Steps to reproduce: 1, New a label 2, New a style 3, Go to label's TOC page 4, Specify toc expression and toc style which refer to the style in step2 5, Make the focus on toc expression and select TOC Style to None 6, Edit the style for example change the text decoration to Overline 7, Press OK Expected result: In step7 No error occurred and style is modified successfully Actual result: NPE occurred in step7 Error log:

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyRecord.java