Bug 196306 [Commands] RegistryRadioState cannot properly initialize because of NPE
When a RegistryRadioState configured for a contributed command is being read from the registry, an NPE is thrown in RadioState, line 75: private final void activateMember(final RadioState state) { if (active != state) { 75-> active.setValue(Boolean.FALSE); } active = state; } This is because there is no initial active state and no way to provide a non-null value. I believe line 74 should read "if (active != state && active != null) {".
bundles/org.eclipse.jface/src/org/eclipse/jface/commands/RadioState.java
final RadioState state) {
			if (radioStatesById == null) {
				return;
			}
			final Object currentValue = radioStatesById.get(identifier);
			if (currentValue instanceof RadioGroup) {
				final RadioGroup radioGroup = (RadioGroup) currentValue;
				radioGroup.removeMember(state);
			}
		}
	}
	/**
	 * The identifier of the radio group to which this state belongs. This value
	 * may be <code>null</code> if this state doesn't really belong to a group
	 * (yet).
	 */
	private String radioGroupIdentifier = null;
	/**
	 * Unregisters this state from the manager, which detaches the listeners.
	 */
	public void dispose() {
		setRadioGroupIdentifier(null);
	}
	/**
	 * Sets the identifier of the radio group for this piece of state. If the
	 * identifier is cleared, then the state is unregistered.
	 * 
	 * @param identifier
	 *            The identifier of the radio group for this state; may be
	 *            <code>null</code> if the identifier is being cleared.