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.

  • Hi, Have you experienced something problem with weird filename attachements in email processing? The issue is continuously created, agan and again. The emial wasn't deleted, and the mail handler process it again. Exchange 2010 server IMAP protocol. We got email with this attachement name,We think that could cause this problem: ISO-8859-1''bo j�zsef.pdf 2013-12-01 16:46:55,906 QuartzScheduler_Worker-2 WARN ServiceRunner MyMailHandler [atlassian.mail.incoming.mailfetcherservice] MyMailHandler[10202]: Unable to create issue with message. java.lang.NullPointerException at javax.mail.internet.MimeUtility.quote(MimeUtility.java:974) at javax.mail.internet.ParameterList.quote(ParameterList.java:658) at javax.mail.internet.ParameterList.access$200(ParameterList.java:75) at javax.mail.internet.ParameterList$ToStringBuffer.addNV(ParameterList.java:626) at javax.mail.internet.ParameterList.toString(ParameterList.java:607) at javax.mail.internet.ContentType.toString(ContentType.java:221) at com.sun.mail.imap.IMAPBodyPart.<init>(IMAPBodyPart.java:82) at com.sun.mail.imap.IMAPMultipartDataSource.<init>(IMAPMultipartDataSource.java:70) at com.sun.mail.imap.IMAPBodyPart.getDataHandler(IMAPBodyPart.java:288) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:649) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:622) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:258) at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:133) at com.metainf.jira.plugin.emailissue.handler.AutoReplyMailHandler.handleMessage(AutoReplyMailHandler.java:240) 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)
    via by Test comp,
  • Hi, Have you experienced something problem with weird filename attachements in email processing? The issue is continuously created, agan and again. The emial wasn't deleted, and the mail handler process it again. Exchange 2010 server IMAP protocol. We got email with this attachement name,We think that could cause this problem: ISO-8859-1''bo j�zsef.pdf 2013-12-01 16:46:55,906 QuartzScheduler_Worker-2 WARN ServiceRunner MyMailHandler [atlassian.mail.incoming.mailfetcherservice] MyMailHandler[10202]: Unable to create issue with message. java.lang.NullPointerException at javax.mail.internet.MimeUtility.quote(MimeUtility.java:974) at javax.mail.internet.ParameterList.quote(ParameterList.java:658) at javax.mail.internet.ParameterList.access$200(ParameterList.java:75) at javax.mail.internet.ParameterList$ToStringBuffer.addNV(ParameterList.java:626) at javax.mail.internet.ParameterList.toString(ParameterList.java:607) at javax.mail.internet.ContentType.toString(ContentType.java:221) at com.sun.mail.imap.IMAPBodyPart.<init>(IMAPBodyPart.java:82) at com.sun.mail.imap.IMAPMultipartDataSource.<init>(IMAPMultipartDataSource.java:70) at com.sun.mail.imap.IMAPBodyPart.getDataHandler(IMAPBodyPart.java:288) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:649) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:622) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:258) at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:133) at com.metainf.jira.plugin.emailissue.handler.AutoReplyMailHandler.handleMessage(AutoReplyMailHandler.java:240) 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)
    via by Test comp,
    • java.lang.NullPointerException at javax.mail.internet.MimeUtility.quote(MimeUtility.java:974) at javax.mail.internet.ParameterList.quote(ParameterList.java:658) at javax.mail.internet.ParameterList.access$200(ParameterList.java:75) at javax.mail.internet.ParameterList$ToStringBuffer.addNV(ParameterList.java:626) at javax.mail.internet.ParameterList.toString(ParameterList.java:607) at javax.mail.internet.ContentType.toString(ContentType.java:221) at com.sun.mail.imap.IMAPBodyPart.<init>(IMAPBodyPart.java:82) at com.sun.mail.imap.IMAPMultipartDataSource.<init>(IMAPMultipartDataSource.java:70) at com.sun.mail.imap.IMAPBodyPart.getDataHandler(IMAPBodyPart.java:288) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:649) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:622) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:258) at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:133) at com.metainf.jira.plugin.emailissue.handler.AutoReplyMailHandler.handleMessage(AutoReplyMailHandler.java:240) 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)
    No Bugmate found.