Bug 300372 [Commands] Doing Ctrl+3 build id command fails with InvalidArgumentException
3.5.2 RC1 Doing Ctrl + 3, followed by build id fails with the following exception: java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:3865) at org.eclipse.swt.SWT.error(SWT.java:3799) at org.eclipse.swt.SWT.error(SWT.java:3770) at org.eclipse.swt.dnd.DND.error(DND.java:282) at org.eclipse.swt.dnd.DND.error(DND.java:228) at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:440) at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:371) at org.eclipse.ui.internal.ide.commands.CopyBuildIdToClipboardHandler.ex ecute(CopyBuildIdToClipboardHandler.java:45) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.ja va:294) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Para meterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommandInConte xt(HandlerService.java:270) at org.eclipse.ui.internal.quickaccess.CommandElement.execute(CommandEle ment.java:49) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.handleElementSe lected(QuickAccessDialog.java:681) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.handleSelection (QuickAccessDialog.java:758) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.access$6(QuickA ccessDialog.java:748)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/commands/CopyBuildIdToClipboardHandler.java
/*******************************************************************************
 * Copyright (c) 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.ui.internal.ide.commands;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.dnd.TextTransfer;
import org.eclipse.swt.dnd.Transfer;
import org.eclipse.ui.handlers.HandlerUtil;
import org.eclipse.ui.internal.ConfigurationInfo;
/**
 * Copies the build ID to the clipboard. Useful for debugging and bug
 * reporting/verification.
 * 
 * @since 3.4
 * 
 */
public class CopyBuildIdToClipboardHandler extends AbstractHandler {