java.io.UnsupportedEncodingException: unicode-1-1-utf-7

Atlassian JIRA | River Tarnell | 9 years ago
  1. 0

    When an issue is received via email with an encoding JIRA doesn't recognise, it logs the following error: 2007-11-02 05:48:14,177 JiraQuartzScheduler_Worker-0 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:279) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) However, the issue is created, with an empty body, and the message is left at the IMAP server. The next time the email service runs, another empty issue is created. This continues forever until the mail is manually deleted from the server. I have attached an example message that causes this issue.

    Atlassian JIRA | 9 years ago | River Tarnell
    java.io.UnsupportedEncodingException: unicode-1-1-utf-7
  2. 0

    When an issue is received via email with an encoding JIRA doesn't recognise, it logs the following error: 2007-11-02 05:48:14,177 JiraQuartzScheduler_Worker-0 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:279) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) However, the issue is created, with an empty body, and the message is left at the IMAP server. The next time the email service runs, another empty issue is created. This continues forever until the mail is manually deleted from the server. I have attached an example message that causes this issue.

    Atlassian JIRA | 9 years ago | River Tarnell
    java.io.UnsupportedEncodingException: unicode-1-1-utf-7
  3. 0

    A user reports getting this error when JIRA parses an email: {noformat}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) {noformat}

    Atlassian JIRA | 10 years ago | Jeff Turner
    java.io.UnsupportedEncodingException: unicode-1-1-utf-7
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A user reports getting this error when JIRA parses an email: {noformat}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) {noformat}

    Atlassian JIRA | 10 years ago | Jeff Turner
    java.io.UnsupportedEncodingException: unicode-1-1-utf-7
  6. 0

    Unsupported Encoding

    Google Groups | 1 decade ago | none
    java.io.UnsupportedEncodingException: iso-8859-10

    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.io.UnsupportedEncodingException

      unicode-1-1-utf-7

      at sun.io.Converters.getConverterClass()
    2. sun.io
      ByteToCharConverter.getConverter
      1. sun.io.Converters.getConverterClass(Converters.java:218)
      2. sun.io.Converters.newConverter(Converters.java:251)
      3. sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:68)
      3 frames
    3. Java RT
      InputStreamReader.<init>
      1. sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:224)
      2. sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:210)
      3. sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:77)
      4. java.io.InputStreamReader.<init>(InputStreamReader.java:83)
      4 frames
    4. JavaMail API (compat)
      text_plain.getContent
      1. com.sun.mail.handlers.text_plain.getContent(text_plain.java:64)
      1 frame
    5. Java RT
      DataHandler.getContent
      1. javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
      2. javax.activation.DataHandler.getContent(DataHandler.java:501)
      2 frames
    6. JavaMail API
      MimeBodyPart.getContent
      1. javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:603)
      1 frame
    7. com.atlassian.jira
      AbstractMessageHandler.createAttachmentsForMessage
      1. com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:279)
      2. com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234)
      2 frames