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
group.setLayout( new GridLayout( ) );
		sameWindowButton = new Button( group, SWT.RADIO );
		sameWindowButton.setText( Messages.getString( "HyperlinkBuilder.DrillThroughSamewindow" ) ); 
		newWindowButton = new Button( group, SWT.RADIO );
		newWindowButton.setText( Messages.getString( "HyperlinkBuilder.DrillThroughNewWindow" ) ); 
	}
	private void createDrillthroughSelectFormat( Composite container )
	{
		Group group = new Group( container, SWT.NONE );
		group.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		group.setText( Messages.getString( "HyperlinkBuilder.DrillThroughStep5" ) ); 
		group.setLayout( new GridLayout( ) );
		htmlButton = new Button( group, SWT.RADIO );
		htmlButton.setText( Messages.getString( "HyperlinkBuilder.DrillThroughHtml" ) ); 
		pdfButton = new Button( group, SWT.RADIO );
		pdfButton.setText( Messages.getString( "HyperlinkBuilder.DrillThroughPdf" ) ); 
	}
	private void createBindingTable( Composite parent )
	{
		Label label = new Label( parent, SWT.NONE );
		label.setText( LABEL_REPORT_PARAMETER );
		label.setLayoutData( new GridData( GridData.VERTICAL_ALIGN_BEGINNING
				| GridData.HORIZONTAL_ALIGN_END ) );
		paramBindingTable = new TableViewer( parent, SWT.BORDER
				| SWT.SINGLE
				| SWT.FULL_SELECTION );
		Table table = paramBindingTable.getTable( );
		GridData gd = new GridData( GridData.FILL_BOTH );
		gd.horizontalSpan = 2;
		gd.heightHint = 60;