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
{
				sameWindowButton.setSelection( true );
			}
			if ( DesignChoiceConstants.FORMAT_TYPE_PDF.equals( inputHandle.getFormatType( ) ) )
			{
				pdfButton.setSelection( true );
			}
			else
			{
				htmlButton.setSelection( true );
			}
		}
		updateButtons( );
	}
	private void initParamterBindings( )
	{
		if ( targetReportHandle != null )
		{
			bindingList.clear( );
			parameterList.clear( );
			String errorMessage = null;
			String newFilename = locationEditor.getText( ).trim( );
			if ( newFilename.length( ) == 0 )
			{
				errorMessage = ERROR_MSG_REPORT_REQUIRED;
			}
			else
			{
				if ( targetReportHandle instanceof ReportDesignHandle )
				{