Bug 189374 AbstractToolHandleExtends occurs when click the cancle button of Aggregation builder
Description: AbstractToolHandleExtends occurs when click the cancle button of Aggregation builder Build number: 2.2.0.v20070528-1033 Steps to reproduce: 1, Drag the Aggregation into a table's group header 2, Click cancel button stop the insert operation Expected result: The insertion is cancelled without exceptions Actual result: The insertion is cancelled but AbstractToolHandleExtends occurs. Error log: java.lang.Error: Don't find the AbstractToolHandleExtends at org.eclipse.birt.report.designer.internal.ui.palette.BasePaletteFactory.getAbstractToolHandleExtendsFromPaletteName(BasePaletteFactory.java:1146) at org.eclipse.birt.report.designer.internal.ui.palette.ReportTemplateTransferDropTargetListener.handleDrop(ReportTemplateTransferDropTargetListener.java:163) at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:171) at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:850) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/AggDataDropAdapter.java
CellHandle cellHandle = (CellHandle) ( (TableCellEditPart) target ).getModel( );
			try
			{
				cellHandle.addElement( dataHandle, CellHandle.CONTENT_SLOT );
				DataColumnBindingDialog dialog = new DataColumnBindingDialog( true );
				dialog.setInput( dataHandle );
				dialog.setAggreate( true );
				if ( dialog.open( ) == Window.OK )
				{
					dataHandle.setResultSetColumn( dialog.getBindingColumn( )
							.getName( ) );
					SessionHandleAdapter.getInstance( )
							.getCommandStack( )
							.commit( );
				}
				SessionHandleAdapter.getInstance( )
						.getCommandStack( )
						.rollback( );
			}
			catch ( Exception e1 )
			{
				SessionHandleAdapter.getInstance( )
						.getCommandStack( )
						.rollback( );
			}
		}
		return false;
	}
}