[opencms-dev] [opencms 14] - Error Accesing webdav repository

Ramon Gavira Sáenz ramon.gavira at sagasoluciones.com
Thu May 18 17:56:11 CEST 2023


Hello, let see if anybody can help me with this issue

I got error while attempting to access the webdav repository on a fresh installation of OpenCms 14.

Here are the steps I followed along with the error I encountered:


  1.  Accessing the webdav repository through the following URL: http://myserver:8080/webdav/ (Please note that I have deployed OpenCms on the ROOT directory).
  2.  The system prompts me for a username and password.
  3.  However, upon submission, I encounter a 500 page error.

This is what I found on opencms.log

18 may. 2023 17:42:52,532 [r:ZaS2bC] ERROR [dav.CmsJackrabbitWebdavServlet: 219] null {request_id=ZaS2bC, request_url=http://mv-ubuntu.sagasoluciones.com:8080/webdav}
java.lang.NullPointerException: null
        at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89) ~[tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.opencms.webdav.CmsDavResource.spool(CmsDavResource.java:619) ~[opencms.jar:14.0]
        at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.spoolResource(AbstractWebdavServlet.java:607) ~[jackrabbit-webdav-2.21.3.jar:?]
        at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doGet(AbstractWebdavServlet.java:557) ~[jackrabbit-webdav-2.21.3.jar:?]
        at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:398) ~[jackrabbit-webdav-2.21.3.jar:?]
        at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:316) ~[jackrabbit-webdav-2.21.3.jar:?]
        at org.opencms.webdav.CmsJackrabbitWebdavServlet.service(CmsJackrabbitWebdavServlet.java:214) [opencms.jar:14.0]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat9-servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat9-websocket-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.opencms.main.OpenCmsUrlServletFilter.doFilter(OpenCmsUrlServletFilter.java:150) [opencms.jar:14.0]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.1.jar:2.17.1]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat9-util-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat9-util-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat9-util-9.0.58.jar:9.0.58]
        at java.lang.Thread.run(Thread.java:829) [?:?]

Any help is welcome!!

Kind regards


Ramón Gavira Sáenz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20230518/b1d9c8fa/attachment.htm>


More information about the opencms-dev mailing list