com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^

JIRA | Henning Tietgens | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I have a domain mapping for two emails {{logo@domain.de}} and {{logos@domain.de}}. The domain mapping is this regex: {noformat} logos{0,1}@domain\.de {noformat} If an email comes in I get a FieldProcessorException: {noformat} FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^ 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.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85) at com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231) at com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) {noformat} This happens after updating JIRA from 5.1.8/JEMH 1.2.x to the latest versions. In the above mentioned combination this worked without problems.

    JIRA | 3 years ago | Henning Tietgens
    com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^
  2. 0

    I have a domain mapping for two emails {{logo@domain.de}} and {{logos@domain.de}}. The domain mapping is this regex: {noformat} logos{0,1}@domain\.de {noformat} If an email comes in I get a FieldProcessorException: {noformat} FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^: com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^ 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.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85) at com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231) at com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) {noformat} This happens after updating JIRA from 5.1.8/JEMH 1.2.x to the latest versions. In the above mentioned combination this worked without problems.

    JIRA | 3 years ago | Henning Tietgens
    com.javahollic.jira.emh.api.extension.fieldproc.FieldProcessorException: com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^

    Root Cause Analysis

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

      com.javahollic.jira.emh.service.InvalidDirectiveDataException: com.javahollic.jira.emh.service.EMHProcessingFailureException: ProjectMapper failed to fixup applyProjectMappingsForCreate: Unclosed counted closure near index 7 logos{0 ^

      at com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps()
    2. com.javahollic.jira
      Auditing.doReanimate
      1. com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps(BasicMailProcessor.java:57)
      2. com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:756)
      3. com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:323)
      4. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:247)
      5. com.javahollic.jira.emh.service.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85)
      6. com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231)
      7. com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.atlassian.plugins
      DispatchProviderHelper$ResponseOutInvoker$1.invoke
      1. com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234)
      1 frame