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

Atlassian JIRA | Jeff Turner | 1 decade ago
  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.
  3. 0

    If two users delete the same Permission Scheme at the same time (which is entirely possible since it is a two-step confirmation process) then Jira blows up rather than handling the error gracefully. The following is the stack trace -Nick java.lang.IllegalArgumentException: Sink GenericValue can not be null. at com.atlassian.core.association.DefaultAssociationManager.getSourceFromSink(DefaultAssociationManager.java:242) at com.atlassian.core.association.DefaultAssociationManager.getSourceFromSink(DefaultAssociationManager.java:233) at com.atlassian.jira.scheme.AbstractSchemeManager.getProjects(AbstractSchemeManager.java:201) at com.atlassian.jira.scheme.AbstractDeleteScheme.getProjects(AbstractDeleteScheme.java:94) at com.atlassian.jira.scheme.AbstractDeleteScheme.doExecute(AbstractDeleteScheme.java:55) at webwork.action.ActionSupport.execute(ActionSupport.java:116) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:44) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:113) at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:161) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.security.SecurityFilter.doFilter(SecurityFilter.java:170) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.security.LoginFilter.doFilter(LoginFilter.java:191) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.EncodingFilter.doFilter(EncodingFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.AppConsistencyFilter.doFilter(AppConsistencyFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536)

    Atlassian JIRA | 1 decade ago | Nick Minutello
    java.lang.IllegalArgumentException: Sink GenericValue can not be null.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If two users delete the same Permission Scheme at the same time (which is entirely possible since it is a two-step confirmation process) then Jira blows up rather than handling the error gracefully. The following is the stack trace -Nick java.lang.IllegalArgumentException: Sink GenericValue can not be null. at com.atlassian.core.association.DefaultAssociationManager.getSourceFromSink(DefaultAssociationManager.java:242) at com.atlassian.core.association.DefaultAssociationManager.getSourceFromSink(DefaultAssociationManager.java:233) at com.atlassian.jira.scheme.AbstractSchemeManager.getProjects(AbstractSchemeManager.java:201) at com.atlassian.jira.scheme.AbstractDeleteScheme.getProjects(AbstractDeleteScheme.java:94) at com.atlassian.jira.scheme.AbstractDeleteScheme.doExecute(AbstractDeleteScheme.java:55) at webwork.action.ActionSupport.execute(ActionSupport.java:116) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:44) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:113) at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:161) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.security.SecurityFilter.doFilter(SecurityFilter.java:170) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.security.LoginFilter.doFilter(LoginFilter.java:191) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.EncodingFilter.doFilter(EncodingFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.AppConsistencyFilter.doFilter(AppConsistencyFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536)

    Atlassian JIRA | 1 decade ago | Nick Minutello
    java.lang.IllegalArgumentException: Sink GenericValue can not be null.

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