java.lang.IllegalStateException: You have called on this too early. Spring has not auto-wired it yet. You need to think more about your code paths!

Atlassian JIRA | Oswaldo Hernandez [Atlassian] Bugmaster | 2 years ago
  1. 0

    When doing a background reindex on JDOG the Service Desk plugin was redeployed - this caused the index to fail with: {noformat} 2013-07-10 22:45:46,750 Timer-2 INFO [atlassian.servicedesk.lifecycle.LoggingSupport] ********************************************************************************* Atlassian ServiceDesk v1.0-m38-SNAPSHOT #cab26d07 built 2013-07-10T09:08:37.650Z - stopping... ********************************************************************************* 2013-07-10 22:45:46,753 Timer-2 INFO [atlassian.servicedesk.lifecycle.LoggingSupport] ********************************************************************************* Atlassian ServiceDesk v1.0-m38-SNAPSHOT #cab26d07 built 2013-07-10T09:08:37.650Z - stopped ********************************************************************************* 2013-07-10 22:45:46,888 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:46,910 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-first-comment-response'. Is the plugin present and enabled? 2013-07-10 22:45:46,916 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.agmp.jira-gdocs-customfield:googledoc-field'. Is the plugin present and enabled? 2013-07-10 22:45:47,039 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-time-til-resolved'. Is the plugin present and enabled? 2013-07-10 22:45:47,056 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.viewport:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,061 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,069 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,069 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-first-comment-response'. Is the plugin present and enabled? 2013-07-10 22:45:47,070 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.agmp.jira-gdocs-customfield:googledoc-field'. Is the plugin present and enabled? 2013-07-10 22:45:47,070 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-time-til-resolved'. Is the plugin present and enabled? 2013-07-10 22:45:47,071 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.viewport:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,071 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,107 pool-12-thread-2 INFO gdavidson 1365x5422x1 2jwhdb 131.103.28.251,131.103.27.209 /rest/plugins/1.0/ [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.atlassian.servicedesk 2013-07-10 22:45:48,051 JiraTaskExectionThread-1 INFO tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [fields.layout.field.AbstractFieldLayoutManager] Field layout contains non-orderable field with id 'customfield_16350'. 2013-07-10 22:45:48,132 pool-12-thread-2 INFO gdavidson 1365x5422x1 2jwhdb 131.103.28.251,131.103.27.209 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.servicedesk], 600 seconds remaining 2013-07-10 22:45:48,181 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.util.index.CompositeIndexLifecycleManager] Reindex All In Background FAILED. Indexer: DefaultIndexManager: paths: [/data/jirastudio/jira/home/caches/indexes/comments, /data/jirastudio/jira/home/caches/indexes/issues, /data/jirastudio/jira/home/caches/indexes/changes] java.lang.IllegalStateException: You have called on this too early. Spring has not auto-wired it yet. You need to think more about your code paths! at com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.get(ServiceDeskComponentAccessor.java:40) at com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.vpOriginManager(ServiceDeskComponentAccessor.java:46) at com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.vpOriginManager(VpOriginCustomFieldIndexer.java:43) at com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.addDocumentFields(VpOriginCustomFieldIndexer.java:34) at com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.addDocumentFieldsSearchable(VpOriginCustomFieldIndexer.java:22) at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:46) at com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:41) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:606) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:601) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:600) at com.atlassian.jira.issue.index.DefaultIssueIndexer$2.perform(DefaultIssueIndexer.java:164) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:292) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:288) at com.atlassian.jira.index.SimpleIndexingStrategy.get(SimpleIndexingStrategy.java:9) at com.atlassian.jira.index.SimpleIndexingStrategy.get(SimpleIndexingStrategy.java:5) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4.consume(DefaultIssueIndexer.java:287) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4.consume(DefaultIssueIndexer.java:279) at com.atlassian.jira.issue.util.DatabaseIssuesIterable.foreach(DatabaseIssuesIterable.java:66) at com.atlassian.jira.issue.index.DefaultIssueIndexer.perform(DefaultIssueIndexer.java:278) at com.atlassian.jira.issue.index.DefaultIssueIndexer.reindexIssues(DefaultIssueIndexer.java:159) at com.atlassian.jira.issue.index.DefaultIndexManager.doBackgroundReindex(DefaultIndexManager.java:815) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:289) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:271) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAllIssuesInBackground(DefaultIndexManager.java:335) <+3> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:83) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at $Proxy122.reIndexAllIssuesInBackground(Unknown Source) at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAllIssuesInBackground(CompositeIndexLifecycleManager.java:83) at com.atlassian.jira.web.action.admin.index.ReIndexBackgroundIndexerCommand.doReindex(ReIndexBackgroundIndexerCommand.java:27) at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:54) at com.atlassian.jira.web.action.admin.index.ReIndexBackgroundIndexerCommand.call(ReIndexBackgroundIndexerCommand.java:15) at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:23) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374) 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) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 2 years ago | Oswaldo Hernandez [Atlassian] Bugmaster
    java.lang.IllegalStateException: You have called on this too early. Spring has not auto-wired it yet. You need to think more about your code paths!
  2. 0

    When doing a background reindex on JDOG the Service Desk plugin was redeployed - this caused the index to fail with: {noformat} 2013-07-10 22:45:46,750 Timer-2 INFO [atlassian.servicedesk.lifecycle.LoggingSupport] ********************************************************************************* Atlassian ServiceDesk v1.0-m38-SNAPSHOT #cab26d07 built 2013-07-10T09:08:37.650Z - stopping... ********************************************************************************* 2013-07-10 22:45:46,753 Timer-2 INFO [atlassian.servicedesk.lifecycle.LoggingSupport] ********************************************************************************* Atlassian ServiceDesk v1.0-m38-SNAPSHOT #cab26d07 built 2013-07-10T09:08:37.650Z - stopped ********************************************************************************* 2013-07-10 22:45:46,888 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:46,910 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-first-comment-response'. Is the plugin present and enabled? 2013-07-10 22:45:46,916 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.agmp.jira-gdocs-customfield:googledoc-field'. Is the plugin present and enabled? 2013-07-10 22:45:47,039 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-time-til-resolved'. Is the plugin present and enabled? 2013-07-10 22:45:47,056 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.viewport:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,061 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,069 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,069 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-first-comment-response'. Is the plugin present and enabled? 2013-07-10 22:45:47,070 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.agmp.jira-gdocs-customfield:googledoc-field'. Is the plugin present and enabled? 2013-07-10 22:45:47,070 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:sd-time-til-resolved'. Is the plugin present and enabled? 2013-07-10 22:45:47,071 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.viewport:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,071 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.issue.managers.DefaultCustomFieldManager] Could not load custom field type plugin with key 'com.atlassian.servicedesk:vp-origin'. Is the plugin present and enabled? 2013-07-10 22:45:47,107 pool-12-thread-2 INFO gdavidson 1365x5422x1 2jwhdb 131.103.28.251,131.103.27.209 /rest/plugins/1.0/ [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.atlassian.servicedesk 2013-07-10 22:45:48,051 JiraTaskExectionThread-1 INFO tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [fields.layout.field.AbstractFieldLayoutManager] Field layout contains non-orderable field with id 'customfield_16350'. 2013-07-10 22:45:48,132 pool-12-thread-2 INFO gdavidson 1365x5422x1 2jwhdb 131.103.28.251,131.103.27.209 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.servicedesk], 600 seconds remaining 2013-07-10 22:45:48,181 JiraTaskExectionThread-1 ERROR tcampbell 1354x4282x2 15lvp3c 59.167.133.100,131.103.27.209 /secure/admin/jira/IndexReIndex.jspa [jira.util.index.CompositeIndexLifecycleManager] Reindex All In Background FAILED. Indexer: DefaultIndexManager: paths: [/data/jirastudio/jira/home/caches/indexes/comments, /data/jirastudio/jira/home/caches/indexes/issues, /data/jirastudio/jira/home/caches/indexes/changes] java.lang.IllegalStateException: You have called on this too early. Spring has not auto-wired it yet. You need to think more about your code paths! at com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.get(ServiceDeskComponentAccessor.java:40) at com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.vpOriginManager(ServiceDeskComponentAccessor.java:46) at com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.vpOriginManager(VpOriginCustomFieldIndexer.java:43) at com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.addDocumentFields(VpOriginCustomFieldIndexer.java:34) at com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.addDocumentFieldsSearchable(VpOriginCustomFieldIndexer.java:22) at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:46) at com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:41) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:606) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:601) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:600) at com.atlassian.jira.issue.index.DefaultIssueIndexer$2.perform(DefaultIssueIndexer.java:164) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:292) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:288) at com.atlassian.jira.index.SimpleIndexingStrategy.get(SimpleIndexingStrategy.java:9) at com.atlassian.jira.index.SimpleIndexingStrategy.get(SimpleIndexingStrategy.java:5) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4.consume(DefaultIssueIndexer.java:287) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4.consume(DefaultIssueIndexer.java:279) at com.atlassian.jira.issue.util.DatabaseIssuesIterable.foreach(DatabaseIssuesIterable.java:66) at com.atlassian.jira.issue.index.DefaultIssueIndexer.perform(DefaultIssueIndexer.java:278) at com.atlassian.jira.issue.index.DefaultIssueIndexer.reindexIssues(DefaultIssueIndexer.java:159) at com.atlassian.jira.issue.index.DefaultIndexManager.doBackgroundReindex(DefaultIndexManager.java:815) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:289) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:271) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAllIssuesInBackground(DefaultIndexManager.java:335) <+3> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:83) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at $Proxy122.reIndexAllIssuesInBackground(Unknown Source) at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAllIssuesInBackground(CompositeIndexLifecycleManager.java:83) at com.atlassian.jira.web.action.admin.index.ReIndexBackgroundIndexerCommand.doReindex(ReIndexBackgroundIndexerCommand.java:27) at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:54) at com.atlassian.jira.web.action.admin.index.ReIndexBackgroundIndexerCommand.call(ReIndexBackgroundIndexerCommand.java:15) at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:23) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374) 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) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 2 years ago | Oswaldo Hernandez [Atlassian] Bugmaster
    java.lang.IllegalStateException: You have called on this too early. Spring has not auto-wired it yet. You need to think more about your code paths!
  3. 0
    You can solve this by using an actual Service instead of an IntentService
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  6. 0
    The cursor might not be initalized.

    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.IllegalStateException

      You have called on this too early. Spring has not auto-wired it yet. You need to think more about your code paths!

      at com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.get()
    2. com.atlassian.servicedesk
      ServiceDeskComponentAccessor.vpOriginManager
      1. com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.get(ServiceDeskComponentAccessor.java:40)
      2. com.atlassian.servicedesk.lifecycle.ServiceDeskComponentAccessor.vpOriginManager(ServiceDeskComponentAccessor.java:46)
      2 frames
    3. com.atlassian.viewport
      VpOriginCustomFieldIndexer.addDocumentFieldsSearchable
      1. com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.vpOriginManager(VpOriginCustomFieldIndexer.java:43)
      2. com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.addDocumentFields(VpOriginCustomFieldIndexer.java:34)
      3. com.atlassian.viewport.customfields.origin.VpOriginCustomFieldIndexer.addDocumentFieldsSearchable(VpOriginCustomFieldIndexer.java:22)
      3 frames
    4. com.atlassian.jira
      DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get
      1. com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:46)
      2. com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:41)
      3. com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15)
      4. com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11)
      5. com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:606)
      6. com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:601)
      6 frames
    5. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
      1 frame
    6. com.atlassian.jira
      DefaultIndexManager.reIndexAll
      1. com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:600)
      2. com.atlassian.jira.issue.index.DefaultIssueIndexer$2.perform(DefaultIssueIndexer.java:164)
      3. com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:292)
      4. com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:288)
      5. com.atlassian.jira.index.SimpleIndexingStrategy.get(SimpleIndexingStrategy.java:9)
      6. com.atlassian.jira.index.SimpleIndexingStrategy.get(SimpleIndexingStrategy.java:5)
      7. com.atlassian.jira.issue.index.DefaultIssueIndexer$4.consume(DefaultIssueIndexer.java:287)
      8. com.atlassian.jira.issue.index.DefaultIssueIndexer$4.consume(DefaultIssueIndexer.java:279)
      9. com.atlassian.jira.issue.util.DatabaseIssuesIterable.foreach(DatabaseIssuesIterable.java:66)
      10. com.atlassian.jira.issue.index.DefaultIssueIndexer.perform(DefaultIssueIndexer.java:278)
      11. com.atlassian.jira.issue.index.DefaultIssueIndexer.reindexIssues(DefaultIssueIndexer.java:159)
      12. com.atlassian.jira.issue.index.DefaultIndexManager.doBackgroundReindex(DefaultIndexManager.java:815)
      13. com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:289)
      14. com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:271)
      14 frames