Hello everyone
I am trying to implement message fetch
but i have an error in the catalina.out file as follow
when i reply to an email from AOS.
2022-10-19 13:50:00.209 DEBUG 23128 — [eduler_Worker-2] com.axelor.mail.service.MailService : Fetching new emails from: imap://user%40domain.com@domain.Com
2022-10-19 13:50:00.245 INFO 23128 — [eduler_Worker-2] com.axelor.mail.service.MailService : new email recieved: CAD2ch1oEjc9khroffFOOsy41F+WvYfxk2vYDDs6DjorM+OKvOw@mail.gmail.com
2022-10-19 13:50:00.326 INFO 23128 — [eduler_Worker-2] com.axelor.mail.service.MailService : parent message doesn’t exist, ignoring…
2022-10-19 13:50:00.350 ERROR 23128 — [eduler_Worker-2] com.axelor.mail.service.MailService : Unable to fetch messages
java.lang.NullPointerException: null
at com.axelor.apps.helpdesk.service.MailServiceHelpDeskImpl.messageReceived(MailServiceHelpDeskImpl.java:54)
at com.axelor.mail.service.MailServiceImpl.fetch(MailServiceImpl.java:560)
at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:64)
at com.axelor.apps.message.service.MailServiceMessageImpl.lambda$fetch$0(MailServiceMessageImpl.java:139)
at com.axelor.auth.AuditableRunner$1.call(AuditableRunner.java:51)
at com.axelor.auth.AuditableRunner$1.call(AuditableRunner.java:48)
at com.axelor.auth.AuditableRunner.run(AuditableRunner.java:80)
at com.axelor.auth.AuditableRunner.run(AuditableRunner.java:47)
at com.axelor.apps.message.service.MailServiceMessageImpl.fetch(MailServiceMessageImpl.java:136)
at com.axelor.mail.service.MailFetchJob.execute(MailFetchJob.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.axelor.quartz.GuiceJobRunShell.run(GuiceJobRunShell.java:57)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Any help will be welcome .