java.lang.NullPointerException

JIRA | Henrik Nicolaisen | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hi I am trying to evaluate JEMH with a new google apps emails running imap, but with a very basic config I get a NullPointerException when testing with a simple email. Process Outcome: forward Can Handle: Y Rejected: Processed OK: N Do Delete: Y Email Subject: test 6 Message Size: 2.5 Kb Signed: Issue Key: Created: Updated: Commented: Processor Selected: 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:170) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:202) at com.javahollic.jira.emh.ui.action.JEMHTestCases.doRun(JEMHTestCases.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) Notify Sender: Hint Sent: Hintogram Recipient: Attachments: Filter Reason: Filter Name: Filter Action: JEMH Version: 1.1.6 JIRA Version: 5.0 build# 713 I have tried exporting the profile, but it only generates an empty txt file, so I have created a screenshot instead

    JIRA | 5 years ago | Henrik Nicolaisen
    java.lang.NullPointerException
  2. 0

    Hi I am trying to evaluate JEMH with a new google apps emails running imap, but with a very basic config I get a NullPointerException when testing with a simple email. Process Outcome: forward Can Handle: Y Rejected: Processed OK: N Do Delete: Y Email Subject: test 6 Message Size: 2.5 Kb Signed: Issue Key: Created: Updated: Commented: Processor Selected: 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:170) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:202) at com.javahollic.jira.emh.ui.action.JEMHTestCases.doRun(JEMHTestCases.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) Notify Sender: Hint Sent: Hintogram Recipient: Attachments: Filter Reason: Filter Name: Filter Action: JEMH Version: 1.1.6 JIRA Version: 5.0 build# 713 I have tried exporting the profile, but it only generates an empty txt file, so I have created a screenshot instead

    JIRA | 5 years ago | Henrik Nicolaisen
    java.lang.NullPointerException
  3. 0

    Hi! Our project management uses MS Outlook and needs to attach customer mails to issues. Outlook does the attachment of mails with this multipart header: ------=_NextPart_000_0419_01CD0B61.AB655310 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: attachment Mails with such a multipart won't be processed by JEMH: ===================================== NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:754) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:170) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:191) at com.javahollic.jira.emh.ui.action.JEMHTestCases.doRun(JEMHTestCases.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) ===================================== Thunderbird attaches mails with following multipart header: Content-Type: message/rfc822; name="ForwardedMessage.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ForwardedMessage.eml" This works and the attached mails appear in the issue attachments. May you please have a look at this?

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

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    h3.Scenario Process email html body content and no plain text body content. Profile body preference is set to text or any. Settings *Add Original Email Body to Issue* and *Disable Zip Wrapper* are enabled. h3.Expected Outcome JEMH adds HTML body part to issue as attachment. h3.Actual Outcome JEMH fails to add HTML body part as attachment. The following exception is shown: {noformat}NullPointerException: null: java.lang.NullPointerException at com.javahollic.jira.emh.engine.FieldProcessorFixer.addOriginalEmailAsAttachment(FieldProcessorFixer.java:1317) at com.javahollic.jira.emh.engine.FieldProcessorFixer.fixupAttachments(FieldProcessorFixer.java:935) at com.javahollic.jira.emh.engine.FieldProcessorFixer.fixup(FieldProcessorFixer.java:288) at com.javahollic.jira.emh.module.fieldproc.AbstractFieldProcessor.fixup(AbstractFieldProcessor.java:384) at com.javahollic.jira.emh.module.fieldproc.BasicMailProcessor.getFieldMaps(BasicMailProcessor.java:55) at com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:917) at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:341) at com.javahollic.jira.emh.service.ProfileGroupRunner.runWithConfiguration(ProfileGroupRunner.java:563) at com.javahollic.jira.emh.service.ProfileGroupRunner.handleMessage(ProfileGroupRunner.java:126) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:194) at com.javahollic.jira.emh.ui.action.JEMHTestCases.doRun(JEMHTestCases.java:438) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) at webwork.action.ActionSupport.execute(ActionSupport.java:157) {noformat}

    JIRA | 2 months ago | Rhys Griffiths
    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.service.ProcessorRunner.runProcessor()
    2. com.javahollic.jira
      JEMHTestCases.doRun
      1. com.javahollic.jira.emh.service.ProcessorRunner.runProcessor(ProcessorRunner.java:766)
      2. com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:170)
      3. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:202)
      4. com.javahollic.jira.emh.ui.action.JEMHTestCases.doRun(JEMHTestCases.java:232)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames
    5. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:157)
      2 frames
    6. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82)
      1 frame
    7. webwork.interceptor
      DefaultInterceptorChain.proceed
      1. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
      1 frame