java.io.UnsupportedEncodingException

utf-7

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web45

  • via Atlassian JIRA by Dharmender Goyal, 1 year ago
    utf-7
  • via Atlassian JIRA by Tim Evans, 1 year ago
    utf-7
  • via Atlassian JIRA by Dharmender Goyal, 1 year ago
    utf-7
  • Stack trace

    • java.io.UnsupportedEncodingException: utf-7 at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at com.sun.mail.handlers.text_plain.getContent(text_plain.java:107) at javax.activation.DataSourceDataContentHandler.getContent(Unknown Source) at javax.activation.DataHandler.getContent(Unknown Source) at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1420) at com.atlassian.servicedesk.squalor.email.ServiceDeskMailUtils.getAttachments(ServiceDeskMailUtils.java:258) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailManager.createIssueInJiraContext(IncomingEmailManager.scala:197) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailManager.createIssueFromEmail(IncomingEmailManager.scala:177) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$crea$$$$311dbd58eb432d26726307e187be9da$$$$anonfun$apply$13$$anonfun$apply$15.apply(IncomingEmailService.scala:113) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$crea$$$$311dbd58eb432d26726307e187be9da$$$$anonfun$apply$13$$anonfun$apply$15.apply(IncomingEmailService.scala:112) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10$$anonfun$apply$11$$anonfun$apply$12$$anonfun$apply$13.apply(IncomingEmailService.scala:112) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10$$anonfun$apply$11$$anonfun$apply$12$$anonfun$apply$13.apply(IncomingEmailService.scala:110) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$com$$$$$cd2731b58a8142effad79be1482acd$$$$inEmailContext$1$$anonfun$apply$26.apply(IncomingEmailService.scala:164) at com.atlassian.servicedesk.internal.utils.context.PortalContextUtil$.inPortalContext(PortalContextUtil.scala:23) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$com$atlassian$servicedesk$internal$feature$emailchannel$IncomingEmailService$$inEmailContext$1.apply(IncomingEmailService.scala:163) at com.atlassian.servicedesk.internal.utils.context.AuthenticationContextUtil$.runAsUser(AuthenticationContextUtil.scala:15) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService.com$atlassian$servicedesk$internal$feature$emailchannel$IncomingEmailService$$inEmailContext(IncomingEmailService.scala:161) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10$$anonfun$apply$11$$anonfun$apply$12.apply(IncomingEmailService.scala:108) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10$$anonfun$apply$11$$anonfun$apply$12.apply(IncomingEmailService.scala:107) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10$$anonfun$apply$11.apply(IncomingEmailService.scala:107) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10$$anonfun$apply$11.apply(IncomingEmailService.scala:106) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10.apply(IncomingEmailService.scala:106) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2$$anonfun$apply$10.apply(IncomingEmailService.scala:105) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2.apply(IncomingEmailService.scala:105) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService$$anonfun$createIssueFromEmail$2.apply(IncomingEmailService.scala:104) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService.createIssueFromEmail(IncomingEmailService.scala:104) at com.atlassian.servicedesk.internal.feature.emailchannel.IncomingEmailService.processEmail(IncomingEmailService.scala:75) at com.atlassian.servicedesk.internal.feature.emailchannel.emailplatform.handler.SDMailHandler.processMessage(SDMailHandler.scala:41) at com.atlassian.servicedesk.internal.feature.emailchannel.emailplatform.handler.SDMailHandler.handleNewMessage(SDMailHandler.scala:25) at com.atlassian.jira.internal.mail.processor.feature.processor.MailHandlerWorker.handle(MailHandlerWorker.java:67) at com.atlassian.jira.internal.mail.processor.feature.processor.MailProcessorWorker.processMailItem(MailProcessorWorker.java:149) at com.atlassian.jira.internal.mail.processor.feature.processor.MailProcessorWorker.process(MailProcessorWorker.java:83) at com.atlassian.jira.internal.mail.processor.feature.processor.MailProcessorService.run(MailProcessorService.java:41) at com.atlassian.jira.internal.mail.processor.services.MailProcessorExecutor.run(MailProcessorExecutor.java:34) at com.atlassian.jira.internal.mail.processor.services.AbstractMailExecutor.execute(AbstractMailExecutor.java:48) at com.atlassian.jira.internal.mail.processor.services.MailJobRunner.runJob(MailJobRunner.java:38) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    589 times, 10 months ago
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 11 months ago
    19 times, 6 months ago
    1 more bugmates