James Server
  1. James Server
  2. JAMES-820

java.io.IOException: Unknown encoding: 8-bit in AttachmentFileNameIs matcher

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.3, 3.0-M1, 3.0.0
    • Labels:
      None
    • Environment:
      RHE Linux
      j2sdk1.4.2_13

      Description

      We are getting quite a lot of these exceptions on our server:

      java.io.IOException: Unknown encoding: 8-bit
      at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:106)
      at com.sun.mail.handlers.text_plain.getContent(text_plain.java:82)
      at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:789)
      at javax.activation.DataHandler.getContent(DataHandler.java:536)
      at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1380)
      at org.apache.james.core.MimeMessageCopyOnWriteProxy.getContent(MimeMessageCopyOnWriteProxy.java:34
      3)
      at org.apache.james.transport.matchers.AttachmentFileNameIs.matchFound(AttachmentFileNameIs.java:16
      2)
      at org.apache.james.transport.matchers.AttachmentFileNameIs.match(AttachmentFileNameIs.java:130)
      at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:357)
      at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:405)
      at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:309)
      at java.lang.Thread.run(Thread.java:534)

      We have other matchers/mailets called before AttachmentFileNameIs in our configuration but this is the only place the exception is thrown.

        Activity

        Ozkan Mehmedali created issue -
        Norman Maurer made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Norman Maurer [ norman ]
        Fix Version/s 2.3.3 [ 12312869 ]
        Fix Version/s 3.0 [ 10427 ]
        Fix Version/s 3.0-M1 [ 12314294 ]
        Resolution Won't Fix [ 2 ]
        Mark Thomas made changes -
        Workflow jira [ 12414561 ] Default workflow, editable Closed status [ 12566889 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566889 ] jira [ 12581935 ]

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Ozkan Mehmedali
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development