java.lang.RuntimeException: Backup values were stored incorrectly. Some values were null. See logs above.

Atlassian JIRA | Mauro Fernandez Badii [Atlassian] | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    User Management related error appears when performing a Jira Import on OnDemand displaying this message to the UI: {color:red}Unexpected error while restoring data: com.atlassian.studio.host.common.DataSetupException: Error running user management migration task: null{color} and this error in the logs: {noformat} 2014-05-23 16:45:01,020 JiraImportTaskExecutionThread-1 INFO liam 1002x243x1 ow5a02 117.104.180.121,165.254.226.65 /secure/admin/StudioImport!import.jspa [importer.impl.user.JiraUserServiceImpl] Running user management migration task May 23, 2014 4:45:01 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-13 01/23/2014 06:03 AM' 2014-05-23 16:45:01,605 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] Rolling back User Management. Disabling the dark feature 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.downgrade.unlicensed: [daniel, tony@8hq.co.nz, wei, tom, jason, jon] 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.use.groups: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.use.users: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.admin.groups: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.admin.users: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.site-admins: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.chosen.users: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.chosen.admins: null 2014-05-23 16:45:01,615 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.chosen.site-admins-backup: null 2014-05-23 16:45:01,617 TP-Processor3 ERROR [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Backup values were stored incorrectly. Some values were null. See logs above. java.lang.RuntimeException: Backup values were stored incorrectly. Some values were null. See logs above. at com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.logAllPreviousUseAndAdminGroups(AbstractUpgradeService.java:273) at com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.doDowngrade(AbstractUpgradeService.java:127) at com.atlassian.crowd.plugin.usermanagement.userprovisioning.MigrationResource.undoUpgrade(MigrationResource.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.VoidVoidDispatchProvider$VoidVoidMethodInvoker._dispatch(VoidVoidDispatchProvider.java:71) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) ... {noformat} *More info:* The backup is from a local hosted Jira but was imported there from and OnDemand backup. So: OD => BTF (/) BTF => OD (x) No workaround at the moment. The User Management team is working on it.

    Atlassian JIRA | 3 years ago | Mauro Fernandez Badii [Atlassian]
    java.lang.RuntimeException: Backup values were stored incorrectly. Some values were null. See logs above.
  2. 0

    User Management related error appears when performing a Jira Import on OnDemand displaying this message to the UI: {color:red}Unexpected error while restoring data: com.atlassian.studio.host.common.DataSetupException: Error running user management migration task: null{color} and this error in the logs: {noformat} 2014-05-23 16:45:01,020 JiraImportTaskExecutionThread-1 INFO liam 1002x243x1 ow5a02 117.104.180.121,165.254.226.65 /secure/admin/StudioImport!import.jspa [importer.impl.user.JiraUserServiceImpl] Running user management migration task May 23, 2014 4:45:01 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-13 01/23/2014 06:03 AM' 2014-05-23 16:45:01,605 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] Rolling back User Management. Disabling the dark feature 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.downgrade.unlicensed: [daniel, tony@8hq.co.nz, wei, tom, jason, jon] 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.use.groups: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.use.users: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.admin.groups: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.admin.users: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.existing.site-admins: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.chosen.users: null 2014-05-23 16:45:01,614 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.chosen.admins: null 2014-05-23 16:45:01,615 TP-Processor3 WARN [usermanagement.userprovisioning.spi.AbstractUpgradeService] unified.admin.migration.chosen.site-admins-backup: null 2014-05-23 16:45:01,617 TP-Processor3 ERROR [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Backup values were stored incorrectly. Some values were null. See logs above. java.lang.RuntimeException: Backup values were stored incorrectly. Some values were null. See logs above. at com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.logAllPreviousUseAndAdminGroups(AbstractUpgradeService.java:273) at com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.doDowngrade(AbstractUpgradeService.java:127) at com.atlassian.crowd.plugin.usermanagement.userprovisioning.MigrationResource.undoUpgrade(MigrationResource.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.VoidVoidDispatchProvider$VoidVoidMethodInvoker._dispatch(VoidVoidDispatchProvider.java:71) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) ... {noformat} *More info:* The backup is from a local hosted Jira but was imported there from and OnDemand backup. So: OD => BTF (/) BTF => OD (x) No workaround at the moment. The User Management team is working on it.

    Atlassian JIRA | 3 years ago | Mauro Fernandez Badii [Atlassian]
    java.lang.RuntimeException: Backup values were stored incorrectly. Some values were null. See logs above.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Backup values were stored incorrectly. Some values were null. See logs above.

      at com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.logAllPreviousUseAndAdminGroups()
    2. com.atlassian.crowd
      MigrationResource.undoUpgrade
      1. com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.logAllPreviousUseAndAdminGroups(AbstractUpgradeService.java:273)
      2. com.atlassian.crowd.plugin.usermanagement.userprovisioning.spi.AbstractUpgradeService.doDowngrade(AbstractUpgradeService.java:127)
      3. com.atlassian.crowd.plugin.usermanagement.userprovisioning.MigrationResource.undoUpgrade(MigrationResource.java:81)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      2. com.sun.jersey.server.impl.model.method.dispatch.VoidVoidDispatchProvider$VoidVoidMethodInvoker._dispatch(VoidVoidDispatchProvider.java:71)
      3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
      5. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      6. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      7. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      8. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
      10. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
      11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
      11 frames
    5. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
      2 frames
    6. com.atlassian.plugins
      RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter
      1. com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)
      1 frame
    7. Jersey
      ServletContainer.doFilter
      1. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)
      1 frame
    8. com.atlassian.plugins
      RestDelegatingServletFilter.doFilter
      1. com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73)
      1 frame
    9. com.atlassian.plugin
      ServletFilterModuleContainerFilter.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
      3. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
      4. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
      4 frames