cucumber.runtime.CucumberException: Expected a file URL:vfs:/C:/dev/projets/VC8-844_W42/AcquisioSearch/content/JunitTest2.ear/lib/cucumber-junit-1.2.4.jar/cucumber/api/

GitHub | AcquisioIchi | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with Wildfly 8.2.0.Final

    GitHub | 1 year ago | AcquisioIchi
    cucumber.runtime.CucumberException: Expected a file URL:vfs:/C:/dev/projets/VC8-844_W42/AcquisioSearch/content/JunitTest2.ear/lib/cucumber-junit-1.2.4.jar/cucumber/api/
  2. 0

    GitHub comment 85#279087829

    GitHub | 2 weeks ago | Goinidias
    cucumber.runtime.CucumberException: Expected a file URL:vfs:/695665a1-ee56-4cd0-b6f3-f409703fc95c.war/WEB-INF/classes/cucumber/api/

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      Expected a file URL:vfs:/C:/dev/projets/VC8-844_W42/AcquisioSearch/content/JunitTest2.ear/lib/cucumber-junit-1.2.4.jar/cucumber/api/

      at cucumber.runtime.io.Helpers.filePath()
    2. Cucumber-JVM: Core
      ResourceLoaderClassFinder.getDescendants
      1. cucumber.runtime.io.Helpers.filePath(Helpers.java:16)
      2. cucumber.runtime.io.FileResourceIteratorFactory.createIterator(FileResourceIteratorFactory.java:28)
      3. cucumber.runtime.io.ZipThenFileResourceIteratorFactory.createIterator(ZipThenFileResourceIteratorFactory.java:23)
      4. cucumber.runtime.io.DelegatingResourceIteratorFactory.createIterator(DelegatingResourceIteratorFactory.java:49)
      5. cucumber.runtime.io.ClasspathResourceIterable.iterator(ClasspathResourceIterable.java:33)
      6. cucumber.runtime.io.ResourceLoaderClassFinder.getDescendants(ResourceLoaderClassFinder.java:22)
      6 frames
    3. cucumber.runtime.arquillian
      ArquillianBackend.loadGlue
      1. cucumber.runtime.arquillian.lifecycle.CucumberLifecycle.cucumberAnnotations(CucumberLifecycle.java:129)
      2. cucumber.runtime.arquillian.backend.ArquillianBackend.readFromJava(ArquillianBackend.java:122)
      3. cucumber.runtime.arquillian.backend.ArquillianBackend.scan(ArquillianBackend.java:110)
      4. cucumber.runtime.arquillian.backend.ArquillianBackend.loadGlue(ArquillianBackend.java:80)
      4 frames
    4. Cucumber-JVM: Core
      Runtime.<init>
      1. cucumber.runtime.Runtime.<init>(Runtime.java:91)
      2. cucumber.runtime.Runtime.<init>(Runtime.java:69)
      2 frames
    5. cucumber.runtime.arquillian
      ArquillianCucumber$InstanceControlledFrameworkMethod.invokeExplosively
      1. cucumber.runtime.arquillian.ArquillianCucumber$CucumberRuntime.<init>(ArquillianCucumber.java:467)
      2. cucumber.runtime.arquillian.ArquillianCucumber.performInternalCucumberOperations(ArquillianCucumber.java:149)
      3. cucumber.runtime.arquillian.ArquillianCucumber$InstanceControlledFrameworkMethod.invokeExplosively(ArquillianCucumber.java:449)
      3 frames
    6. Arquillian TestRunner JUnit Core
      Arquillian$6$1.invoke
      1. org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)
      1 frame
    7. Arquillian Container Test Implementation Base
      LocalTestExecuter.execute
      1. org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
      1 frame
    8. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames
    9. Arquillian Core Implementation Base
      EventImpl.fire
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
      5. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
      6. org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
      6 frames
    10. Arquillian Container Test Implementation Base
      ContainerTestExecuter.execute
      1. org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
      1 frame
    11. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames
    12. Arquillian Core Implementation Base
      EventContextImpl.proceed
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      3 frames
    13. Arquillian Test Implementation Base
      TestContextHandler.createTestContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:102)
      1 frame
    14. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames
    15. Arquillian Core Implementation Base
      EventContextImpl.proceed
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      2 frames
    16. Arquillian Test Implementation Base
      TestContextHandler.createClassContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
      1 frame
    17. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames
    18. Arquillian Core Implementation Base
      EventContextImpl.proceed
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      2 frames
    19. Arquillian Test Implementation Base
      TestContextHandler.createSuiteContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)
      1 frame
    20. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames
    21. Arquillian Core Implementation Base
      ManagerImpl.fire
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
      3 frames
    22. Arquillian Test Implementation Base
      EventTestRunnerAdaptor.test
      1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
      1 frame
    23. Arquillian TestRunner JUnit Core
      Arquillian$5.evaluate
      1. org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
      2. org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
      3. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
      4. org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
      5. org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
      5 frames
    24. JUnit
      BlockJUnit4ClassRunner.runChild
      1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      2 frames
    25. cucumber.runtime.arquillian
      ArquillianCucumber.runChild
      1. cucumber.runtime.arquillian.ArquillianCucumber.runChild(ArquillianCucumber.java:122)
      2. cucumber.runtime.arquillian.ArquillianCucumber.runChild(ArquillianCucumber.java:71)
      2 frames
    26. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      5 frames
    27. Arquillian TestRunner JUnit Core
      Arquillian$3.evaluate
      1. org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
      2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
      3. org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
      4. org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
      4 frames
    28. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      1 frame
    29. Arquillian TestRunner JUnit Core
      Arquillian.run
      1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
      1 frame
    30. JUnit
      JUnitCore.run
      1. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      2 frames
    31. Arquillian TestRunner JUnit Container
      JUnitTestRunner.execute
      1. org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)
      1 frame
    32. Arquillian Protocol Servlet 2.5/3.x
      ServletTestRunner.doGet
      1. org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:160)
      2. org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:126)
      3. org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:90)
      3 frames
    33. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    34. Undertow Servlet
      ServletDispatchingHandler.handleRequest
      1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
      2. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
      3. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      3 frames
    35. WildFly: Undertow
      SecurityContextAssociationHandler.handleRequest
      1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      1 frame
    36. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      1 frame
    37. Undertow Servlet
      ServletAuthenticationCallHandler.handleRequest
      1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
      2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)
      2 frames
    38. Undertow Core
      AbstractConfidentialityHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
      2 frames
    39. Undertow Servlet
      ServletConfidentialityConstraintHandler.handleRequest
      1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63)
      1 frame
    40. Undertow Core
      AuthenticationMechanismsHandler.handleRequest
      1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
      1 frame
    41. Undertow Servlet
      CachedAuthenticatedSessionHandler.handleRequest
      1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
      1 frame
    42. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2 frames
    43. WildFly: Undertow
      JACCContextIdHandler.handleRequest
      1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      1 frame
    44. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2 frames
    45. Undertow Servlet
      ServletInitialHandler$1$1.run
      1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
      2. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)
      3. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)
      4. io.undertow.servlet.handlers.ServletInitialHandler$1$1.run(ServletInitialHandler.java:172)
      4 frames
    46. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    47. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:169)
      1 frame
    48. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:197)
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759)
      2 frames
    49. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames