java.lang.NullPointerException

JIRA | Alexander Fisher | 3 years ago
  1. 0

    Hi I tried configuring ticket reopening when a resolved ticket receives a comment by email. I followed these instructions - https://thepluginpeople.atlassian.net/wiki/display/JEMH/Reopen+an+Issue+On+Comment But not very well! :) I think the problem is I forgot to enter an 'oncomment workflow advance action', but I did enter an 'advance from state' {noformat} NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow(EMHIssueUtils.java:904) at com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow(EMHIssueUtils.java:802) at com.javahollic.jira.emh.engine.FieldProcessorMapHandler.handleCommentOrPostIssueCreationActions(FieldProcessorMapHandler.java:212) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:973) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:323) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:291) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:400) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:293) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) {noformat} Perhaps JEMH should refuse to save my configuration in this case? Thanks, Alex

    JIRA | 3 years ago | Alexander Fisher
    java.lang.NullPointerException
  2. 0

    Hi I tried configuring ticket reopening when a resolved ticket receives a comment by email. I followed these instructions - https://thepluginpeople.atlassian.net/wiki/display/JEMH/Reopen+an+Issue+On+Comment But not very well! :) I think the problem is I forgot to enter an 'oncomment workflow advance action', but I did enter an 'advance from state' {noformat} NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow(EMHIssueUtils.java:904) at com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow(EMHIssueUtils.java:802) at com.javahollic.jira.emh.engine.FieldProcessorMapHandler.handleCommentOrPostIssueCreationActions(FieldProcessorMapHandler.java:212) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:973) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:323) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:291) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:400) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:293) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) {noformat} Perhaps JEMH should refuse to save my configuration in this case? Thanks, Alex

    JIRA | 3 years ago | Alexander Fisher
    java.lang.NullPointerException
  3. 0

    getting emails from JEMH with the following errors in them [Audit result, ID: 20] forward [Filter result] Name: Action: Reason: [Exception] NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:755) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:161) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:202) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:43) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:356) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:259) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:344) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:250) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    JIRA | 5 years ago | Micah Figone
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We're getting these null pointer exceptions when a user sends in an email with an empty @ prefixed field processor, for example, a new issue with the following body: @priority=Minor @labels= A description of the problem.... Will generate the fulling exception: NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:766) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:161) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:202) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:43) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:356) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:259) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:344) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:250) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Could we have it not generate a NPE in this case? Maybe have it ignore directives that don't have values? Our users are sending emails via an email template, and it will be easier to have the software ignore this then it would be to train the users to remove lines without values. No big deal if this can't be done. Thanks.

    JIRA | 5 years ago | Rajiv Garg
    java.lang.NullPointerException
  6. 0

    Ever since upgrading our jemh version we have been receiving the below errors strings. Jira v is 5.2.8 JEMH v is 1.3.36 2013-06-05 15:22:16,002 QuartzWorker-0 ERROR anonymous Orion [jira.emh.service.EnterpriseMessageHandlerImpl] Unhandled Exception occurred during processing (mail will be deleted (to stop re-processing) but forwarded), type=java.lang.NullPointerException), location=com.javahollic.jira.emh.ui.ao.JEMHActiveObjectServiceImpl.delete(JEMHActiveObjectServiceImpl.java:789). This may be a BUG: null 2013-06-05 15:24:15,071 QuartzWorker-0 WARN ServiceRunner Orion [emh.engine.support.EMHMailUtils] There is no 'catchEmail' or 'jemhAddresseeRegexps' config option set, circularities can occur if enterprising users were then to use Jira inbox in cc: and you have user creation set. 2013-06-05 15:24:15,878 QuartzWorker-0 ERROR anonymous Orion [jira.emh.service.EnterpriseMessageHandlerImpl] Unhandled Exception (bug?): null (NPE?): NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.ui.ao.JEMHActiveObjectServiceImpl.delete(JEMHActiveObjectServiceImpl.java:789) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.updateAuditEvent(EnterpriseMessageHandlerImpl.java:467) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:260) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    JIRA | 4 years ago | Scott Darone
    java.lang.NullPointerException

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

      No message provided

      at com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow()
    2. com.javahollic.jira
      EnterpriseMessageHandlerProxy.handleMessage
      1. com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow(EMHIssueUtils.java:904)
      2. com.javahollic.jira.emh.engine.support.EMHIssueUtils.setupWorkflow(EMHIssueUtils.java:802)
      3. com.javahollic.jira.emh.engine.FieldProcessorMapHandler.handleCommentOrPostIssueCreationActions(FieldProcessorMapHandler.java:212)
      4. com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:973)
      5. com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:323)
      6. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:291)
      7. com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45)
      7 frames
    3. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:400)
      2. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:293)
      3. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388)
      4. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
      5. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      6. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      6 frames
    4. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      1 frame