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

GitHub | Goinidias | 2 months 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

    GitHub comment 85#279087829

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

    [BUG] A space in the file path of a dependency causes a FileNotFoundException.

    Google Groups | 2 years ago | Bob Brinks
    cucumber.runtime.CucumberException: java.io.FileNotFoundException: D:\Path%20with%20spaces\Dependency.jar (The system cannot find the path specified)
  3. 0

    All comments on Java JUnit Cucumber Automation Tutorial 01 Setting Up Cucumber - YouTube

    youtube.com | 2 years ago
    cucumber.runtime.CucumberException: java.io.FileNotFoundException: C:\Users\Youssef\Downloads\Cucumber%20Jar%20Files\cucumber-core-1.2.2.jar (The system cannot find the path specified)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cucumber.runtime.CucumberException: You're not allowed to extend classes that define Step Definitio

    Google Groups | 5 months ago | Unknown author
    automation.framework.BasePreconditionScript
  6. 0

    GitHub comment 995#276299590

    GitHub | 3 months ago | bensmith87
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in a.b.StepDefsB.b() in file:/home/ben/dev/bug_995/build/classes/cucumber/ and a.b.StepDefsB.b() in file:/home/ben/dev/bug_995/build/classes/cucumber/

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      Expected a file URL:vfs:/695665a1-ee56-4cd0-b6f3-f409703fc95c.war/WEB-INF/classes/cucumber/api/

      at cucumber.runtime.io.Helpers.filePath()
    2. Cucumber-JVM: Core
      ResourceLoaderClassFinder.getDescendants
      1. cucumber.runtime.io.Helpers.filePath(Helpers.java:19)
      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-JVM: Java
      JavaBackend.<init>
      1. cucumber.runtime.java.MethodScanner.findCucumberAnnotationClasses(MethodScanner.java:75)
      2. cucumber.runtime.java.MethodScanner.<init>(MethodScanner.java:23)
      3. cucumber.runtime.java.JavaBackend.<init>(JavaBackend.java:64)
      3 frames
    4. cucumber.runtime.arquillian
      ArquillianCucumber$InstanceControlledFrameworkMethod.invokeExplosively
      1. cucumber.runtime.arquillian.glue.Glues.findGlues(Glues.java:46)
      2. cucumber.runtime.arquillian.runner.BaseCukeSpace.loadGlues(BaseCukeSpace.java:257)
      3. cucumber.runtime.arquillian.runner.BaseCukeSpace.performInternalCucumberOperations(BaseCukeSpace.java:93)
      4. cucumber.runtime.arquillian.ArquillianCucumber$InstanceControlledFrameworkMethod.invokeExplosively(ArquillianCucumber.java:111)
      4 frames
    5. Arquillian TestRunner JUnit Core
      Arquillian$8$1.invoke
      1. org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:370)
      1 frame
    6. Arquillian Container Test Implementation Base
      LocalTestExecuter.execute
      1. org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. 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:145)
      5. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
      6. org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
      6 frames
    9. Arquillian Container Test Implementation Base
      ContainerTestExecuter.execute
      1. org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. 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
    12. Arquillian Test Implementation Base
      TestContextHandler.createTestContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    14. 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
    15. Arquillian Test Implementation Base
      TestContextHandler.createClassContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    17. 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
    18. Arquillian Test Implementation Base
      TestContextHandler.createSuiteContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
      1 frame
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    20. 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:145)
      3 frames
    21. Arquillian Test Implementation Base
      EventTestRunnerAdaptor.test
      1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136)
      1 frame
    22. Arquillian TestRunner JUnit Core
      Arquillian$7$1.invoke
      1. org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:363)
      2. org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:245)
      3. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
      4. org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
      5. org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:259)
      6. org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:315)
      6 frames
    23. Arquillian Container Test Implementation Base
      BeforeLifecycleEventExecuter.on
      1. org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35)
      1 frame
    24. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    25. 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
    26. Arquillian Test Implementation Base
      TestContextHandler.createTestContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
      1 frame
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    28. 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
    29. Arquillian Test Implementation Base
      TestContextHandler.createClassContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
      1 frame
    30. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    31. 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
    32. Arquillian Test Implementation Base
      TestContextHandler.createSuiteContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
      1 frame
    33. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    34. 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:145)
      4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
      4 frames
    35. Arquillian Test Implementation Base
      EventTestRunnerAdaptor.fireCustomLifecycle
      1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
      1 frame
    36. Arquillian TestRunner JUnit Core
      Arquillian$7.evaluate
      1. org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:311)
      1 frame
    37. JUnit
      BlockJUnit4ClassRunner.runChild
      1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      2 frames
    38. cucumber.runtime.arquillian
      ArquillianCucumber.runChild
      1. cucumber.runtime.arquillian.ArquillianCucumber.runChild(ArquillianCucumber.java:95)
      2. cucumber.runtime.arquillian.ArquillianCucumber.runChild(ArquillianCucumber.java:22)
      2 frames
    39. 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
    40. Arquillian TestRunner JUnit Core
      Arquillian$3.evaluate
      1. org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:204)
      2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
      3. org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
      4. org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218)
      4 frames
    41. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      1 frame
    42. Arquillian TestRunner JUnit Core
      Arquillian.run
      1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166)
      1 frame
    43. JUnit
      JUnitCore.run
      1. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      2 frames
    44. Arquillian TestRunner JUnit Container
      JUnitTestRunner.execute
      1. org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66)
      1 frame
    45. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    46. org.wildfly.swarm
      Server$StringCommandHandler.channelRead0
      1. org.wildfly.swarm.arquillian.daemon.TestRunner.executeTest(TestRunner.java:66)
      2. org.wildfly.swarm.arquillian.daemon.server.Server.executeTest(Server.java:246)
      3. org.wildfly.swarm.arquillian.daemon.server.Server$StringCommandHandler.channelRead0(Server.java:344)
      4. org.wildfly.swarm.arquillian.daemon.server.Server$StringCommandHandler.channelRead0(Server.java:293)
      4 frames
    47. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      4. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
      5. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      6. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      7. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)
      8. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)
      9. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
      10. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
      11. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
      12. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
      13. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
      14. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
      15. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
      16. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
      17. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
      18. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
      18 frames
    48. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame