java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Steps to reproduce: # New Project (Simple Type) # New Issue # Backup # Remove Project # Project Import (and you get) — Status The status 'To Do' is in use by an issue of type 'New Feature' in the backup file. The default workflow 'jira', which is associated with issue type 'New Feature', does not use this status. This workflow is not editable. You must create a project with key 'TST', instead of letting the import create it for you, and associate a workflow with issue type 'New Feature' that uses the status. To do this you will need to use a workflow scheme. — # In separate tab you create project again and # in original tab you click Refresh Validations than you get NPE: java.lang.NullPointerException at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSummary.doReMapAndValidate(ProjectImportSummary.java:139) {code} ... // Clear any mapped values that may have been added to the ProjectImportMapper projectImportData.getProjectImportMapper().clearMappedValues(); … {code} *projectImportData is null* Stack trace: {code} Jun 19, 2014 10:30:19 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [action] in context with path [/jira] threw exception [java.lang.NullPointerException] with root cause java.lang.NullPointerException at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSummary.doReMapAndValidate(ProjectImportSummary.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:87) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) {code}
    via by Stanislav Dvorscak [Atlassian],
  • Steps to reproduce: # New Project (Simple Type) # New Issue # Backup # Remove Project # Project Import (and you get) — Status The status 'To Do' is in use by an issue of type 'New Feature' in the backup file. The default workflow 'jira', which is associated with issue type 'New Feature', does not use this status. This workflow is not editable. You must create a project with key 'TST', instead of letting the import create it for you, and associate a workflow with issue type 'New Feature' that uses the status. To do this you will need to use a workflow scheme. — # In separate tab you create project again and # in original tab you click Refresh Validations than you get NPE: java.lang.NullPointerException at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSummary.doReMapAndValidate(ProjectImportSummary.java:139) {code} ... // Clear any mapped values that may have been added to the ProjectImportMapper projectImportData.getProjectImportMapper().clearMappedValues(); … {code} *projectImportData is null* Stack trace: {code} Jun 19, 2014 10:30:19 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [action] in context with path [/jira] threw exception [java.lang.NullPointerException] with root cause java.lang.NullPointerException at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSummary.doReMapAndValidate(ProjectImportSummary.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:87) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) {code}
    via by Stanislav Dvorscak [Atlassian],
    • java.lang.NullPointerException at com.atlassian.jira.web.action.admin.importer.project.ProjectImportSummary.doReMapAndValidate(ProjectImportSummary.java:139)
    No Bugmate found.