Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-105

When selecting "Trash" folder a NPE is thrown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 0.1
    • Component/s: JPA Mailbox
    • Labels:
      None

      Description

      ERROR 09:30:56,644 | james.imapserver | [IMAPHandler-3] null
      java.lang.NullPointerException
      at org.apache.james.imap.store.ResultUtils.getSortedHeaders(ResultUtils.java:71)
      at org.apache.james.imap.store.ResultUtils.createHeaders(ResultUtils.java:60)
      at org.apache.james.imap.store.ResultUtils.createHeaders(ResultUtils.java:56)
      at org.apache.james.imap.store.ResultUtils.addHeaders(ResultUtils.java:149)
      at org.apache.james.imap.store.ResultUtils.loadMessageResult(ResultUtils.java:100)
      at org.apache.james.imap.store.ResultIterator.next(ResultIterator.java:79)
      at org.apache.james.imap.store.ResultIterator.next(ResultIterator.java:40)
      at org.apache.james.imap.processor.fetch.FetchProcessor.doProcess(FetchProcessor.java:91)
      at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:123)
      at org.apache.james.imap.processor.AbstractMailboxProcessor.process(AbstractMailboxProcessor.java:80)
      at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:73)
      at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:44)
      at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:46)
      at org.apache.james.imap.main.ImapRequestHandler.doProcessRequest(ImapRequestHandler.java:171)
      at org.apache.james.imap.main.ImapRequestHandler.handleRequest(ImapRequestHandler.java:102)
      at org.apache.james.imapserver.ImapHandler.handleRequest(ImapHandler.java:104)
      at org.apache.james.imapserver.ImapHandler.handleProtocol(ImapHandler.java:80)
      at org.apache.james.socket.JamesConnectionBridge.handleConnection(JamesConnectionBridge.java:311)
      at org.apache.james.socket.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:469)
      at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:57)
      at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:118)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: