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

Norman Maurer commented on JAMES-1183:
--------------------------------------

Ah......

After reading again the log I just noticed this stacktrace:

INFO   | jvm 1    | 2011/02/07 18:12:10 | java.lang.NullPointerException
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
java.util.Collections$UnmodifiableCollection.<init>(Collections.java:994)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
java.util.Collections$UnmodifiableSet.<init>(Collections.java:1065)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
java.util.Collections.unmodifiableSet(Collections.java:1055)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.base.MailboxEventAnalyser.expungedUids(MailboxEventAnalyser.java:198)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.base.SelectedMailboxImpl.expungedUids(SelectedMailboxImpl.java:191)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.AbstractMailboxProcessor.addExpungedResponses(AbstractMailboxProcessor.java:145)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:131)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:114)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:101)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.IdleProcessor$IdleMailboxListener.event(IdleProcessor.java:132)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.mailbox.store.AbstractDelegatingMailboxListener.event(AbstractDelegatingMailboxListener.java:50)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.mailbox.util.MailboxEventDispatcher.event(MailboxEventDispatcher.java:120)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.mailbox.util.MailboxEventDispatcher.added(MailboxEventDispatcher.java:80)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:265)
INFO   | jvm 1    | 2011/02/07 18:12:10 |       at 
org.apache.james.imap.processor.AppendProcessor.appendToMailbox(AppendProcessor.java:135)

This was fixed a few days before. 

See https://issues.apache.org/jira/browse/IMAP-254

So please try to upgrade to latest version and try again. And thanks again for 
all the details..


> 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
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         Attachments: Image Uploading for NYYC.eml, msg_example_01.txt, 
> partial_wrapper.log, wrapper-20110207.log.tar.gz
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to