Bug 152300 Model api is wrong.
In the LibrarCommand class,the method reloadLibrary , code lije this: activityStack.commit( ); // clears the activity stack to avoid potential problems. activityStack.flush( ); LibraryReloadedEvent event = new LibraryReloadedEvent( module .getLibraryByLocation( url.toExternalForm( ) ) ); module.broadcast( event ); Please first fire model event,then fire the commandstack event.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryCommand.java
DesignParserException.DESIGN_EXCEPTION_FILE_NOT_FOUND );
			List exceptionList = new ArrayList( );
			exceptionList.add( ex );
			throw new DesignFileException( path, exceptionList );
		}
		Map overriddenValues = null;
		ActivityStack activityStack = getActivityStack( );
		activityStack.startSilentTrans( true );
		try
		{
			
			
			
			overriddenValues = dealAllElementDecendents( library, RELOAD_ACTION );
			doDropLibrary( library );
			doAddLibrary( path, namespace, RELOAD_ACTION, overriddenValues );
		}
		catch ( SemanticException e )
		{
			activityStack.rollback( );
			throw e;
		}
		catch ( DesignFileException e )
		{
			activityStack.rollback( );
			throw e;
		}
		activityStack.commit( );
		
		activityStack.flush( );