java.lang.NullPointerException

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.

  • Emails that contain attached eml files do not result in issue/comment creation. This is the error I receive as admin: javax.mail.MessagingException: Unhandled Exception occurred during processing, type=java.lang.NullPointerException), location=com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95). Likely this is a BUG: null; nested exception is: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:634) 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: java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:54) at com.javahollic.jira.emh.service.EMHIssueHandler.sendUpdates(EMHIssueHandler.java:770) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:589) ... 7 more
    via by Kilian,
  • Emails that contain attached eml files do not result in issue/comment creation. This is the error I receive as admin: javax.mail.MessagingException: Unhandled Exception occurred during processing, type=java.lang.NullPointerException), location=com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95). Likely this is a BUG: null; nested exception is: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:634) 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: java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:54) at com.javahollic.jira.emh.service.EMHIssueHandler.sendUpdates(EMHIssueHandler.java:770) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:589) ... 7 more
    via by Kilian,
  • Hi Andy, We are getting an error when a watcher responds to an issue via email. For example, a end user (non JIRA user) sends an issue via email, they get a response back with their ticket number, etc. Should they then respond to that email (and add a comment) an error is thrown to the administrator via email. The comment seems to be added ok however there is an email containing an error. The error is as follows: This is an automated email from the issue creation service at "http://X.X.X.X:8080". An error was encountered whilst handling messages from the mail server "NYI CIT" using the handler "class com.javahollic.jira.emh.service.CreateOrCommentHandler". The error was: ------------------------ "An Error occured, the message could not be processed but has not been deleted, from 'Jonathan Cahill <jcahill33@gmail.com>', subject: Re: [CIT_HelpDesk] Created issue: CITHD-43" ------------------------ The error and the email that caused the error are attached to this email. If this is a recurring problem, you may wish to contact a system administrator to check the parameters of your mail fetching service: -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira Additionally, in the log and as an attachment, the following additional information is noted: javax.mail.MessagingException: Unhandled Exception occurred during processing, type=java.lang.NullPointerException), location=com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95). Likely this is a BUG: null; nested exception is: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:620) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:128) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) 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: java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:54) at com.javahollic.jira.emh.service.EMHIssueHandler.sendUpdates(EMHIssueHandler.java:756) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:576) ... 7 more Any assistance you can offer would be most appreciated. Thank you again in advance for all of your assistance.
    via by Jonathan Cahill,
  • Hi Andy, We are getting an error when a watcher responds to an issue via email. For example, a end user (non JIRA user) sends an issue via email, they get a response back with their ticket number, etc. Should they then respond to that email (and add a comment) an error is thrown to the administrator via email. The comment seems to be added ok however there is an email containing an error. The error is as follows: This is an automated email from the issue creation service at "http://X.X.X.X:8080". An error was encountered whilst handling messages from the mail server "NYI CIT" using the handler "class com.javahollic.jira.emh.service.CreateOrCommentHandler". The error was: ------------------------ "An Error occured, the message could not be processed but has not been deleted, from 'Jonathan Cahill <jcahill33@gmail.com>', subject: Re: [CIT_HelpDesk] Created issue: CITHD-43" ------------------------ The error and the email that caused the error are attached to this email. If this is a recurring problem, you may wish to contact a system administrator to check the parameters of your mail fetching service: -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira Additionally, in the log and as an attachment, the following additional information is noted: javax.mail.MessagingException: Unhandled Exception occurred during processing, type=java.lang.NullPointerException), location=com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95). Likely this is a BUG: null; nested exception is: java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:620) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:128) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) 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: java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:54) at com.javahollic.jira.emh.service.EMHIssueHandler.sendUpdates(EMHIssueHandler.java:756) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:576) ... 7 more Any assistance you can offer would be most appreciated. Thank you again in advance for all of your assistance.
    via by Jonathan Cahill,
  • Hello, Since upgrading to JIRA 3.6 Enterprise (standalone) over the weekend, the e-mail handler that helps create and comment on issues has a problem where it keeps posting the same comments over and over again. From what I see, the user replies to an e-mail to add a comment made in a reported JIRA issue, but it appears that JIRA is not cleaning up the message off from the mail server once it processes. Becaus of this, we keep getting the same message over and over again until I can manually delete it off myself from the mail server. Looking at the log, here's what I see: 2006-05-05 07:22:56,793 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Aborting 2006-05-05 07:22:56,825 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue IQ-3400: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:85) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:55) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.addChangeHistoryItem(AbstractCommentHandler.java:122) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:255) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:100) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2006-05-05 07:22:56,825 WARN [service.util.handler.AbstractCommentHandler] Exception creating comment null java.io.IOException at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:262) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:100) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) The same block appears over and over again in the log, until I remove the offending message from the mail server. We never had any problems before JIRA 3.6 and I don't see anything special about the e-mail message that causes it to get "stuck" in the mail queue since it was just a comment with no attachments. Any help is appreciated. Nordy Isaac
    via by Nordy Isaac,
  • Attachment creation failure will cause a _NullPointer_ exception when attempting to create a change item for the attachment in the history of the issue. This results in the message handler looping over the mail indefinitely as the processing never completes. The exception generated is as follows: {panel} 2006-04-21 17:24:10,854 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Ab orting 2006-04-21 17:24:10,862 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue STAT-212: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:85) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:55) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.addChangeHistoryItem(AbstractCommentHandl er.java:122) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageH andler.java:262) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.ja va:216) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessa geHandler.java:195) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java :90) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2006-04-21 17:24:10,864 WARN [service.util.handler.AbstractCommentHandler] Exception creating comment null java.io.IOException at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageH andler.java:269) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.ja va:216) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessa geHandler.java:195) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java :90) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {panel}
    via by Keith Brophy,
  • Hello, Since upgrading to JIRA 3.6 Enterprise (standalone) over the weekend, the e-mail handler that helps create and comment on issues has a problem where it keeps posting the same comments over and over again. From what I see, the user replies to an e-mail to add a comment made in a reported JIRA issue, but it appears that JIRA is not cleaning up the message off from the mail server once it processes. Becaus of this, we keep getting the same message over and over again until I can manually delete it off myself from the mail server. Looking at the log, here's what I see: 2006-05-05 07:22:56,793 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Aborting 2006-05-05 07:22:56,825 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue IQ-3400: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:85) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:55) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.addChangeHistoryItem(AbstractCommentHandler.java:122) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:255) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:100) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2006-05-05 07:22:56,825 WARN [service.util.handler.AbstractCommentHandler] Exception creating comment null java.io.IOException at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:262) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:100) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) The same block appears over and over again in the log, until I remove the offending message from the mail server. We never had any problems before JIRA 3.6 and I don't see anything special about the e-mail message that causes it to get "stuck" in the mail queue since it was just a comment with no attachments. Any help is appreciated. Nordy Isaac
    via by Nordy Isaac,
  • Attachment creation failure will cause a _NullPointer_ exception when attempting to create a change item for the attachment in the history of the issue. This results in the message handler looping over the mail indefinitely as the processing never completes. The exception generated is as follows: {panel} 2006-04-21 17:24:10,854 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Ab orting 2006-04-21 17:24:10,862 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue STAT-212: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:85) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:55) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.addChangeHistoryItem(AbstractCommentHandl er.java:122) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageH andler.java:262) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.ja va:216) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessa geHandler.java:195) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java :90) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2006-04-21 17:24:10,864 WARN [service.util.handler.AbstractCommentHandler] Exception creating comment null java.io.IOException at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageH andler.java:269) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.ja va:216) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessa geHandler.java:195) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java :90) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) 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:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {panel}
    via by Keith Brophy,
    • java.lang.NullPointerException at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:634) 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: java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:95) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:54) at com.javahollic.jira.emh.service.EMHIssueHandler.sendUpdates(EMHIssueHandler.java:770) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:589) ... 7 more
    No Bugmate found.