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

NPE after deleting email

    XMLWordPrintableJSON

    Details

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

      Description

      When deleting a message every seems to work but I get the following exception in james.

      ERROR 09:27:57,334 | james.imapserver | [IMAPHandler-2] null
      java.lang.NullPointerException
      at org.apache.james.imap.store.MessageSearches.matches(MessageSearches.java:314)
      at org.apache.james.imap.store.MessageSearches.matches(MessageSearches.java:288)
      at org.apache.james.imap.store.MessageSearches.isMatch(MessageSearches.java:116)
      at org.apache.james.imap.store.MessageSearches.and(MessageSearches.java:201)
      at org.apache.james.imap.store.MessageSearches.matches(MessageSearches.java:189)
      at org.apache.james.imap.store.MessageSearches.isMatch(MessageSearches.java:127)
      at org.apache.james.imap.store.MessageSearches.isMatch(MessageSearches.java:89)
      at org.apache.james.imap.store.StoreMailbox.search(StoreMailbox.java:410)
      at org.apache.james.imap.processor.SearchProcessor.findIds(SearchProcessor.java:97)
      at org.apache.james.imap.processor.SearchProcessor.doProcess(SearchProcessor.java:71)
      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.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:46)
      at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:46)
      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: