No marshaller found
Hello,
I have vanila nuxeo 9.10 instalation on ubuntu 18.
And on operations in Nuxeo UI or Nuxeo JSF I am getting errors:
2018-09-20 16:41:25,420 ERROR [http-nio-0.0.0.0-8080-exec-11] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Exception during auditLoggerListener sync listener execution, continuing to ru
n other listeners
org.nuxeo.ecm.core.io.registry.MarshallingException: No marshaller found for type class org.nuxeo.ecm.platform.audit.impl.LogEntryImpl
at org.nuxeo.ecm.core.io.registry.MarshallerHelper.checkMarshaller(MarshallerHelper.java:58)
at org.nuxeo.ecm.core.io.registry.MarshallerHelper.objectToJson(MarshallerHelper.java:74)
at org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener.asJson(StreamAuditEventListener.java:138)
at org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener.writeEntry(StreamAuditEventListener.java:125)
at org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener.lambda$writeEntries$1(StreamAuditEventListener.java:121)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1378)
at org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener.writeEntries(StreamAuditEventListener.java:121)
at org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener.afterCompletion(StreamAuditEventListener.java:106)
at org.nuxeo.ecm.platform.audit.listener.StreamAuditEventListener.handleEvent(StreamAuditEventListener.java:86)
at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:242)
at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.sendAuthenticationEvent(NuxeoAuthenticationFilter.java:209)
at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.logAuthenticationAttempt(NuxeoAuthenticationFilter.java:242)
at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doAuthenticate(NuxeoAuthenticationFilter.java:300)
at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:554)
at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:51)
at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:122)
at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:49)
at org.nuxeo.ecm.platform.oauth2.NuxeoOAuth2Filter.doFilter(NuxeoOAuth2Filter.java:79)
at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:49)
at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:410)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:146)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nuxeo.ecm.webdav.service.WIRequestFilter.doFilter(WIRequestFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoCorsFilter.doFilter(NuxeoCorsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:844)
I have plenty of them for different actions with few variations, but part “MarshallingException: No marshaller found” seems to be common for all of them.
On server start I am getting log like this:
Detected Tomcat server.
Nuxeo home: /home/soft/nuxeo-server-9.10-tomcat
Nuxeo configuration: /home/soft/nuxeo-server-9.10-tomcat/bin/nuxeo.conf
Include template: /home/soft/nuxeo-server-9.10-tomcat/templates/common-base
Include template: /home/soft/nuxeo-server-9.10-tomcat/templates/common
Include template: /home/soft/nuxeo-server-9.10-tomcat/templates/default
Include template: /home/soft/nuxeo-server-9.10-tomcat/templates/drive
Nuxeo requires Java 9+ (detected 10.0.2).
Configuration files generation (nuxeo.force.generation=true)…
FreeMarker variables: ignored 'java.version' conflicting with 'java.version.[date]'
Configuration files generated.
Nuxeo requires Java 9+ (detected 10.0.2).
Server started with process ID 3303.
…………..
= Component Loading Errors:
Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.core.automation.marshallers (java.lang.NullPoi
nterException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.core.io.MarshallerRegistry.marshallers (java.l
ang.NullPointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.elasticsearch.marshallers (java.lang.NullPointerEx
ception)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.permissions.marshallers (java.lang.NullPointer
Exception)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.audit.io.marshallers (java.lang.NullP
ointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.favorites.jsonEnrichers (java.lang.NullPointer
Exception)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.directory.marshallers (java.lang.NullPointerEx
ception)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.tokenauth.io.marshallers (java.lang.NullPointe
rException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.ec.notification.jsonEnrichers (java.l
ang.NullPointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.oauth.marshallers (java.lang.NullPoin
terException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.rendition.marshallers (java.lang.Null
PointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.tags.jsonEnrichers (java.lang.NullPointerExcep
tion)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.url.marshallers (java.lang.NullPointe
rException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.usermanager.marshallers (java.lang.Nu
llPointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.convert.preview.marshallers (java.lan
g.NullPointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.restapi.server.jsonEnrichers (java.lang.NullPo
interException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.routing.jsonEnrichers (java.lang.Null
PointerException)Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.routing.marshallers (java.lang.NullPointerException)
Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.search.marshallers (java.lang.NullPointerException)
Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.platform.thumbnail.marshallers (java.lang.NullPointerException)
Failed to register extension to: service:org.nuxeo.ecm.core.io.MarshallerRegistry, xpoint: marshallers in component: service:org.nuxeo.ecm.user.center.enricher (java.lang.NullPointerException)
Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 803
Started in 0min28s
Go to http://localhost:8080/nuxeo
I saw some advices to configure web.xml to use another kind of JSON class. But this does not help in my case.
Any advice how to fix this would be appreciated.
Thank you, Maxim