Project: Birt
Bug 288607 NPE occurred when remove and reuse a library which name is only a space[01]
Reported: 2009-09-04 03:48:53 | Status: closed fixed

Description: I create a library named " .rptlibrary", after using it in report design. I found the namespace property is not written in report design: <list-property name="libraries"> <structure> <property name="fileName">.rptlibrary</property> </structure> </list-property> 1, Using this library in report design 2, Remove the library in outline of report design 3, Check the library properties in xml (it wasn't removed) 4, Reuse the library again, NPE occurred. Build number: 2.5.1.v20090904-0630

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/StructureHandleTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/elements/structures/IncludedLibrary.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/elements/structures/JoinCondition.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Structure.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ResourceLocatorImpl.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/URIUtilImpl.java