Uploaded image for project: 'Exchange'
  1. Exchange
  2. EXCHANGE-4

Error when checking mails when user has no email adress set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • None

    Description

      The following error occurs :

      Caused by: java.util.concurrent.ExecutionException: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The Id property must be set.
              at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
              at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
              at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
              at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:137)
              at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2348)
              at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2320)
              at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
              at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
              at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
              at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
              at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
              at org.ametys.plugins.exchange.component.MailExchangeManager.getCountUnreadMail(MailExchangeManager.java:212)
              at org.ametys.plugins.exchange.GetExchangeInfoAction.act(GetExchangeInfoAction.java:81)
              at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
              at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
              at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
              at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
              at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
              at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
              at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
              at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
              at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
              at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
              at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
              ... 76 more
      Caused by: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The Id property must be set.
              at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:74)
              at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)
              at microsoft.exchange.webservices.data.core.ExchangeService.findItems(ExchangeService.java:985)
              at microsoft.exchange.webservices.data.core.ExchangeService.findItems(ExchangeService.java:1028)
              at microsoft.exchange.webservices.data.core.ExchangeService.findItems(ExchangeService.java:1088)
              at org.ametys.plugins.exchange.component.MailExchangeManager.getUserInfo(MailExchangeManager.java:166)
              at org.ametys.plugins.exchange.component.MailExchangeManager$ExchangeCacheLoader.load(MailExchangeManager.java:259)
              at org.ametys.plugins.exchange.component.MailExchangeManager$ExchangeCacheLoader.load(MailExchangeManager.java:253)
              at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
              at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
              ... 94 more
      Caused by: java.lang.Exception: The Id property must be set.
              at microsoft.exchange.webservices.data.misc.ImpersonatedUserId.writeToXml(ImpersonatedUserId.java:73)
              at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.writeToXml(ServiceRequestBase.java:243)
              at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.buildEwsHttpWebRequest(ServiceRequestBase.java:696)
              at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.buildEwsHttpWebRequest(ServiceRequestBase.java:665)
              at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:635)
              at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:62)
              ... 103 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: