Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1183

Error during initial request parsing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-beta3
    • 3.0-beta3
    • IMAPServer
    • None
    • Centos AMD Dual-Core 2.6 gHz 4GB RAM

    Description

      I am noticing issues off and on when I try to copy messages offline into a mailbox folder via IMAP. James throws and error:

      ----------------------------------------------------------------
      DEBUG 18:20:28,945 | james.imapserver | Error during initial request parsing
      org.apache.james.imap.decode.DecodingException: Missing argument.
      at org.apache.james.imap.decode.ImapRequestLineReader.nextWordChar(ImapRequestLineReader.java:58)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:296)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.atom(AbstractImapCommandParser.java:149)
      at org.apache.james.imap.decode.main.DefaultImapDecoder.decodeCommandTagged(DefaultImapDecoder.java:83)
      at org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:61)
      at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62)
      at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
      at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88)
      at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      DEBUG 18:20:28,946 | james.imapserver | Cannot parse tag
      org.apache.james.imap.decode.DecodingException: Missing argument.
      at org.apache.james.imap.decode.ImapRequestLineReader.nextWordChar(ImapRequestLineReader.java:58)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:296)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.tag(AbstractImapCommandParser.java:158)
      at org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:60)
      at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62)
      at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
      at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88)
      at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      ----------------------------------------------------------------
      It seems like james does not like certain tags. I've seen it complain about html tags too. Do not know if this is fixed or if someone is working on it. Trying to gather more information to see exact causes or what sort of e-mails cause james to throw this error.

      Attachments

        1. Image Uploading for NYYC.eml
          6 kB
          Myron L Stewart
        2. msg_example_01.txt
          39 kB
          Myron L Stewart
        3. partial_wrapper.log
          98 kB
          Myron L Stewart
        4. wrapper-20110207.log.tar.gz
          26 kB
          Myron L Stewart

        Activity

          People

            norman Norman Maurer
            geniak Myron L Stewart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: