Bug 199751 getProperty(...) returns null
I created report with user property called "version". Later i need to access that property using BIRT Runtime. I access it using getProperty() method: Report: <list-property name="userProperties"> <structure> <property name="name">version</property> <property name="type">string</property> <property name="isVisible">true</property> </structure> </list-property> <property name="version">1.0</property> Accesing using BIRT Runtime: ReportRunnable reportDesign = engine.openReportDesign("Report.rptdesign"); String version = reportDesign.getProperty("version"); When there's a library linked to Report.rptdesign, version is null. When i remove the library from report design, getProperty() returns correct value.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java
designHandle.getModule( ).apply( visitor );
		design = visitor.getTarget( );
		designHandle = (ReportDesignHandle) design.getHandle( design );
		designHandle.serialize( os );
	}
	/**
	 * Writes the document to the internal output stream.
	 * 
	 * @throws Exception
	 */
	private void serializeNonLineBreakDocument( ) throws Exception
	{
		os = new ByteArrayOutputStream( );
		DocumentUtil.serialize( designHandle, os );
	}
	/**
	 * If two non-named element refers the same shared style, their names should
	 * not be style names.
	 * 
	 * @throws Exception
	 */
	public void testSerializeWithSharedStyle( ) throws Exception
	{
		openDesign( DESIGN_WITH_SHARED_STYLE );
		assertNotNull( designHandle );
		serializeDocument( );
		assertTrue( compareFile( "DocumentUtilTest_shared_style_golden.xml" ) ); 
	}
	/**
	 * For cubes that contains elements in property values. Should no exception.