Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.2.0
-
Labels:None
-
Story Points:1
-
Rank:6983
-
Sprint:2016#01
Description
Pre-conditions
Reproduction steps
no reproduction steps has been found yet
It seems to be an unexpected request from ios devices, they try to fetch the attachment "191AF69B-0088-47D2-AD66-6C9D08949C46" which does not exist.
You can search for this UUID on the web, multiple activesync servers encounter this same issue.
Current behavior
- NOK A NPE error is printed in logs
09:52:23.803 [ERROR] {o.o.a.t.TransactionalInterceptor} [t1252082/cGetAttachment/r1253280/user@linagora.com] transaction was rollback java.lang.NullPointerException: null at org.obm.push.mail.MailBackendImpl.getAttachment(MailBackendImpl.java:751) ~[push-mail-3.1.1-beta1.jar:na] at org.obm.breakdownduration.BreakdownDurationInterceptor.invoke(BreakdownDurationInterceptor.java:58) ~[breakdown-duration-3.1.2.jar:na] at org.obm.push.handler.GetAttachmentHandler.getAttachment(GetAttachmentHandler.java:88) ~[push-core-3.1.1-beta1.jar:na] at org.obm.push.handler.GetAttachmentHandler.process(GetAttachmentHandler.java:70) ~[push-core-3.1.1-beta1.jar:na] at org.obm.push.ActiveSyncServlet.processActiveSyncMethod(ActiveSyncServlet.java:258) ~[push-core-3.1.1-beta1.jar:na] at org.obm.push.ActiveSyncServlet.doPost(ActiveSyncServlet.java:174) ~[push-core-3.1.1-beta1.jar:na] at org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:87) ~[annotations-
Expected behavior
- OK No more NPE error
Additional informations
Issue Links
- depends on
-
OP-234 Errors in GetAttachment can produce a wrong authorization log
-
This ticket is resolved by
OP-234