got java.util.NoSuchElementException on AssignToProjectRole

Issue #14 resolved
Алексей Широких created an issue

Hello! task was created long time ago. we use Active Directory as external directory server original creator already left company. Current reporter want to make transaction that changes assignee to original reporter. got an exception while doing that.

How can i fix it ? JIRA v6.0.6 JIRA Workflow Toolbox 2.1.7

SEN-2582540

Comments (9)

  1. Fidel Castro Armario repo owner

    Hi Aleksey,

    Can you please attach a screenshot with the transition configuration (only post-functions are needed)?

  2. Алексей Широких reporter
    #!xml
    
           <action id="61" name="Доработать" view="fieldscreen">
              <meta name="jira.description"></meta>
              <meta name="jira.fieldscreen.id">11104</meta>
              <results>
                <unconditional-result old-status="Not Done" status="Done" step="2">
                  <post-functions>
                    <function type="class">
                      <arg name="class.name">com.fca.jira.plugins.workflowToolbox.AssignToProjectRole</arg>
                      <arg name="full.module.key">com.fca.jira.plugins.workflowToolbox.workflow-toolboxassign-to-project-role</arg>
                      <arg name="typeOfAssignment">lastAssigned</arg>
                      <arg name="selectedProjectRole">10604</arg>
                    </function>
                    <function type="class">
                      <arg name="field.value"></arg>
                      <arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction</arg>
                      <arg name="field.name">resolution</arg>
                      <arg name="full.module.key">com.atlassian.jira.plugin.system.workflowupdate-issue-field-function</arg>
                    </function>
                    <function type="class">
                      <arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
                      <arg name="full.module.key">com.atlassian.jira.plugin.system.workflowupdateissuestatus-function</arg>
                    </function>
                    <function type="class">
                      <arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
                      <arg name="full.module.key">com.atlassian.jira.plugin.system.workflowcreatecomment-function</arg>
                    </function>
                    <function type="class">
                      <arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
                      <arg name="full.module.key">com.atlassian.jira.plugin.system.workflowgeneratechangehistory-function</arg>
                    </function>
                    <function type="class">
                      <arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
                      <arg name="full.module.key">com.atlassian.jira.plugin.system.workflowreindexissue-function</arg>
                    </function>
                    <function type="class">
                      <arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
                      <arg name="full.module.key">com.atlassian.jira.plugin.system.workflowfireevent-function</arg>
                      <arg name="eventTypeId">7</arg>
                    </function>
                  </post-functions>
    
  3. Fidel Castro Armario repo owner

    Aleksey,

    Can you, please, attach the fragment of the server's log output related to the exception?

    Thanks.

  4. Алексей Широких reporter

    yep. the file called "bug" is from servers log. in a moment of exception

  5. Log in to comment