java.util.NoSuchElementException

Atlassian JIRA | Matt Doar [ServiceRocket] | 6 months ago
  1. 0

    JIRA 7.2 EAP 1. Got to Create New Project 2. Select Sample Data 3. Use JPO Demo and JPPDEMO as project name and project key 4. I had also just installed the latest JIRA Portfolio Expected: a new project with sample data to be created Actual: the project create made the project but failed to create the data. The error said "Importer stopped" which wasn't very obvious The exception in catalina.out was: {noformat} 2016-06-16 12:21:12,335 http-nio-8080-exec-8 ERROR admin 741x1303x1 1y5mfn7 0:0:0:0:0:0:0:1 /rest/jira-importers-plugin/1.0/demo/create [c.a.j.p.i.i.importer.impl.AbstractDataImporter$1Thread[http-nio-8080-exec-8,5,main]] Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state java.util.NoSuchElementException at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:154) at com.google.common.collect.Iterators.find(Iterators.java:717) at com.google.common.collect.Iterables.find(Iterables.java:646) at com.atlassian.jira.plugins.importer.imports.importer.impl.systemfields.StatusHistoryItemHandler.mapValue(StatusHistoryItemHandler.java:39) at com.atlassian.jira.plugins.importer.imports.importer.impl.AbstractHistoryItemValueMapper.mapValueWhenApplicable(AbstractHistoryItemValueMapper.java:32) at com.atlassian.jira.plugins.importer.imports.importer.impl.AbstractHistoryItemValueMapper.rewriteHistoryItem(AbstractHistoryItemValueMapper.java:14) at com.atlassian.jira.plugins.importer.imports.importer.impl.OfBizHistoryImporter.importHistory(OfBizHistoryImporter.java:88) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:995) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:798) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:414) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.sample.SampleDataImporterImpl.createSampleData(SampleDataImporterImpl.java:110) at com.atlassian.jira.plugins.importer.sample.SampleDataImporterImpl.createSampleData(SampleDataImporterImpl.java:98) at com.atlassian.jira.plugins.importer.demo.DemoDataImportServiceImpl.importDemoProject(DemoDataImportServiceImpl.java:150) at com.atlassian.jira.plugins.importer.demo.DemoDataImportServiceImpl.createDemoDataProject(DemoDataImportServiceImpl.java:124) at com.atlassian.jira.plugins.importer.rest.DemoDataResource.createDemo(DemoDataResource.java:141) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ... 13 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 36 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 53 filtered at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$489(JiraSecurityFilter.java:76) ... 1 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 20 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 10 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 4 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) ... 29 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 27 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat}

    Atlassian JIRA | 6 months ago | Matt Doar [ServiceRocket]
    java.util.NoSuchElementException
  2. 0

    GAE error when executing mvn appengine:devserver

    Stack Overflow | 2 years ago | Hao
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.17:update (default-cli) on project guestbook: Execution default-cli of goal com.google.appengine:appengine-maven-plugin:1.9.17:update failed.
  3. 0

    Execution default-cli of goal com.google.appengine:appengine-maven-plugin:1.9.32:update failed

    Stack Overflow | 9 months ago | displayname
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.32:update (default-cli) on project mz-parent: Execution default-cli of goal com.google.appengine:appengine-maven-plugin:1.9.32:update failed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 com.google.common.collect.AbstractIterator.next()
    2. Guava
      Iterables.find
      1. com.google.common.collect.AbstractIterator.next(AbstractIterator.java:154)
      2. com.google.common.collect.Iterators.find(Iterators.java:717)
      3. com.google.common.collect.Iterables.find(Iterables.java:646)
      3 frames
    3. com.atlassian.jira
      DemoDataResource.createDemo
      1. com.atlassian.jira.plugins.importer.imports.importer.impl.systemfields.StatusHistoryItemHandler.mapValue(StatusHistoryItemHandler.java:39)
      2. com.atlassian.jira.plugins.importer.imports.importer.impl.AbstractHistoryItemValueMapper.mapValueWhenApplicable(AbstractHistoryItemValueMapper.java:32)
      3. com.atlassian.jira.plugins.importer.imports.importer.impl.AbstractHistoryItemValueMapper.rewriteHistoryItem(AbstractHistoryItemValueMapper.java:14)
      4. com.atlassian.jira.plugins.importer.imports.importer.impl.OfBizHistoryImporter.importHistory(OfBizHistoryImporter.java:88)
      5. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:995)
      6. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:798)
      7. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:414)
      8. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26)
      9. com.atlassian.jira.plugins.importer.sample.SampleDataImporterImpl.createSampleData(SampleDataImporterImpl.java:110)
      10. com.atlassian.jira.plugins.importer.sample.SampleDataImporterImpl.createSampleData(SampleDataImporterImpl.java:98)
      11. com.atlassian.jira.plugins.importer.demo.DemoDataImportServiceImpl.importDemoProject(DemoDataImportServiceImpl.java:150)
      12. com.atlassian.jira.plugins.importer.demo.DemoDataImportServiceImpl.createDemoDataProject(DemoDataImportServiceImpl.java:124)
      13. com.atlassian.jira.plugins.importer.rest.DemoDataResource.createDemo(DemoDataResource.java:141)
      13 frames