Bug 175406 Export a report design to a report library gives error. It does not work.
Using nightly build of 2007_2_14. 1) go to outline view 2) right mouse -> export to library 3) specify name and press finish error: An unexpected internal exception occurred.Please see log for detail. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Designer UI Plug-in ID:org.eclipse.birt.report.designer.ui Version:2.2.0.v20070205 Error Code:Error.GUIException.invokedByUnexpectedException Error Message:org.eclipse.birt.report.model.api.elements.structures.TOC
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/BoundColumnsMgr.java
{
		dealListing( element, module );
		for ( int i = 0; i < element.getDefn( ).getSlotCount( ); i++ )
		{
			int level = 3;
			if ( i == IListingElementModel.GROUP_SLOT )
				level = 1;
			LevelContentIterator contents = new LevelContentIterator( module,
					element, level );
			while ( contents.hasNext( ) )
			{
				DesignElement child = (DesignElement) contents.next( );
				if ( child instanceof TableGroup )
				{
					dealListingGroup( (TableGroup) child, module );
					LevelContentIterator grandChildren = new LevelContentIterator(
							module, child, 3 );
					while ( grandChildren.hasNext( ) )
					{
						DesignElement grandChild = (DesignElement) grandChildren
								.next( );
						if ( grandChild instanceof TableRow )
						{
							dealRow( (TableRow) grandChild, module );
						}
						if ( grandChild instanceof Cell )
						{
							dealCell( (Cell) grandChild, module );
						}
						if ( grandChild instanceof ReportItem )