Hi, Dan.
Really enjoying the new BDD features!
I have just adapted old tests and created first Scenario.
Whe executed as @integration it has worked perfectly (including DN managing
properly a 1-n bidirectional relationship), but when I've changed to @unit
scope, it has failed with the following trace.
Any idea?
Thanks!
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
at
net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
at
net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
at
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
at
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
at
org.jmock.lib.legacy.ClassImposteriser.proxyClass(ClassImposteriser.java:90)
at
org.jmock.lib.legacy.ClassImposteriser.imposterise(ClassImposteriser.java:59)
at org.jmock.Mockery.mock(Mockery.java:137)
at org.jmock.Mockery.mock(Mockery.java:117)
at
org.apache.isis.core.specsupport.scenarios.DomainServiceProviderMockery.getService(DomainServiceProviderMockery.java:84)
at
org.apache.isis.core.specsupport.scenarios.ScenarioExecution.service(ScenarioExecution.java:101)
at
org.apache.isis.core.specsupport.specs.CukeGlueAbstract.service(CukeGlueAbstract.java:116)
at
com.xms.framework.risk.integration.glue.BootstrappingForUnitScopeGlue.access$0(BootstrappingForUnitScopeGlue.java:1)
at
com.xms.framework.risk.integration.glue.BootstrappingForUnitScopeGlue$1.<init>(BootstrappingForUnitScopeGlue.java:45)
at
com.xms.framework.risk.integration.glue.BootstrappingForUnitScopeGlue.unitFixtures(BootstrappingForUnitScopeGlue.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at cucumber.runtime.Utils$1.call(Utils.java:44)
at cucumber.runtime.Timeout.timeout(Timeout.java:12)
at cucumber.runtime.Utils.invoke(Utils.java:40)
at
cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)
at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:195)
at cucumber.runtime.Runtime.runHooks(Runtime.java:183)
at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:173)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:36)
at
cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:83)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:77)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at cucumber.api.junit.Cucumber.run(Cucumber.java:82)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)