Error parsing email: java.io.UnsupportedEncodingException: unicode-1-1-utf-7

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • None
    • Component/s: Email notifications
    • None

      A user reports getting this error when JIRA parses an email:

      ERROR [service.util.handler.CreateIssueHandler] Could not create issue!
      java.io.UnsupportedEncodingException: unicode-1-1-utf-7
          at sun.io.Converters.getConverterClass(Converters.java:218)
          at sun.io.Converters.newConverter(Converters.java:251)
          at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:68)
          at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:224)
          at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:210)
          at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:77)
          at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
          at com.sun.mail.handlers.text_plain.getContent(text_plain.java:64)
          at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
          at javax.activation.DataHandler.getContent(DataHandler.java:501)
          at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:603)
          at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:236)
          at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:201)
          at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:201)
          at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:115)
          at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:187)
          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)
      
      

            Assignee:
            Unassigned
            Reporter:
            Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: