com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I get the following exception from the external server after changing the state of an issue on the internal server. FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String at com.javahollic.jira.emh.module.fieldproc.XmlFieldProcessor.getFieldMaps(XmlFieldProcessor.java:106) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:743) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:307) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:267) 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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String
    via by Jim Sullivan,
  • I get the following exception from the external server after changing the state of an issue on the internal server. FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String at com.javahollic.jira.emh.module.fieldproc.XmlFieldProcessor.getFieldMaps(XmlFieldProcessor.java:106) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:743) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:307) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:267) 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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String
    via by Jim Sullivan,
  • Hi there, I've been trying to implement JEMH (Helpdesk scenario) with the most basic of config and at the moment cannot process any incoming email from either a JIRA or non user. The forwarded mail is as follows - Outcome forward Exception FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps(BasicMailProcessor.java:57) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:756) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:323) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:247) 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: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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException Return-path: thanks, Gareth
    via by gareth,
  • I had a user trying to create an issue per e-mail which caused an exception. As it seems a "Content-Disposition: inline" e-mail header causes this. I tried to come up with a minimal example; see jemh-audithistory-203.txt in attached .eml. Exception: {noformat}FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream at com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps(BasicMailProcessor.java:56) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:759) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:336) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:279) 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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream{noformat}
    via by Mike Dornberger,
  • I got this error today. Not sure why, or what this is referring to. The email in question contained a small message with a 10MB PDF Attachment. As far as i coulde see it was just the same as any "other" email. JEMH stopped collecting emails until i "removed" this mail from the innboks, it then started to process the other emails. Any ide why i get this error? Is it a bug? or a error in my enviroment? FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ArrayIndexOutOfBoundsException: message number (3) out of bounds (1): com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ArrayIndexOutOfBoundsException: message number (3) out of bounds (1) at com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps(BasicMailProcessor.java:55) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:743) 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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ArrayIndexOutOfBoundsException: message number (3) out of bounds (1)
    via by Lasse Rolstad,
  • Hello, We’ve been having a problem recently where emails are failing to be processed and a null pointer exception is thrown. I haven’t been able to find any similarities between the emails rejected, and if I reprocess them, they go through without any issues. Seems to be happening an average of once a week. The error we get is: FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps(BasicMailProcessor.java:56) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:805) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:343) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:307) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:46) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:438) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:304) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:426) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:263) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) - Joe
    via by Joseph Tillinghast,
  • When processing an email that should have added a comment: Message Failed to run [AtPrefixedFieldProcessor - @key = value] field processor Exception Type com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException Exception Msg com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException Exception Stack FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.NullPointerException at com.javahollic.jira.emh.module.fieldproc.AtPrefixedFieldProcessor.getFieldMaps(AtPrefixedFieldProcessor.java:319) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:889) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:317) at com.javahollic.jira.emh.service.ProfileGroupRunner.runWithConfiguration(ProfileGroupRunner.java:579) at com.javahollic.jira.emh.service.ProfileGroupRunner.handleMessage(ProfileGroupRunner.java:127) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:196) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:47) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:376) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:255) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:366) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:229) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:62) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:44) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:32) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443) Message was matched via Thread Matching The [AtPrefixedFieldProcessor - @key = value] field processor has been selected to process this message, it found 3 fields Message Unhandled Exception (bug) please report Exception Type java.lang.NullPointerException Exception Stack NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.engine.FieldProcessorFixer.mergeJiraUsers(FieldProcessorFixer.java:5001) at com.javahollic.jira.emh.engine.FieldProcessorFixer.fixupValidCustomFieldRecipientUsers(FieldProcessorFixer.java:4769) at com.javahollic.jira.emh.engine.FieldProcessorFixer.fixupCustomFieldsAndOperations(FieldProcessorFixer.java:4237) at com.javahollic.jira.emh.engine.FieldProcessorFixer.fixup(FieldProcessorFixer.java:295) at com.javahollic.jira.emh.module.fieldproc.AbstractFieldProcessor.fixup(AbstractFieldProcessor.java:382) at com.javahollic.jira.emh.module.fieldproc.AtPrefixedFieldProcessor.getFieldMaps(AtPrefixedFieldProcessor.java:316) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:889) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:317) at com.javahollic.jira.emh.service.ProfileGroupRunner.runWithConfiguration(ProfileGroupRunner.java:579) at com.javahollic.jira.emh.service.ProfileGroupRunner.handleMessage(ProfileGroupRunner.java:127) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:196) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:47) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:376) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:255) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:366) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:229) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:62) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:44)
    via by Andrew Laden,
    • com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.String at com.javahollic.jira.emh.module.fieldproc.XmlFieldProcessor.getFieldMaps(XmlFieldProcessor.java:106) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:743) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:307) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:267) 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) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    No Bugmate found.