Bug 145992 [regression] drill through to report document with toc in target does not work properly
steps to reproduce: - create 1st report - add a report element with toc entry - preview in viewer - create 2nd report - add a drill through link to the report document expected behavior: - drill through can be added actual behavior: - when select toc in target, exception was thrown out
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
anchorChooser.setEnabled( anchorChooser.getItemCount( ) > 0 );
		bookmarkEditor.setText( "" ); 
	}
	private List getAllTocNode( TOCNode parent )
	{
		List tocList = new ArrayList( );
		tocList.add( parent.getDisplayString( ) );
		List childToc = parent.getChildren( );
		for ( Iterator iter = childToc.iterator( ); iter.hasNext( ); )
		{
			TOCNode node = (TOCNode) iter.next( );
			tocList.addAll( getAllTocNode( node ) );
		}
		return tocList;
	}
	private void addRadioListener( Button radio, final String type )
	{
		radio.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				if ( selectedType != type )
				{
					switchTo( type );
				}
			}
		} );
	}
	private void updateButtons( )
	{
		boolean okEnable = true;