-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: WEBUI-1.0.0
-
Fix Version/s: WEBUI-1.0.1, 9.3
-
Component/s: Web UI
-
Sprint:nxGang Sprint 9.3.3
-
Story Points:1
Steps to reproduce:
- Access to JSF UI
- Remove the Default domain "/default-domain" folder
- Create a new Domain called "Customer request"
- Click on "Web UI" on the menu bar
- When Web UI is opened, click on the icon, in the bottom right corner to add a new document
This error is shown in the browser console and the pop-up to create a new document is not shown:
/nuxeo/ui/#!/home:1 Uncaught (in promise) Object { entity-type: "exception", code: "org.nuxeo.ecm.core.api.DocumentNotFoundException", status: 404, message: "/default-domain" } code: "org.nuxeo.ecm.core.api.DocumentNotFoundException" entity-type: "exception" message: "/default-domain" status: 404 __proto__: Object
Server logs:
2017-6-26 18:49:2516:49:25,734 WARN [WebEngineExceptionMapper] Exception in JAX-RS processing 2017-6-26 18:49:25org.nuxeo.ecm.core.api.DocumentNotFoundException: /default-domain 2017-6-26 18:49:25 at org.nuxeo.ecm.core.storage.dbs.DBSSession.resolvePath(DBSSession.java:279) 2017-6-26 18:49:25 at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) 2017-6-26 18:49:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-6-26 18:49:25 at java.lang.reflect.Method.invoke(Method.java:498) 2017-6-26 18:49:25 at org.nuxeo.ecm.core.storage.dbs.DBSRepositoryBase$DBSSessionInvoker.invoke(DBSRepositoryBase.java:487) 2017-6-26 18:49:25 at com.sun.proxy.$Proxy55.resolvePath(Unknown Source) 2017-6-26 18:49:25 at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:338) 2017-6-26 18:49:25 at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:934) 2017-6-26 18:49:25 at org.nuxeo.ecm.restapi.server.jaxrs.RepositoryObject.getDocsByPath(RepositoryObject.java:61) 2017-6-26 18:49:25 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2017-6-26 18:49:25 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2017-6-26 18:49:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2017-6-26 18:49:25 at java.lang.reflect.Method.invoke(Method.java:498) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.dispatch(SubLocatorRule.java:197) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.invokeSubLocator(SubLocatorRule.java:183) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:110) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) 2017-6-26 18:49:25 at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) 2017-6-26 18:49:25 at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) 2017-6-26 18:49:25 at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) 2017-6-26 18:49:25 at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.containerService(WebEngineServlet.java:177) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.service(WebEngineServlet.java:154) 2017-6-26 18:49:25 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.elasticsearch.ElasticSearchFilter.doFilter(ElasticSearchFilter.java:55) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.jaxrs.session.SessionCleanupFilter.run(SessionCleanupFilter.java:50) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:49) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.app.WebEngineFilter$UnitOfWork.doFilter(WebEngineFilter.java:102) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.app.WebEngineFilter$UnitOfWork.access$100(WebEngineFilter.java:79) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.app.WebEngineFilter.doFilter(WebEngineFilter.java:76) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.jaxrs.context.RequestContextFilter.run(RequestContextFilter.java:48) 2017-6-26 18:49:25 at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:49) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.core.management.jtajca.internal.Log4jWebFilter.doFilter(Log4jWebFilter.java:69) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:175) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:606) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:51) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.oauth.NuxeoOAuthFilter.doFilter(NuxeoOAuthFilter.java:122) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:49) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.oauth2.NuxeoOAuth2Filter.doFilter(NuxeoOAuth2Filter.java:83) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.service.NuxeoAuthFilterChain.doFilter(NuxeoAuthFilterChain.java:49) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:409) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:67) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:75) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) 2017-6-26 18:49:25 at org.nuxeo.ecm.restapi.server.APIServlet.service(APIServlet.java:50) 2017-6-26 18:49:25 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.elasticsearch.ElasticSearchFilter.doFilter(ElasticSearchFilter.java:55) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoThreadTrackerFilter.doFilter(NuxeoThreadTrackerFilter.java:43) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.core.management.jtajca.internal.Log4jWebFilter.doFilter(Log4jWebFilter.java:69) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:120) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:146) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.webdav.service.WIRequestFilter.doFilter(WIRequestFilter.java:61) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoCorsFilter.doFilter(NuxeoCorsFilter.java:51) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:67) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:75) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 2017-6-26 18:49:25 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 2017-6-26 18:49:25 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 2017-6-26 18:49:25 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) 2017-6-26 18:49:25 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) 2017-6-26 18:49:25 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) 2017-6-26 18:49:25 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 2017-6-26 18:49:25 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) 2017-6-26 18:49:25 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 2017-6-26 18:49:25 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) 2017-6-26 18:49:25 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) 2017-6-26 18:49:25 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) 2017-6-26 18:49:25 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) 2017-6-26 18:49:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2017-6-26 18:49:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2017-6-26 18:49:25 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2017-6-26 18:49:25 at java.lang.Thread.run(Thread.java:748) 2017-6-26 18:49:2916:49:29,948 WARN [transport] [Garrison Kane] node {#transport#-1}{10.42.32.130}{elasticsearch/10.42.32.130:9300} not part of the cluster Cluster [nuxeoCluster], ignoring... 2017-6-26 18:49:3416:49:34,949 WARN [transport] [Garrison Kane] node {#transport#-1}{10.42.32.130}{elasticsearch/10.42.32.130:9300} not part of the cluster Cluster [nuxeoCluster], ignoring... 2017-6-26 18:49:3916:49:39,950 WARN [transport] [Garrison Kane] node {#transport#-1}{10.42.32.130}{elasticsearch/10.42.32.130:9300} not part of the cluster Cluster [nuxeoCluster], ignoring...
- depends on
-
ELEMENTS-385 nuxeo-path-suggestion should revalidate path even if parent is not accessible
- Resolved
- is related to
-
NXP-23208 "Invalid JSON" and "500 Internal Server Error" after remove /default-domain and access to Root
- Resolved