java.util.NoSuchElementException

Atlassian JIRA | Bjarni Thorbjornsson | 9 years ago
  1. 0

    We are getting the following error on some issues when we try to edit them. Also note that nothing happens when I try to change the rank of an issue that is in this "state". We are trying to edit the issue with the default edit screen. The issue in this example has a ranking number. 2008-02-26 15:10:30,822 http-8090-Processor13 ERROR [web.action.issue.EditSubTaskIssue] Exception occurred editing issue: java.util.NoSuchElementException java.util.NoSuchElementException at java.util.TreeMap.key(TreeMap.java:1206) at java.util.TreeMap.lastKey(TreeMap.java:274) at com.pyxis.greenhopper.jira.customfields.RankingCFType.updatePosition(RankingCFType.java:258) at com.pyxis.greenhopper.jira.customfields.RankingCFType.updateValue(RankingCFType.java:121) at com.pyxis.greenhopper.jira.customfields.RankingCFType.setNewIssuePosition(RankingCFType.java:161) at com.pyxis.greenhopper.jira.customfields.RankingCFType.updateValue(RankingCFType.java:107) at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:351) at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:312) at com.atlassian.jira.action.issue.IssueUpdate.doExecute(IssueUpdate.java:59) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at com.atlassian.jira.action.JiraNonWebActionSupport.execute(JiraNonWebActionSupport.java:27) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:36) at com.atlassian.jira.web.action.issue.EditIssue.doExecute(EditIssue.java:197) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Atlassian JIRA | 9 years ago | Bjarni Thorbjornsson
    java.util.NoSuchElementException
  2. 0

    We are getting the following error on some issues when we try to edit them. Also note that nothing happens when I try to change the rank of an issue that is in this "state". We are trying to edit the issue with the default edit screen. The issue in this example has a ranking number. 2008-02-26 15:10:30,822 http-8090-Processor13 ERROR [web.action.issue.EditSubTaskIssue] Exception occurred editing issue: java.util.NoSuchElementException java.util.NoSuchElementException at java.util.TreeMap.key(TreeMap.java:1206) at java.util.TreeMap.lastKey(TreeMap.java:274) at com.pyxis.greenhopper.jira.customfields.RankingCFType.updatePosition(RankingCFType.java:258) at com.pyxis.greenhopper.jira.customfields.RankingCFType.updateValue(RankingCFType.java:121) at com.pyxis.greenhopper.jira.customfields.RankingCFType.setNewIssuePosition(RankingCFType.java:161) at com.pyxis.greenhopper.jira.customfields.RankingCFType.updateValue(RankingCFType.java:107) at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:351) at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:312) at com.atlassian.jira.action.issue.IssueUpdate.doExecute(IssueUpdate.java:59) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at com.atlassian.jira.action.JiraNonWebActionSupport.execute(JiraNonWebActionSupport.java:27) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:36) at com.atlassian.jira.web.action.issue.EditIssue.doExecute(EditIssue.java:197) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Atlassian JIRA | 9 years ago | Bjarni Thorbjornsson
    java.util.NoSuchElementException
  3. 0

    mycat1.4出现java.util.NoSuchElementException

    GitHub | 12 months ago | chenxingbao
    java.util.NoSuchElementException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Infinite loop

    GitHub | 3 years ago | Mastaba
    java.util.NoSuchElementException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.NoSuchElementException

      No message provided

      at java.util.TreeMap.key()
    2. Java RT
      TreeMap.lastKey
      1. java.util.TreeMap.key(TreeMap.java:1206)
      2. java.util.TreeMap.lastKey(TreeMap.java:274)
      2 frames
    3. com.pyxis.greenhopper
      RankingCFType.updateValue
      1. com.pyxis.greenhopper.jira.customfields.RankingCFType.updatePosition(RankingCFType.java:258)
      2. com.pyxis.greenhopper.jira.customfields.RankingCFType.updateValue(RankingCFType.java:121)
      3. com.pyxis.greenhopper.jira.customfields.RankingCFType.setNewIssuePosition(RankingCFType.java:161)
      4. com.pyxis.greenhopper.jira.customfields.RankingCFType.updateValue(RankingCFType.java:107)
      4 frames
    4. com.atlassian.jira
      IssueUpdate.doExecute
      1. com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:351)
      2. com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:312)
      3. com.atlassian.jira.action.issue.IssueUpdate.doExecute(IssueUpdate.java:59)
      3 frames
    5. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:153)
      1 frame
    6. com.atlassian.jira
      JiraNonWebActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      2. com.atlassian.jira.action.JiraNonWebActionSupport.execute(JiraNonWebActionSupport.java:27)
      2 frames
    7. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      1 frame
    8. com.atlassian.core
      DefaultActionDispatcher.execute
      1. com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:36)
      1 frame
    9. com.atlassian.jira
      EditIssue.doExecute
      1. com.atlassian.jira.web.action.issue.EditIssue.doExecute(EditIssue.java:197)
      1 frame
    10. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:153)
      1 frame
    11. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      1 frame
    12. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      1 frame
    13. com.atlassian.jira
      JiraServletDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211)
      1 frame
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame