java.lang.IllegalArgumentException: Source GenericValue can not be null.

Atlassian JIRA | Jeff Turner | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    If a project is deleted while a notification from that project is still in the queue, these items 'stick' in the queue, generating errors. Steps to Reproduce: # Created a project # Created some issues that caused events to go into the mailqueue # Before those could be sent we deleted the project # Then the mail queue tried to send the mail and failed because the project was coming back as null for the issue in the mailqueue {code} 2004-09-10 15:52:24,419 ERROR [atlassian.jira.mail.IssueMailQueueItem] Source GenericValue can not be null. java.lang.IllegalArgumentException: Source GenericValue can not be null. at com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource(DefaultAssociationManager.java:201) at com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource(DefaultAssociationManager.java:195) at com.atlassian.jira.scheme.AbstractSchemeManager.cacheProjectSchemes(AbstractSchemeManager.java:408) at com.atlassian.jira.scheme.AbstractSchemeManager.getSchemes(AbstractSchemeManager.java:96) at com.atlassian.jira.notification.DefaultNotificationSchemeManager.getRecipients(DefaultNotificationSchemeManager.java:75) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:103) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:55) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) {code}

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.IllegalArgumentException: Source GenericValue can not be null.
  2. 0

    If a project is deleted while a notification from that project is still in the queue, these items 'stick' in the queue, generating errors. Steps to Reproduce: # Created a project # Created some issues that caused events to go into the mailqueue # Before those could be sent we deleted the project # Then the mail queue tried to send the mail and failed because the project was coming back as null for the issue in the mailqueue {code} 2004-09-10 15:52:24,419 ERROR [atlassian.jira.mail.IssueMailQueueItem] Source GenericValue can not be null. java.lang.IllegalArgumentException: Source GenericValue can not be null. at com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource(DefaultAssociationManager.java:201) at com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource(DefaultAssociationManager.java:195) at com.atlassian.jira.scheme.AbstractSchemeManager.cacheProjectSchemes(AbstractSchemeManager.java:408) at com.atlassian.jira.scheme.AbstractSchemeManager.getSchemes(AbstractSchemeManager.java:96) at com.atlassian.jira.notification.DefaultNotificationSchemeManager.getRecipients(DefaultNotificationSchemeManager.java:75) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:103) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:55) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) {code}

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.IllegalArgumentException: Source GenericValue can not be null.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Source GenericValue can not be null.

      at com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource()
    2. com.atlassian.core
      DefaultAssociationManager.getSinkFromSource
      1. com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource(DefaultAssociationManager.java:201)
      2. com.atlassian.core.ofbiz.association.DefaultAssociationManager.getSinkFromSource(DefaultAssociationManager.java:195)
      2 frames
    3. com.atlassian.jira
      IssueMailQueueItem.send
      1. com.atlassian.jira.scheme.AbstractSchemeManager.cacheProjectSchemes(AbstractSchemeManager.java:408)
      2. com.atlassian.jira.scheme.AbstractSchemeManager.getSchemes(AbstractSchemeManager.java:96)
      3. com.atlassian.jira.notification.DefaultNotificationSchemeManager.getRecipients(DefaultNotificationSchemeManager.java:75)
      4. com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:103)
      4 frames
    4. com.atlassian.mail
      MailQueueImpl.sendBuffer
      1. com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:55)
      1 frame
    5. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)
      2. com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50)
      3 frames
    6. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:147)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)
      2 frames