[ 
https://issues.apache.org/jira/browse/JAMES-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980744#action_12980744
 ] 

Myron L Stewart commented on JAMES-1183:
----------------------------------------

Even more information. The issue seems to mainly happen when the mail clients 
try to put a copy of the outgoing message in the Sent folder. The message goes 
out of course, but when the mail client tries to put a copy of the e-mail in 
the Sent folder or if I have a local message and try to copy or move it to a 
folder, that is where the problem occurs. I am new at James, so I need to 
understand the code some more, but at least I know where the source is which 
should allow me to write a little Unit Tester against some e-mails.

INFO   | jvm 1    | 2011/01/12 10:10:30 | DEBUG 10:10:30,773 | james.imapserver 
| Got <tag>: for
INFO   | jvm 1    | 2011/01/12 10:10:30 | DEBUG 10:10:30,773 | james.imapserver 
| Got <command>: the
INFO   | jvm 1    | 2011/01/12 10:10:30 | INFO  10:10:30,774 | james.imapserver 
| Missing command implementation.
INFO   | jvm 1    | 2011/01/12 10:10:30 | DEBUG 10:10:30,774 | james.imapserver 
| Cannot parse tag
INFO   | jvm 1    | 2011/01/12 10:10:30 | 
org.apache.james.imap.decode.DecodingException: Invalid character: '"'
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:302)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.apache.james.imap.decode.base.AbstractImapCommandParser.tag(AbstractImapCommandParser.java:158)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:60)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
INFO   | jvm 1    | 2011/01/12 10:10:30 |       at 
java.lang.Thread.run(Thread.java:662)


> Error during initial request parsing
> ------------------------------------
>
>                 Key: JAMES-1183
>                 URL: https://issues.apache.org/jira/browse/JAMES-1183
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: IMAPServer
>    Affects Versions: 3.0-M3
>         Environment: Centos AMD Dual-Core 2.6 gHz 4GB RAM
>            Reporter: Myron L Stewart
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to