com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException

JIRA | Francis Martens (iDalko) | 5 years ago
  1. 0

    While testing JEMH-439, stumbled over that log message {noformat} javax.mail.MessagingException: Unhandled Exception [Jira ver: 2.2.5 (Build:#500 - 03-04-2011) ] (com.javahollic.jira.emh.service.InvalidDirectiveDataException) processing issue (bug): java.lang.NullPointerException; nested exception is: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:645) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:134) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:187) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:65) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:52) 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) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:639) ... 8 more Caused by: java.lang.NullPointerException at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.updateUserListsFromEmailAddressees(AbstractFieldProcessorHelper.java:1535) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupValidCustomFieldUsersFromCC(AbstractFieldProcessorHelper.java:1492) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupCustomFieldsAndOperations(AbstractFieldProcessorHelper.java:1298) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:112) at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:288) ... 8 more {noformat} Not sure if this is linked to the new snapshot, or to something else. But the setup which was using 0.9.7.jar was working fine.

    JIRA | 5 years ago | Francis Martens (iDalko)
    com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException
  2. 0

    While testing JEMH-439, stumbled over that log message {noformat} javax.mail.MessagingException: Unhandled Exception [Jira ver: 2.2.5 (Build:#500 - 03-04-2011) ] (com.javahollic.jira.emh.service.InvalidDirectiveDataException) processing issue (bug): java.lang.NullPointerException; nested exception is: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:645) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:134) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:187) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:65) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:52) 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) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:639) ... 8 more Caused by: java.lang.NullPointerException at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.updateUserListsFromEmailAddressees(AbstractFieldProcessorHelper.java:1535) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupValidCustomFieldUsersFromCC(AbstractFieldProcessorHelper.java:1492) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupCustomFieldsAndOperations(AbstractFieldProcessorHelper.java:1298) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:112) at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:288) ... 8 more {noformat} Not sure if this is linked to the new snapshot, or to something else. But the setup which was using 0.9.7.jar was working fine.

    JIRA | 5 years ago | Francis Martens (iDalko)
    com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException
  3. 0

    If I send normal e-mail, then JEMH processes it, but if I send a e-mail without a subject, then i get error {code}2011-03-23 10:43:10,665 QuartzWorker-0 ERROR [jira.emh.service.EMHIssueHandler] ==== CUT ===== 2011-03-23 10:43:10,665 QuartzWorker-0 ERROR [jira.emh.service.EMHIssueHandler] Jira Version = 2.2.0 (Build:#476 - 17-02-2011) 2011-03-23 10:43:10,665 QuartzWorker-0 ERROR [jira.emh.service.EMHIssueHandler] Unhandled MessagingException occurred during processing, location=com.javah ollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:619). Likely this is a BUG: Unhandled Exception occurred during processing, type= com.javahollic.jira.emh.service.InvalidDirectiveDataException), location=com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProc essorHelper.java:125). Likely this is a BUG: java.lang.NullPointerException 2011-03-23 10:43:10,666 QuartzWorker-0 ERROR [jira.emh.service.EMHIssueHandler] To: somewhere@something From: Jaan Raamets <somewhere2@something> Cc: Bcc: hellloo blah blah blah 2011-03-23 10:43:10,666 QuartzWorker-0 ERROR [jira.emh.service.EMHIssueHandler] ==== CUT ===== 2011-03-23 10:43:10,668 QuartzWorker-0 ERROR [jira.emh.service.EMHIssueHandler] Rethrowing exception: Unhandled Exception occurred during processing, type= com.javahollic.jira.emh.service.InvalidDirectiveDataException), location=com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProc essorHelper.java:125). Likely this is a BUG: java.lang.NullPointerException javax.mail.MessagingException: Unhandled Exception occurred during processing, type=com.javahollic.jira.emh.service.InvalidDirectiveDataException), locatio n=com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:125). Likely this is a BUG: java.lang.NullPointerExce ption; nested exception is: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:619) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:127) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:76) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:187) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:65) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:52) 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) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:125) at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:281) ... 8 more Caused by: java.lang.NullPointerException at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupSummary(AbstractFieldProcessorHelper.java:622) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:108) ... 10 more {code}

    JIRA | 6 years ago | Jaan Raamets
    com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I send an email using the mail-program 'evolution' the charset is not filled in. This causes an NPE in the JEMH plugin: I have just installed JEMH and I am trying it out with a simple email, but I get an NPE: com.javahollic.jira.emh.service.InvalidDirectiveDataException: Unable to read body content of email: Unable to process message from [Ljavax.mail.internet.InternetAddress;@68c5fd subject: test3 Got a NPE. at com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getFieldMap(SubjectBasedFieldProcessor.java:69) at com.javahollic.jira.emh.processor.SubjectBasedFieldProcessor.getDirectiveCount(SubjectBasedFieldProcessor.java:248) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:109) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:76) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) 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) java.lang.NullPointerException: charsetName at java.lang.String.(Unknown Source) at java.lang.String.(Unknown Source) at com.javahollic.jira.emh.engine.EMHMailUtils.getText(EMHMailUtils.java:1135) at com.javahollic.jira.emh.engine.EMHMailUtils.getBody(EMHMailUtils.java:463) at com.javahollic.jira.emh.processor.XmlFieldProcessor.getFieldMap(XmlFieldProcessor.java:68) at com.javahollic.jira.emh.processor.XmlFieldProcessor.getDirectiveCount(XmlFieldProcessor.java:133) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:109) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:76) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) 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 | 6 years ago | Ruth
    com.javahollic.jira.emh.service.InvalidDirectiveDataException: Unable to read body content of email: Unable to process message from [Ljavax.mail.internet.InternetAddress;@68c5fd subject: test3 Got a NPE.
  6. 0

    Andy - Able to create issues no problem; however, getting errors when try to reply back to JIRA create email (trying to add a comment). Any thoughts? Stack Error Attached: javax.mail.MessagingException: Unhandled Exception occurred during processing, type=com.javahollic.jira.emh.service.InvalidDirectiveDataException), location=com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:124). Likely this is a BUG: java.lang.NullPointerException; nested exception is: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:619) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:127) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:76) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:124) at com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:281) ... 7 more Caused by: java.lang.NullPointerException at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupReporter(AbstractFieldProcessorHelper.java:734) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:104) ... 9 more

    JIRA | 6 years ago | Clare Cooper
    com.javahollic.jira.emh.service.InvalidDirectiveDataException: 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.AbstractFieldProcessorHelper.updateUserListsFromEmailAddressees()
    2. com.javahollic.jira
      CreateOrCommentHandler.handleMessage
      1. com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.updateUserListsFromEmailAddressees(AbstractFieldProcessorHelper.java:1535)
      2. com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupValidCustomFieldUsersFromCC(AbstractFieldProcessorHelper.java:1492)
      3. com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupCustomFieldsAndOperations(AbstractFieldProcessorHelper.java:1298)
      4. com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:112)
      5. com.javahollic.jira.emh.processor.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48)
      6. com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:288)
      7. com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:134)
      8. com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87)
      8 frames
    3. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:187)
      2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:65)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:52)
      3 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