java.lang.NullPointerException

Atlassian JIRA | Test comp | 3 years ago
  1. 0

    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)

    Atlassian JIRA | 3 years ago | Test comp
    java.lang.NullPointerException
  2. 0

    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)

    Atlassian JIRA | 3 years ago | Test comp
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NullPointerException in MimeUtility#quote()

    Kenai Bugzilla | 3 years ago | dritz
    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 javax.mail.internet.MimeUtility.quote()
    2. JavaMail API
      ContentType.toString
      1. javax.mail.internet.MimeUtility.quote(MimeUtility.java:974)
      2. javax.mail.internet.ParameterList.quote(ParameterList.java:658)
      3. javax.mail.internet.ParameterList.access$200(ParameterList.java:75)
      4. javax.mail.internet.ParameterList$ToStringBuffer.addNV(ParameterList.java:626)
      5. javax.mail.internet.ParameterList.toString(ParameterList.java:607)
      6. javax.mail.internet.ContentType.toString(ContentType.java:221)
      6 frames
    3. JavaMail API (compat)
      IMAPBodyPart.getDataHandler
      1. com.sun.mail.imap.IMAPBodyPart.<init>(IMAPBodyPart.java:82)
      2. com.sun.mail.imap.IMAPMultipartDataSource.<init>(IMAPMultipartDataSource.java:70)
      3. com.sun.mail.imap.IMAPBodyPart.getDataHandler(IMAPBodyPart.java:288)
      3 frames
    4. JavaMail API
      MimeBodyPart.getContent
      1. javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637)
      1 frame
    5. com.atlassian.jira
      CreateOrCommentHandler.handleMessage
      1. com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:649)
      2. com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:622)
      3. com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:258)
      4. com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:133)
      4 frames
    6. com.metainf.jira
      AutoReplyMailHandler.handleMessage
      1. com.metainf.jira.plugin.emailissue.handler.AutoReplyMailHandler.handleMessage(AutoReplyMailHandler.java:240)
      1 frame
    7. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368)
      2. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271)
      3. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356)
      4. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
      5. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      6. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      6 frames
    8. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames