Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24632

Fix WebDAV copy on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.10-HF27, 9.10-HF04, 10.2
    • Component/s: WebDAV
    • Release Notes Summary:
      WebDAV copy does not cause a LockDicovery error when using MacOS.
    • Sprint:
      nxFG 10.1.2

      Description

      When copying a file from the desktop to a WebDAV network share using macOS, one can get an error about net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery:

      2018-03-14 15:23:41,062 ERROR [ExceptionHandler] Status = 500
      2018-03-14 15:23:41,063 ERROR [ExceptionHandler] javax.ws.rs.WebApplicationException: javax.xml.bind.MarshalException
       - with linked exception:
      [com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.
      javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.]
      javax.ws.rs.WebApplicationException: javax.xml.bind.MarshalException
       - with linked exception:
      [com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.
      javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.]
      	at com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:159)
      	at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
      	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
      	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
      	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
      	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
      	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
      	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
      	at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.containerService(WebEngineServlet.java:72)
      	at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.service(WebEngineServlet.java:56)
      	...
      Caused by: javax.xml.bind.MarshalException
       - with linked exception:
      [com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.
      javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.]
      	at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:326)
      	at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:178)
      	at com.sun.jersey.json.impl.BaseJSONMarshaller.marshallToJSON(BaseJSONMarshaller.java:106)
      	at com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.writeTo(JSONRootElementProvider.java:168)
      	at com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:157)
      	... 88 more
      Caused by: com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.
      javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:247)
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:262)
      	at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:122)
      	at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:159)
      	at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:360)
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsSoleContent(XMLSerializer.java:593)
      	at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:341)
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
      	at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
      	... 92 more
      Caused by: javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery nor any of its super class is known to this context.
      	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:582)
      	at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:112)
      	... 98 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m