java.util.concurrent.ExecutionException: java.lang.NullPointerException

Atlassian JIRA | Brenden Bain [Atlassian] | 7 years ago
  1. 0

    Project Import can throw a NPE when importing data with invalid custom field configuration. In this case, there was a custom {{fieldconfigscheme}} but no associated {{fieldconfigschemeissuetype}}. This lead to this exception: {noformat} java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.atlassian.jira.task.TaskDescriptorImpl.getResult(TaskDescriptorImpl.java:114) at com.atlassian.jira.web.bean.TaskDescriptorBean.getResult(TaskDescriptorBean.java:77) at com.atlassian.jira.web.action.admin.importer.project.ProjectImportBackupOverviewProgress.handleFinishedTask(ProjectImportBackupOverviewProgress.java:34) at com.atlassian.jira.web.action.admin.importer.project.AbstractProjectImportProgress.doExecute(AbstractProjectImportProgress.java:63) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:59) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:141) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) ... Caused by: java.lang.NullPointerException at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getIssueTypesList(BackupOverviewBuilderImpl.java:282) at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getCustomFieldConfigurations(BackupOverviewBuilderImpl.java:220) at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getProjects(BackupOverviewBuilderImpl.java:187) at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getBackupOverview(BackupOverviewBuilderImpl.java:115) at com.atlassian.jira.imports.project.handler.BackupOverviewHandler.getBackupOverview(BackupOverviewHandler.java:28) at com.atlassian.jira.imports.project.DefaultProjectImportManager.getBackupOverview(DefaultProjectImportManager.java:184) at com.atlassian.jira.bc.imports.project.DefaultProjectImportService.getBackupOverview(DefaultProjectImportService.java:180) at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectBackup$BackupOverviewCallable.call(ProjectImportSelectBackup.java:199) at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectBackup$BackupOverviewCallable.call(ProjectImportSelectBackup.java:187) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) {noformat}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
  2. 0

    Project Import can throw a NPE when importing data with invalid custom field configuration. In this case, there was a custom {{fieldconfigscheme}} but no associated {{fieldconfigschemeissuetype}}. This lead to this exception: {noformat} java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.atlassian.jira.task.TaskDescriptorImpl.getResult(TaskDescriptorImpl.java:114) at com.atlassian.jira.web.bean.TaskDescriptorBean.getResult(TaskDescriptorBean.java:77) at com.atlassian.jira.web.action.admin.importer.project.ProjectImportBackupOverviewProgress.handleFinishedTask(ProjectImportBackupOverviewProgress.java:34) at com.atlassian.jira.web.action.admin.importer.project.AbstractProjectImportProgress.doExecute(AbstractProjectImportProgress.java:63) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:59) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:141) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) ... Caused by: java.lang.NullPointerException at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getIssueTypesList(BackupOverviewBuilderImpl.java:282) at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getCustomFieldConfigurations(BackupOverviewBuilderImpl.java:220) at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getProjects(BackupOverviewBuilderImpl.java:187) at com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.getBackupOverview(BackupOverviewBuilderImpl.java:115) at com.atlassian.jira.imports.project.handler.BackupOverviewHandler.getBackupOverview(BackupOverviewHandler.java:28) at com.atlassian.jira.imports.project.DefaultProjectImportManager.getBackupOverview(DefaultProjectImportManager.java:184) at com.atlassian.jira.bc.imports.project.DefaultProjectImportService.getBackupOverview(DefaultProjectImportService.java:180) at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectBackup$BackupOverviewCallable.call(ProjectImportSelectBackup.java:199) at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectBackup$BackupOverviewCallable.call(ProjectImportSelectBackup.java:187) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) {noformat}

    Atlassian JIRA | 7 years ago | Brenden Bain [Atlassian]
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
  3. 0

    Importer java.util.concurrent.ExecutionException

    GitHub | 3 years ago | jodygarnett
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 9#58572210

    GitHub | 2 years ago | intellerati
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
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.concurrent.ExecutionException

    java.lang.NullPointerException

    at java.util.concurrent.FutureTask$Sync.innerGet()
  2. Java RT
    FutureTask.get
    1. java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    2. java.util.concurrent.FutureTask.get(FutureTask.java:83)
    2 frames
  3. com.atlassian.jira
    AbstractProjectImportProgress.doExecute
    1. com.atlassian.jira.task.TaskDescriptorImpl.getResult(TaskDescriptorImpl.java:114)
    2. com.atlassian.jira.web.bean.TaskDescriptorBean.getResult(TaskDescriptorBean.java:77)
    3. com.atlassian.jira.web.action.admin.importer.project.ProjectImportBackupOverviewProgress.handleFinishedTask(ProjectImportBackupOverviewProgress.java:34)
    4. com.atlassian.jira.web.action.admin.importer.project.AbstractProjectImportProgress.doExecute(AbstractProjectImportProgress.java:63)
    4 frames
  4. webwork.action
    ActionSupport.execute
    1. webwork.action.ActionSupport.execute(ActionSupport.java:153)
    1 frame
  5. com.atlassian.jira
    JiraActionSupport.execute
    1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:59)
    1 frame
  6. webwork.dispatcher
    GenericDispatcher.executeAction
    1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:141)
    1 frame
  7. com.atlassian.jira
    JiraServletDispatcher.service
    1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:181)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  9. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames