java.lang.UnsupportedOperationException: JavaArchive spec does not support Libraries

GitHub | astefanutti | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    JavaArchive spec does not support Libraries

    at org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl.getLibraryPath()
  2. ShrinkWrap Implementation Base
    ContainerBase.addAsLibrary
    1. org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl.getLibraryPath(JavaArchiveImpl.java:120)
    2. org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibrary(ContainerBase.java:1427)
    2 frames
  3. cucumber.runtime.arquillian
    CucumberArchiveProcessor.process
    1. cucumber.runtime.arquillian.client.CucumberArchiveProcessor.process(CucumberArchiveProcessor.java:77)
    1 frame
  4. Arquillian Container Test Implementation Base
    DeploymentGenerator.generateDeployment
    1. org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.applyApplicationProcessors(DeploymentGenerator.java:223)
    2. org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:172)
    3. org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)
    4. org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)
    4 frames
  5. 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
  6. 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
  7. Arquillian Container Test Implementation Base
    ContainerEventController.execute
    1. org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:100)
    1 frame
  8. 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
  9. 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
  10. Arquillian Test Implementation Base
    TestContextHandler.createClassContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
    1 frame
  11. 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
  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.proceed(EventContextImpl.java:88)
    2 frames
  13. Arquillian Test Implementation Base
    TestContextHandler.createSuiteContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
    1 frame
  14. 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
  15. 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)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
    4 frames
  16. Arquillian Test Implementation Base
    EventTestRunnerAdaptor.beforeClass
    1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
    1 frame
  17. Arquillian TestRunner JUnit Core
    Arquillian$3.evaluate
    1. org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
    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
  18. JUnit
    ParentRunner.run
    1. org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
    2. org.junit.rules.RunRules.evaluate(RunRules.java:20)
    3. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    3 frames
  19. Arquillian TestRunner JUnit Core
    Arquillian.run
    1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
    1 frame
  20. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    1 frame
  21. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames