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

Exception on copy message

    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

      INFO 12:02:57,746 | james.imapserver | [IMAPHandler-0] Fatal exception during connection from IP-213157026236.dialin.heagmedianet.de. (213.157.26.236): The given instance "org.apache.james.imap.jpa.mail.model.JPAMessage-org.apache.james.imap.jpa.mail.model.JPAMessage-116" is not managed by this context.
      <openjpa-1.2.0-r422266:683325 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: The given instance "org.apache.james.imap.jpa.mail.model.JPAMessage-org.apache.james.imap.jpa.mail.model.JPAMessage-116" is not managed by this context.
      FailedObject: org.apache.james.imap.jpa.mail.model.JPAMessage-org.apache.james.imap.jpa.mail.model.JPAMessage-116
      at org.apache.openjpa.kernel.BrokerImpl.getStateManagerImpl(BrokerImpl.java:4307)
      at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2379)
      at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2362)
      at org.apache.openjpa.kernel.SingleFieldManager.persist(SingleFieldManager.java:259)
      at org.apache.openjpa.kernel.StateManagerImpl.cascadePersist(StateManagerImpl.java:2893)
      at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2457)
      at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2280)
      at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1021)
      at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:645)
      at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:358)
      at $Proxy21.persist(Unknown Source)
      at org.apache.james.imap.jpa.mail.JPAMessageMapper.save(JPAMessageMapper.java:260)
      at org.apache.james.imap.store.StoreMailbox.copy(StoreMailbox.java:443)
      at org.apache.james.imap.store.StoreMailbox.copyTo(StoreMailbox.java:465)
      at org.apache.james.imap.store.StoreMailboxManager.copyMessages(StoreMailboxManager.java:228)
      at org.apache.james.imap.processor.CopyProcessor.doProcess(CopyProcessor.java:82)
      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.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.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.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: