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
/**
		 * The map of radio states indexed by identifier (<code>String</code>).
		 * The radio states is either a single <code>RadioState</code>
		 * instance or a <code>Collection</code> of <code>RadioState</code>
		 * instances.
		 */
		private static Map radioStatesById = null;
		/**
		 * Activates a particular state within a given group.
		 * 
		 * @param identifier
		 *            The identifier of the group to which the state belongs;
		 *            must not be <code>null</code>.
		 * @param state
		 *            The state to activate; must not be <code>null</code>.
		 */
		private static final void activateGroup(final String identifier,
				final RadioState state) {
			if (radioStatesById == null) {
				return;
			}
			final Object currentValue = radioStatesById.get(identifier);
			if (currentValue instanceof RadioGroup) {
				final RadioGroup radioGroup = (RadioGroup) currentValue;
				radioGroup.activateMember(state);
			}
		}
		/**
		 * Registers a piece of state with the radio manager.
		 *