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
ExtendedItemHandle matrix1 = (ExtendedItemHandle) designHandle
				.findElement( "matrix1" ); 
		assertNotNull( ( (ExtendedItem) matrix1.getElement( ) ).getExtDefn( ) );
		assertTrue( compareFile( "DocumentUtilTest_golden_6.xml" ) ); 
	}
	/**
	 * Test the group name is changed or not based on bugzilla 199537.
	 * 
	 * @throws Exception
	 */
	public void testGroup( ) throws Exception
	{
		openDesign( "DocumentUtilTest_Group.xml" ); 
		serializeDocument( );
		TableHandle tableHandle = (TableHandle) designHandle.getBody( ).get( 0 );
		GroupHandle groupHandle = (GroupHandle) tableHandle.getGroups( )
				.get( 0 );
		assertEquals( "Year", groupHandle.getName( ) ); 
		groupHandle = (GroupHandle) tableHandle.getGroups( ).get( 1 );
		assertEquals( "Month", groupHandle.getName( ) ); 
	}
	/**
	 * Writes the document to the internal output stream.
	 * 
	 * @throws Exception
	 */
	private void serializeDocument( ) throws Exception
	{
		os = new ByteArrayOutputStream( );
		ReportDesignSerializer visitor = new ReportDesignSerializer( );