java.lang.RuntimeException: Custom field 'sd.origin.customfield.default.name' with ID '10100' exists in DB, but was not returned by the custom field service.

Atlassian JIRA | Matthew Hunter | 2 years ago
  1. 0

    Any JIRA Cloud server that has JIRA Service Desk data on it will not currently be able to migrate to to a JIRA Server (locally hosted) account. You may see the following errors in your logs: {noformat} JiraImportTaskExecutionThread-1 ERROR admin 425x8052x1 1nhqz1a 0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'null' of plugin 'com.atlassian.servicedesk'. Disabling. java.lang.NullPointerException at com.atlassian.jira.config.DefaultReindexMessageManager.pushMessage(DefaultReindexMessageManager.java:114) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager.checkReindexRequired(OfBizPluginIndexConfigurationManager.java:152) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager.access$300(OfBizPluginIndexConfigurationManager.java:44) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager$2.get(OfBizPluginIndexConfigurationManager.java:117) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager$2.get(OfBizPluginIndexConfigurationManager.java:110) at com.atlassian.fugue.Option$2.fold(Option.java:373) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager.put(OfBizPluginIndexConfigurationManager.java:109) at com.atlassian.jira.index.property.CachingPluginIndexConfigurationManager.put(CachingPluginIndexConfigurationManager.java:70) at com.atlassian.jira.plugin.index.EntityPropertyIndexDocumentModuleDescriptorImpl.enabled(EntityPropertyIndexDocumentModuleDescriptorImpl.java:56) at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1913) at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1705) at com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleAvailable(DefaultPluginManager.java:558) at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.osgi.factory.ModuleDescriptorServiceTrackerCustomizer.addingService(ModuleDescriptorServiceTrackerCustomizer.java:46) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:840) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3726) at org.apache.felix.framework.Felix.access$000(Felix.java:80) at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717) at org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:107) at org.apache.felix.framework.Felix.registerService(Felix.java:2847) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229) at com.atlassian.pocketknife.internal.lifecycle.modules.DynamicModuleRegistration.registerModule(DynamicModuleRegistration.java:81) at com.atlassian.pocketknife.internal.lifecycle.modules.DynamicModuleRegistration.registerDescriptors(DynamicModuleRegistration.java:71) at com.atlassian.pocketknife.internal.lifecycle.modules.DynamicModuleDescriptorFactoryImpl.loadModules(DynamicModuleDescriptorFactoryImpl.java:85) at com.atlassian.servicedesk.bootstrap.module.ServiceDeskModuleLoader.loadModules(ServiceDeskModuleLoader.java:153) at com.atlassian.servicedesk.bootstrap.module.ServiceDeskModuleLoader.loadModulesWhenWeAreReadyThankYouVeryMuch(ServiceDeskModuleLoader.java:65) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadSuccessModules(PluginLifeCycle.java:422) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadDynamicModules(PluginLifeCycle.java:398) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffectsImpl(PluginLifeCycle.java:363) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.access$000(PluginLifeCycle.java:37) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle$1.run(PluginLifeCycle.java:255) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.writeImpl(LifecycleLock.java:100) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.runOnStartup(LifecycleLock.java:72) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffects(PluginLifeCycle.java:250) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.onPluginStarted(PluginLifeCycle.java:109) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onStartCompleted(Launcher.java:62) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onPluginStarted(Launcher.java:53) at sun.reflect.GeneratedMethodAccessor580.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1071) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:400) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:232) at com.atlassian.jira.ManagerFactory.globalRefresh(ManagerFactory.java:203) at com.atlassian.jira.bc.dataimport.DataImportProductionDependencies.globalRefresh(DataImportProductionDependencies.java:92) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.globalRefresh(DefaultDataImportService.java:902) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restartJira(DefaultDataImportService.java:849) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:703) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:299) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:179) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} {noformat} JiraImportTaskExecutionThread-1 ERROR admin 425x8052x1 1nhqz1a 0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [internal.customfields.service.GlobalCustomFieldServiceImpl] Failed to get or create custom field java.lang.RuntimeException: Custom field 'sd.origin.customfield.default.name' with ID '10100' exists in DB, but was not returned by the custom field service. at com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getDefaultFieldOrNull(GlobalCustomFieldServiceImpl.java:87) at com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getGlobalCustomField(GlobalCustomFieldServiceImpl.java:45) at com.atlassian.servicedesk.internal.customfields.origin.VpOriginCustomFieldServiceImpl.getVpOriginCustomField(VpOriginCustomFieldServiceImpl.java:30) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginInitializer.initialize(PluginInitializer.java:92) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadSuccessModules(PluginLifeCycle.java:424) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadDynamicModules(PluginLifeCycle.java:398) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffectsImpl(PluginLifeCycle.java:363) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.access$000(PluginLifeCycle.java:37) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle$1.run(PluginLifeCycle.java:255) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.writeImpl(LifecycleLock.java:100) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.runOnStartup(LifecycleLock.java:72) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffects(PluginLifeCycle.java:250) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.onPluginStarted(PluginLifeCycle.java:109) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onStartCompleted(Launcher.java:62) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onPluginStarted(Launcher.java:53) at sun.reflect.GeneratedMethodAccessor580.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1071) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:400) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:232) at com.atlassian.jira.ManagerFactory.globalRefresh(ManagerFactory.java:203) at com.atlassian.jira.bc.dataimport.DataImportProductionDependencies.globalRefresh(DataImportProductionDependencies.java:92) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.globalRefresh(DefaultDataImportService.java:902) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restartJira(DefaultDataImportService.java:849) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:703) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:299) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:179) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} *Workaround* There is no workaround available at the moment, we are working on a fix urgently.

    Atlassian JIRA | 2 years ago | Matthew Hunter
    java.lang.RuntimeException: Custom field 'sd.origin.customfield.default.name' with ID '10100' exists in DB, but was not returned by the custom field service.
  2. 0

    Any JIRA Cloud server that has JIRA Service Desk data on it will not currently be able to migrate to to a JIRA Server (locally hosted) account. You may see the following errors in your logs: {noformat} JiraImportTaskExecutionThread-1 ERROR admin 425x8052x1 1nhqz1a 0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'null' of plugin 'com.atlassian.servicedesk'. Disabling. java.lang.NullPointerException at com.atlassian.jira.config.DefaultReindexMessageManager.pushMessage(DefaultReindexMessageManager.java:114) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager.checkReindexRequired(OfBizPluginIndexConfigurationManager.java:152) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager.access$300(OfBizPluginIndexConfigurationManager.java:44) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager$2.get(OfBizPluginIndexConfigurationManager.java:117) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager$2.get(OfBizPluginIndexConfigurationManager.java:110) at com.atlassian.fugue.Option$2.fold(Option.java:373) at com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager.put(OfBizPluginIndexConfigurationManager.java:109) at com.atlassian.jira.index.property.CachingPluginIndexConfigurationManager.put(CachingPluginIndexConfigurationManager.java:70) at com.atlassian.jira.plugin.index.EntityPropertyIndexDocumentModuleDescriptorImpl.enabled(EntityPropertyIndexDocumentModuleDescriptorImpl.java:56) at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1913) at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1705) at com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleAvailable(DefaultPluginManager.java:558) at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.osgi.factory.ModuleDescriptorServiceTrackerCustomizer.addingService(ModuleDescriptorServiceTrackerCustomizer.java:46) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:840) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3726) at org.apache.felix.framework.Felix.access$000(Felix.java:80) at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717) at org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:107) at org.apache.felix.framework.Felix.registerService(Felix.java:2847) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229) at com.atlassian.pocketknife.internal.lifecycle.modules.DynamicModuleRegistration.registerModule(DynamicModuleRegistration.java:81) at com.atlassian.pocketknife.internal.lifecycle.modules.DynamicModuleRegistration.registerDescriptors(DynamicModuleRegistration.java:71) at com.atlassian.pocketknife.internal.lifecycle.modules.DynamicModuleDescriptorFactoryImpl.loadModules(DynamicModuleDescriptorFactoryImpl.java:85) at com.atlassian.servicedesk.bootstrap.module.ServiceDeskModuleLoader.loadModules(ServiceDeskModuleLoader.java:153) at com.atlassian.servicedesk.bootstrap.module.ServiceDeskModuleLoader.loadModulesWhenWeAreReadyThankYouVeryMuch(ServiceDeskModuleLoader.java:65) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadSuccessModules(PluginLifeCycle.java:422) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadDynamicModules(PluginLifeCycle.java:398) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffectsImpl(PluginLifeCycle.java:363) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.access$000(PluginLifeCycle.java:37) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle$1.run(PluginLifeCycle.java:255) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.writeImpl(LifecycleLock.java:100) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.runOnStartup(LifecycleLock.java:72) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffects(PluginLifeCycle.java:250) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.onPluginStarted(PluginLifeCycle.java:109) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onStartCompleted(Launcher.java:62) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onPluginStarted(Launcher.java:53) at sun.reflect.GeneratedMethodAccessor580.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1071) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:400) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:232) at com.atlassian.jira.ManagerFactory.globalRefresh(ManagerFactory.java:203) at com.atlassian.jira.bc.dataimport.DataImportProductionDependencies.globalRefresh(DataImportProductionDependencies.java:92) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.globalRefresh(DefaultDataImportService.java:902) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restartJira(DefaultDataImportService.java:849) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:703) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:299) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:179) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} {noformat} JiraImportTaskExecutionThread-1 ERROR admin 425x8052x1 1nhqz1a 0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [internal.customfields.service.GlobalCustomFieldServiceImpl] Failed to get or create custom field java.lang.RuntimeException: Custom field 'sd.origin.customfield.default.name' with ID '10100' exists in DB, but was not returned by the custom field service. at com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getDefaultFieldOrNull(GlobalCustomFieldServiceImpl.java:87) at com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getGlobalCustomField(GlobalCustomFieldServiceImpl.java:45) at com.atlassian.servicedesk.internal.customfields.origin.VpOriginCustomFieldServiceImpl.getVpOriginCustomField(VpOriginCustomFieldServiceImpl.java:30) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginInitializer.initialize(PluginInitializer.java:92) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadSuccessModules(PluginLifeCycle.java:424) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadDynamicModules(PluginLifeCycle.java:398) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffectsImpl(PluginLifeCycle.java:363) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.access$000(PluginLifeCycle.java:37) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle$1.run(PluginLifeCycle.java:255) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.writeImpl(LifecycleLock.java:100) at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.runOnStartup(LifecycleLock.java:72) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffects(PluginLifeCycle.java:250) at com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.onPluginStarted(PluginLifeCycle.java:109) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onStartCompleted(Launcher.java:62) at com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onPluginStarted(Launcher.java:53) at sun.reflect.GeneratedMethodAccessor580.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1071) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:400) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:232) at com.atlassian.jira.ManagerFactory.globalRefresh(ManagerFactory.java:203) at com.atlassian.jira.bc.dataimport.DataImportProductionDependencies.globalRefresh(DataImportProductionDependencies.java:92) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.globalRefresh(DefaultDataImportService.java:902) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restartJira(DefaultDataImportService.java:849) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:703) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:299) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:179) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} *Workaround* There is no workaround available at the moment, we are working on a fix urgently.

    Atlassian JIRA | 2 years ago | Matthew Hunter
    java.lang.RuntimeException: Custom field 'sd.origin.customfield.default.name' with ID '10100' exists in DB, but was not returned by the custom field service.
  3. 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.lang.RuntimeException

      Custom field 'sd.origin.customfield.default.name' with ID '10100' exists in DB, but was not returned by the custom field service.

      at com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getDefaultFieldOrNull()
    2. com.atlassian.pocketknife
      GlobalCustomFieldServiceImpl.getGlobalCustomField
      1. com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getDefaultFieldOrNull(GlobalCustomFieldServiceImpl.java:87)
      2. com.atlassian.pocketknife.internal.customfields.service.GlobalCustomFieldServiceImpl.getGlobalCustomField(GlobalCustomFieldServiceImpl.java:45)
      2 frames
    3. com.atlassian.servicedesk
      Launcher.onPluginStarted
      1. com.atlassian.servicedesk.internal.customfields.origin.VpOriginCustomFieldServiceImpl.getVpOriginCustomField(VpOriginCustomFieldServiceImpl.java:30)
      2. com.atlassian.servicedesk.bootstrap.lifecycle.PluginInitializer.initialize(PluginInitializer.java:92)
      3. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadSuccessModules(PluginLifeCycle.java:424)
      4. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.loadDynamicModules(PluginLifeCycle.java:398)
      5. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffectsImpl(PluginLifeCycle.java:363)
      6. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.access$000(PluginLifeCycle.java:37)
      7. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle$1.run(PluginLifeCycle.java:255)
      8. com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.writeImpl(LifecycleLock.java:100)
      9. com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.runOnStartup(LifecycleLock.java:72)
      10. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.runPluginStartupSideEffects(PluginLifeCycle.java:250)
      11. com.atlassian.servicedesk.bootstrap.lifecycle.PluginLifeCycle.onPluginStarted(PluginLifeCycle.java:109)
      12. com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onStartCompleted(Launcher.java:62)
      13. com.atlassian.servicedesk.bootstrap.lifecycle.Launcher.onPluginStarted(Launcher.java:53)
      13 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor580.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. com.atlassian.event
      AsynchronousAbleEventDispatcher$1$1.run
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46)
      2 frames
    6. Guava
      MoreExecutors$SameThreadExecutorService.execute
      1. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
      1 frame
    7. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101)
      2. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
      3. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
      3 frames
    8. com.atlassian.plugin
      DefaultPluginManager.earlyStartup
      1. com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)
      2. com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1071)
      3. com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:400)
      3 frames
    9. com.atlassian.jira
      ImportTaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97)
      2. com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87)
      3. com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767)
      4. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258)
      5. com.atlassian.jira.ComponentManager.start(ComponentManager.java:232)
      6. com.atlassian.jira.ManagerFactory.globalRefresh(ManagerFactory.java:203)
      7. com.atlassian.jira.bc.dataimport.DataImportProductionDependencies.globalRefresh(DataImportProductionDependencies.java:92)
      8. com.atlassian.jira.bc.dataimport.DefaultDataImportService.globalRefresh(DefaultDataImportService.java:902)
      9. com.atlassian.jira.bc.dataimport.DefaultDataImportService.restartJira(DefaultDataImportService.java:849)
      10. com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:703)
      11. com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:299)
      12. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:66)
      13. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:29)
      14. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:179)
      15. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:150)
      15 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames