Bug 124600 delete Grid Column causes NPE thrown out in error log
steps to reproduce: - insert a 3*3 grid - delete grid columns one by one expected behavior: - these operations should completed without any error. actual behavior: - after i deleted the 3rd column, NPE was thrown out in error log.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DNDUtil.java
}
						catch ( LibraryException e )
						{
							
						}
					}
				}
				addCommandToCompound( array[i], targetObj, position,
						commandName, commandType, commands );
				if ( position > -1 )
				{
					position++;
				}
			}
		}
		else if ( transferData instanceof DesignElementHandle
				|| transferData instanceof IDesignElement )
		{
			if ( targetObj instanceof ReportElementModel
					|| targetObj instanceof DesignElementHandle
					|| targetObj instanceof SlotHandle )
			{
				commands.add( getNewCommand( commandType, transferData,
						targetObj, position ) );
			}
		}
		else if ( transferData instanceof IStructure )
		{
			commands.add( new PasteStructureCommand( (IStructure) transferData,
					targetObj ) );