I have found the root cause of this error:

I have a project with a parameter definition like this:

<hudson.model.StringParameterDefinition>
  <name>deployment_reason</name>  
 </hudson.model.StringParameterDefinition>

It is missing the <description> and <defaultValue> tags. It should look like this


<hudson.model.StringParameterDefinition>
  <name>deployment_reason</name> 
  <description /> 
  <defaultValue /> 
 </hudson.model.StringParameterDefinition>

I have changed the code in UnorderedStringSlice for the method addLineWithSets to following:

private static void addLineWithSets(Map<String, Set<String>> map, String s, String name) {
			  if (null == s) {
					LOGGER.severe("found illegal line with null value for name: "+name);
					// do nothing
					return;
				}
        if(!map.containsKey(s)) {
            map.put(s, new HashSet<String>());
        }
        Set<String> list= map.get(s);
        list.add(name);
    }
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to