On Fri, Jul 30, 2010 at 10:21 AM, Simon Laws <[email protected]> wrote:
> In a full build I see problems in itest/implementation-spring typified by ....
>
> java.lang.IllegalStateException:
> org.apache.tuscany.sca.runtime.ActivationException:
> org.apache.tuscany.sca.runtime.ActivationException:
> java.lang.IllegalStateException:
> java.lang.reflect.InvocationTargetException
>        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:173)
>        at context.access.CalculatorClient.main(CalculatorClient.java:41)
>        at 
> context.access.ContextAccessTestCase.testServer(ContextAccessTestCase.java:30)
>        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 junit.framework.TestCase.runTest(TestCase.java:168)
>        at junit.framework.TestCase.runBare(TestCase.java:134)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:124)
>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>        at junit.framework.TestSuite.run(TestSuite.java:227)
>        at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>        at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>        at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>        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 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>        at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> Caused by: org.apache.tuscany.sca.runtime.ActivationException:
> org.apache.tuscany.sca.runtime.ActivationException:
> java.lang.IllegalStateException:
> java.lang.reflect.InvocationTargetException
>        at 
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:90)
>        at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:144)
>        ... 25 more
> Caused by: org.apache.tuscany.sca.runtime.ActivationException:
> java.lang.IllegalStateException:
> java.lang.reflect.InvocationTargetException
>        at 
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activateComponent(CompositeActivatorImpl.java:135)
>        at 
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:87)
>        ... 26 more
> Caused by: java.lang.IllegalStateException:
> java.lang.reflect.InvocationTargetException
>        at 
> org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyImplementationProviderFactory.getFactory(DefaultProviderFactoryExtensionPoint.java:302)
>        at 
> org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyImplementationProviderFactory.createImplementationProvider(DefaultProviderFactoryExtensionPoint.java:311)
>        at 
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.addImplementationProvider(CompositeActivatorImpl.java:175)
>        at 
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.activateComponent(CompositeActivatorImpl.java:120)
>        ... 27 more
> Caused by: java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>        at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at 
> org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyImplementationProviderFactory.getFactory(DefaultProviderFactoryExtensionPoint.java:300)
>        ... 30 more
> Caused by: java.lang.Error: Unresolved compilation problems:
>        SpringApplicationContextHelper cannot be resolved to a type
>        SpringApplicationContextHelper cannot be resolved to a type
>        SpringApplicationContextHelper cannot be resolved
>        SpringApplicationContextHelper cannot be resolved to a type
>
>        at 
> org.apache.tuscany.sca.implementation.spring.invocation.SpringImplementationProviderFactory.<init>(SpringImplementationProviderFactory.java:39)
>        ... 35 more
>
> Is it just me?
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>

It's OK a bit of targeted cleaning has resolved the issue.

Regards

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to