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
{
				messageLine.setText( "" ); 
				messageLine.setImage( null );
			}
			paramBindingTable.refresh( );
			paramBindingTable.getTable( )
					.setEnabled( !parameterList.isEmpty( ) );
			updateButtons( );
		}
	}
	private void initBookmarkList( Object handle )
	{
		bookmarkChooser.removeAll( );
		if ( handle != null && handle instanceof ReportDesignHandle )
		{
			bookmarkChooser.setItems( (String[]) ( (ReportDesignHandle) handle ).getAllBookmarks( )
					.toArray( new String[0] ) );
			bookmarkChooser.setText( bookmarkEditor.getText( ) );
		}
		bookmarkChooser.setEnabled( bookmarkChooser.getItemCount( ) > 0 );
	}
	private void initAnchorChooser( Object handle, boolean isToc )
	{
		anchorChooser.removeAll( );
		if ( handle instanceof ReportDesignHandle )
		{
			if ( isToc )
			{
				anchorChooser.setItems( (String[]) ( (ReportDesignHandle) handle ).getAllTocs( )
						.toArray( new String[0] ) );