Bug 197068 Failure occurs inJunit test of org.eclipse.birt.report.engine.tests in daily build 20070719
Failure occurs inJunit test of org.eclipse.birt.report.engine.tests in daily build 20070719. Please see the attachment for details.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/ReportDocumentBuilder.java
{
				if ( !needSave( content ) )
				{
					return;
				}
				try
				{
					long offset = writeContent( writer, content );
					
					Object generateBy = content.getGenerateBy( );
					if ( generateBy instanceof TableItemDesign
							|| generateBy instanceof ListItemDesign
							|| generateBy instanceof ExtendedItemDesign )
					{
						InstanceID iid = content.getInstanceID( );
						if ( iid != null )
						{
							String strIID = iid.toUniqueString( );
							if ( reportletsIndexById.get( strIID ) == null )
							{
								reportletsIndexById.put( strIID, new Long(
										offset ) );
							}
						}
					}
					String bookmark = content.getBookmark( );
					if ( bookmark != null )
					{
						if ( reportletsIndexByBookmark.get( bookmark ) == null )
						{