Hi everyone, I'm trying to configure inbound email. . Outbound mail is working so the username, password etc that I'm using in example config hafe been tested.
I've uncommented the javamail listener in ofbiz/framework/service/ofbiz-component.xml as suggested in the article at https://motalibbd.wordpress.com/2016/06/16/mail-server-configure-ofbiz/ This is the example config: <container name=”javamail-container” class=”org.ofbiz.service.mail.JavaMailContainer”> <property name=”delegator-name” value=”default”/> <property name=”dispatcher-name” value=”JavaMailDispatcher”/> <property name=”run-as-user” value=”system”/> <property name=”poll-delay” value=”300000″/> <property name=”delete-mail” value=”false”/> <property name=”maxSize” value=”100000″/> <property name=”default-listener” value=”store-listener”> <property name=”mail.store.protocol” value=”imaps”/> <property name=”mail.host” value=”imap.gmail.com”/> <property name=”mail.port” value=”993″/> <property name=”mail.user” value=”[email protected]”/> <property name=”mail.pass” value=”changeitreos”/> <property name=”mail.debug” value=”false”/> </property> </container> On trying to restart ofbiz I now get the following error message. Has anyone else seen this, or is there something else that I need to configure to get this working Thanks in advance for any assistance that you can provide? Ernest Error report that the ./gradlew ofbiz stop at: 2023-03-08 14:04:29,092 |main |ComponentContainer |I| Added class path for component : [webpos] 2023-03-08 14:04:29,094 |main |ComponentContainer |I| All components loaded 2023-03-08 14:04:29,094 |main |ContainerLoader |I| Loaded container: component-container 2023-03-08 14:04:29,094 |main |ContainerLoader |I| [Startup] Loading component containers... Exception in thread "main" java.lang.NullPointerException at org.apache.ofbiz.base.container.ContainerLoader.lambda$filterContainersHavingMatchingLoaders$1(ContainerLoader.java:89) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at org.apache.ofbiz.base.container.ContainerLoader.filterContainersHavingMatchingLoaders(ContainerLoader.java:90) at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:67) at org.apache.ofbiz.base.start.StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:218) at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:71) at org.apache.ofbiz.base.start.Start.main(Start.java:85)
