-
Bug
-
Resolution: Fixed
-
Major
-
3.0.0
-
None
nable to dispatch event: event[id: contentio.content.synchronized, issuer: UserIdentity [login=system-user, population=admin_population], args: [content = '/ametys:plugins/contentio/ametys:contents/student1-laure-lopez-fr' (content://44309727-0221-4e8a-9238-38481794f721)]] to asynchronous observers Location: org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46) Thrown: java.lang.NullPointerException at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:295) at org.ametys.cms.content.indexing.solr.observation.IndexContentObserver.observe(IndexContentObserver.java:89) at org.ametys.core.observation.ObservationManager$ParallelAsyncObserve._observe(ObservationManager.java:325) at org.ametys.core.observation.ObservationManager$AbstractAsyncObserve.run(ObservationManager.java:274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
I think it's since the observer is async
In my collection, Id do not tick "Validate the contents"
I think the resolve fails because the current workspace is 'live' instead of 'default'. Or maybe the event is thrown too soon ??? To be checked...
- duplicates
-
CONTENTIO-62 When importing a content, there is a NPE when trying to index it
- Closed