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
.getSlotID( );
			if ( slotId == TableHandle.HEADER_SLOT
					|| slotId == TableHandle.FOOTER_SLOT
					|| slotId == TableHandle.GROUP_SLOT )
			{
				return DNDService.LOGIC_TRUE;
			}
			else
			{
				return DNDService.LOGIC_FALSE;
			}
		}
		return DNDService.LOGIC_UNKNOW;
	}
	public boolean performDrop( Object transfer, Object target, int operation,
			DNDLocation location )
	{
		if ( transfer instanceof Object[] )
		{
		}
		if ( transfer.equals( TEMPLATE )
				&& target instanceof TableCellEditPart )
		{
			
			
			SessionHandleAdapter.getInstance( )
					.getCommandStack( )
					.startTrans( TRANS_NAME );
			DataItemHandle dataHandle = DesignElementFactory.getInstance( )
					.newDataItem( null );