java.lang.NullPointerException

JIRA | Scott Darone | 4 years ago
  1. 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
  2. 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
  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

    Trying to add a comment to an existing issue, i am getting an exception: {code} NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.module.msgfilter.NonJiraUserCommentSecurityCheck.filter(NonJiraUserCommentSecurityCheck.java:102) at com.javahollic.jira.emh.service.FilterManager.applyFilters(FilterManager.java:67) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.setupHandlerAndFilters(EnterpriseMessageHandlerImpl.java:850) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:239) 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) {code} According to the [documentation|https://thepluginpeople.atlassian.net/wiki/pages/viewpage.action?pageId=2850915] the custom email field & sender adress must match. The custom email field adress is the same as the senders email, here is the email header (extracted from the auditing): {code} Received: from mailgw.ids-logistik.de (80.154.0.203) by exchange.ids.net (192.168.100.6) with Microsoft SMTP Server id 14.3.158.1; Mon, 14 Oct 2013 08:25:18 +0200 Received: from mailgw.ids-logistik.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7323A140779 for <marc_rink@ids-logistik.de>; Mon, 14 Oct 2013 08:25:15 +0200 (CEST) Received: from mail.dsv.com (mail.dsv.com [193.162.24.81]) by mailgw.ids-logistik.de (Postfix) with ESMTP id 6B7C414009E for <marc_rink@ids-logistik.de>; Mon, 14 Oct 2013 08:25:14 +0200 (CEST) Received: from I02121.DSV.COM (145.218.216.12) by mail.dsv.com (145.218.236.154) with Microsoft SMTP Server (TLS) id 8.3.327.1; Mon, 14 Oct 2013 08:25:17 +0200 Received: from I02135.DSV.COM ([169.254.8.230]) by I02121.dsv.com ([145.218.217.12]) with mapi id 14.02.0347.000; Mon, 14 Oct 2013 08:25:16 +0200 From: Michael Ufermann - DSV <Michael.UFERMANN@de.dsv.com> To: Rink Marc <Marc_Rink@ids-logistik.de> Subject: =?utf-8?B?REbDnCBkZXMgS3VuZGVuIEhJQiBbUE9SVEFMLTM0MzNd?= Thread-Topic: =?utf-8?B?REbDnCBkZXMgS3VuZGVuIEhJQiBbUE9SVEFMLTM0MzNd?= Thread-Index: Ac7IqiEYXOtjJIt9QGSv5IG+LaiocQ== Date: Mon, 14 Oct 2013 08:25:15 +0200 Message-ID: <781D5476D253CA4BADE5AAF3373B271C0B894D30@I02135.dsv.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: exchange.ids.net X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Content-Type: multipart/mixed; boundary="_005_781D5476D253CA4BADE5AAF3373B271C0B894D30I02135dsvcom_" MIME-Version: 1.0 --_005_781D5476D253CA4BADE5AAF3373B271C0B894D30I02135dsvcom_ Content-Type: multipart/related; boundary="_004_781D5476D253CA4BADE5AAF3373B271C0B894D30I02135dsvcom_"; type="text/html" --_004_781D5476D253CA4BADE5AAF3373B271C0B894D30I02135dsvcom_ Content-Type: text/html; charset="utf-8" Content-ID: <A367ACF2A0EBC644A41384451E54FD66@ids.net> Content-Transfer-Encoding: base64 ... {code} See attached screenshot for the relevant issue.

    JIRA | 3 years ago | Marc Rink
    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.ui.ao.JEMHActiveObjectServiceImpl.delete()
    2. com.javahollic.jira
      EnterpriseMessageHandlerProxy.handleMessage
      1. com.javahollic.jira.emh.ui.ao.JEMHActiveObjectServiceImpl.delete(JEMHActiveObjectServiceImpl.java:789)
      2. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.updateAuditEvent(EnterpriseMessageHandlerImpl.java:467)
      3. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:260)
      4. com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45)
      4 frames
    3. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368)
      2. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271)
      3. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356)
      4. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252)
      5. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      6. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
      6 frames
    4. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      1 frame
    5. com.atlassian.multitenant
      MultiTenantThreadPool$MultiTenantRunnable.run
      1. com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
      1 frame
    6. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      1 frame