org.apache.commons.vfs2.FileSystemException: Could not determine the type of file "webdav://my_webdav_host.com/test/hello.txt".

commons-user | xratemx | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [vfs] working with Webdav

    commons-user | 4 years ago | xratemx
    org.apache.commons.vfs2.FileSystemException: Could not determine the type of file "webdav://my_webdav_host.com/test/hello.txt".

    Root Cause Analysis

    1. org.apache.commons.vfs2.FileSystemException

      Unknown message with code "Found".

      at org.apache.commons.vfs2.provider.webdav.ExceptionConverter.generate()
    2. Commons VFS Core
      AbstractFileObject.exists
      1. org.apache.commons.vfs2.provider.webdav.ExceptionConverter.generate(ExceptionConverter.java:89)
      2. org.apache.commons.vfs2.provider.webdav.ExceptionConverter.generate(ExceptionConverter.java:42)
      3. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.execute(WebdavFileObject.java:435)
      4. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.getProperties(WebdavFileObject.java:510)
      5. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.getProperties(WebdavFileObject.java:485)
      6. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.getProperty(WebdavFileObject.java:478)
      7. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.getProperty(WebdavFileObject.java:470)
      8. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.isDirectory(WebdavFileObject.java:450)
      9. org.apache.commons.vfs2.provider.webdav.WebdavFileObject.doGetType(WebdavFileObject.java:115)
      10. org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:496)
      11. org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:505)
      12. org.apache.commons.vfs2.provider.AbstractFileObject.exists(AbstractFileObject.java:477)
      12 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      2 frames
    5. org.jboss.ejb3
      InterceptorSequencer.aroundInvoke
      1. org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      2. org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      3. org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    8. org.jboss.ejb3
      InvocationContextInterceptor.fillMethod
      1. org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      1 frame
    9. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_2039683322.invoke(InvocationContextInterceptor_z_fillMethod_2039683322.java)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    10. org.jboss.ejb3
      InvocationContextInterceptor.setup
      1. org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      1 frame
    11. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_2039683322.invoke(InvocationContextInterceptor_z_setup_2039683322.java)
      2. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      2 frames
    12. org.jboss.ejb3
      CachedConnectionInterceptor.invoke
      1. org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      1 frame
    13. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    14. org.jboss.ejb3
      TransactionScopedEntityManagerInterceptor.invoke
      1. org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      1 frame
    15. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    16. org.jboss.ejb3
      AllowedOperationsInterceptor.invoke
      1. org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      1 frame
    17. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    18. org.jboss.ejb3
      NullInterceptor.invoke
      1. org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      1 frame
    19. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    20. org.jboss.ejb3
      StatelessInstanceInterceptor.invoke
      1. org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      1 frame
    21. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      1 frame
    22. org.jboss.aspects
      TxPolicy.invokeInOurTx
      1. org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      1 frame