You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jean-Sebastien Delfino <js...@apache.org> on 2007/01/23 03:56:46 UTC

Build errors

Adding mirrors to settings.xml helps Maven download all the dependencies 
(thanks Rick) but I'm running into build errors with the head of the trunk.

Building with the published snapshots of the SCA and SDO specs and the 
kernel gives me the following error:

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Tuscany Inner Composite Sample
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 0 resource to META-INF
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist: 
/home/delfinoj/Tuscany/apache-repos/java/samples/sca/inner.composite/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/home/delfinoj/Tuscany/apache-repos/java/samples/sca/inner.composite/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running innercomposite.InnerCompositeTestCase
Jan 22, 2007 6:54:37 PM 
org.apache.tuscany.spi.deployer.DeploymentMonitor deploymentError
SEVERE: Error preparing composite [application]
org.apache.tuscany.spi.component.PrepareException
        at 
org.apache.tuscany.spi.extension.CompositeComponentExtension.prepare(CompositeComponentExtension.java:369)
        at 
org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:108)
        at 
org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(LauncherImpl.java:215)
        at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:90)
        at 
innercomposite.InnerCompositeTestCase.setUp(InnerCompositeTestCase.java:31)
        at junit.framework.TestCase.runBare(TestCase.java:125)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        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:585)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)
Caused by: org.apache.tuscany.core.builder.IllegalCallbackException
Operation cannot be marked one-way and have a callback [someMethod]
Source : TargetComponentRef
Target : TargetComponent/innercomposite.Target
Context stack trace: [application][SourceComponent]
        at 
org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:156)
        at 
org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:431)
        at 
org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:338)
        at 
org.apache.tuscany.core.builder.ConnectorImpl.handleComponent(ConnectorImpl.java:606)
        at 
org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:88)
        at 
org.apache.tuscany.spi.extension.CompositeComponentExtension.prepare(CompositeComponentExtension.java:363)
        ... 25 more

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.836 
sec <<< FAILURE!

Results :

Tests in error:
  test(innercomposite.InnerCompositeTestCase)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0


Rebuilding the head of everything under java/ gives me a different error:

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Echo Binding
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource to META-INF
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/home/delfinoj/Tuscany/apache-repos/java/samples/sca/echo.binding/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running echo.BootstrapTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.546 
sec <<< FAILURE!

Results :

Tests in error:
  testDemoBoot(echo.BootstrapTestCase)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

Surefire shows the following exception:

-------------------------------------------------------------------------------
Test set: echo.BootstrapTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.544 
sec <<< FAILURE!
testDemoBoot(echo.BootstrapTestCase)  Time elapsed: 1.472 sec  <<< ERROR!
org.apache.tuscany.core.injection.ObjectCallbackException: Null object 
factory for constructor parameter [0]
        at 
org.apache.tuscany.core.injection.PojoObjectFactory.getInstance(PojoObjectFactory.java:98)
        at 
org.apache.tuscany.core.implementation.PojoAtomicComponent.createInstance(PojoAtomicComponent.java:137)
        at 
org.apache.tuscany.core.component.scope.CompositeScopeContainer.eagerInitComponents(CompositeScopeContainer.java:154)
        at 
org.apache.tuscany.core.component.scope.CompositeScopeContainer.onEvent(CompositeScopeContainer.java:68)
        at 
org.apache.tuscany.core.deployer.DeployerImpl$1.onEvent(DeployerImpl.java:101)
        at 
org.apache.tuscany.spi.component.AbstractSCAObject.publish(AbstractSCAObject.java:106)
        at 
org.apache.tuscany.core.implementation.composite.AbstractCompositeComponent.publish(AbstractCompositeComponent.java:124)
        at 
org.apache.tuscany.core.implementation.composite.AbstractCompositeComponent.start(AbstractCompositeComponent.java:95)
        at 
org.apache.tuscany.test.SCATestCase.deployExtension(SCATestCase.java:155)
        at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:77)
        at echo.BootstrapTestCase.setUp(BootstrapTestCase.java:42)
        at junit.framework.TestCase.runBare(TestCase.java:125)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        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:585)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)


-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Build errors

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Jean-Sebastien Delfino wrote:
> ant elder wrote:
>> I've not been able to recreate either of these problems yet. Could 
>> you give
>> a bit more info about what you're doing - how you run the samples, what
>> maven commands you use, and from what directory etc?
>>
>>   ...ant
>>
>
> Ant,
>
> Here's what I'm doing.
>
> To rebuild everything:
> rm -rf $HOME/.m2/repository
> cd tuscany/java
> mvn -Pall
>
> To build using the published spec and kernel snapshots:
> rm -rf $HOME/.m2/repository
> cd tuscany/java
> change pom files temporarily to not build the spec/sca and kernel 
> modules (and get them downloaded from the snapshot repos)
> mvn -Pall
>
> Both sequences were failing before. The first sequence now builds OK 
> for me.
>
> The second (using the 0.1-pre-spec snapshots) gets this error:
>
> [INFO] 
> ---------------------------------------------------------------------------- 
>
> [INFO] Building Apache Tuscany Standalone SCA Runtime
> [INFO]    task-segment: [install]
> [INFO] 
> ---------------------------------------------------------------------------- 
>
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing 
> /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/pom.xml 
> to 
> /home/delfinoj/.m2/repository/org/apache/tuscany/sca/runtime/standalone/standalone/1.0-incubator-SNAPSHOT/standalone-1.0-incubator-SNAPSHOT.pom 
>
> [INFO] 
> ---------------------------------------------------------------------------- 
>
> [INFO] Building Apache Tuscany Standalone Runtime
> [INFO]    task-segment: [install]
> [INFO] 
> ---------------------------------------------------------------------------- 
>
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Resource directory does not exist: 
> /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/resources 
>
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile]
> [INFO] Compiling 3 source files to 
> /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/target/classes 
>
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java:[55,8] 
> cannot find symbol
> symbol  : constructor 
> AbstractRuntimeInfo(java.net.URI,java.io.File,java.net.URL,boolean,java.lang.String) 
>
> location: class org.apache.tuscany.host.AbstractRuntimeInfo
>
> /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java:[71,16] 
> getInstallDirectory() in 
> org.apache.tuscany.runtime.standalone.StandaloneRuntimeInfoImpl cannot 
> override getInstallDirectory() in 
> org.apache.tuscany.host.AbstractRuntimeInfo; overridden method is final
>
>

Making progress... I realized that the standalone runtime has also been 
published to the snapshot repos, so I should probably not try to build 
it from the trunk.

I'd like to use the published 0.1-pre-spec snapshots without building 
them locally, but build the other pieces. Is there a simple way to do 
that? or do I need to make changes to the pom.xml to exclude the 
individual modules that have been published as 0.1-pre-spec snapshots?

Thanks,

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Build errors

Posted by Jean-Sebastien Delfino <js...@apache.org>.
ant elder wrote:
> I've not been able to recreate either of these problems yet. Could you 
> give
> a bit more info about what you're doing - how you run the samples, what
> maven commands you use, and from what directory etc?
>
>   ...ant
>

Ant,

Here's what I'm doing.

To rebuild everything:
rm -rf $HOME/.m2/repository
cd tuscany/java
mvn -Pall

To build using the published spec and kernel snapshots:
rm -rf $HOME/.m2/repository
cd tuscany/java
change pom files temporarily to not build the spec/sca and kernel 
modules (and get them downloaded from the snapshot repos)
mvn -Pall

Both sequences were failing before. The first sequence now builds OK for me.

The second (using the 0.1-pre-spec snapshots) gets this error:

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Apache Tuscany Standalone SCA Runtime
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/pom.xml 
to 
/home/delfinoj/.m2/repository/org/apache/tuscany/sca/runtime/standalone/standalone/1.0-incubator-SNAPSHOT/standalone-1.0-incubator-SNAPSHOT.pom
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Apache Tuscany Standalone Runtime
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist: 
/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/resources
[INFO] Copying 2 resources to META-INF
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to 
/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/target/classes
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java:[55,8] 
cannot find symbol
symbol  : constructor 
AbstractRuntimeInfo(java.net.URI,java.io.File,java.net.URL,boolean,java.lang.String)
location: class org.apache.tuscany.host.AbstractRuntimeInfo

/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java:[71,16] 
getInstallDirectory() in 
org.apache.tuscany.runtime.standalone.StandaloneRuntimeInfoImpl cannot 
override getInstallDirectory() in 
org.apache.tuscany.host.AbstractRuntimeInfo; overridden method is final


-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Build errors

Posted by ant elder <an...@gmail.com>.
I've not been able to recreate either of these problems yet. Could you give
a bit more info about what you're doing - how you run the samples, what
maven commands you use, and from what directory etc?

   ...ant

On 1/23/07, Jean-Sebastien Delfino <js...@apache.org> wrote:
>
> Adding mirrors to settings.xml helps Maven download all the dependencies
> (thanks Rick) but I'm running into build errors with the head of the
> trunk.
>
> Building with the published snapshots of the SCA and SDO specs and the
> kernel gives me the following error:
>
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building Tuscany Inner Composite Sample
> [INFO]    task-segment: [install]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Resource directory does not exist:
>
> /home/delfinoj/Tuscany/apache-repos/java/samples/sca/inner.composite/src/test/resources
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
>
> /home/delfinoj/Tuscany/apache-repos/java/samples/sca/inner.composite/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running innercomposite.InnerCompositeTestCase
> Jan 22, 2007 6:54:37 PM
> org.apache.tuscany.spi.deployer.DeploymentMonitor deploymentError
> SEVERE: Error preparing composite [application]
> org.apache.tuscany.spi.component.PrepareException
>         at
> org.apache.tuscany.spi.extension.CompositeComponentExtension.prepare(
> CompositeComponentExtension.java:369)
>         at
> org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java
> :108)
>         at
> org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(
> LauncherImpl.java:215)
>         at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:90)
>         at
> innercomposite.InnerCompositeTestCase.setUp(InnerCompositeTestCase.java
> :31)
>         at junit.framework.TestCase.runBare(TestCase.java:125)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         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:585)
>         at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java
> :210)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> AbstractDirectoryTestSuite.java:135)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> AbstractDirectoryTestSuite.java:122)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
>         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:585)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> SurefireBooter.java:288)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
> :816)
> Caused by: org.apache.tuscany.core.builder.IllegalCallbackException
> Operation cannot be marked one-way and have a callback [someMethod]
> Source : TargetComponentRef
> Target : TargetComponent/innercomposite.Target
> Context stack trace: [application][SourceComponent]
>         at
> org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java
> :156)
>         at
> org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java
> :431)
>         at
> org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java
> :338)
>         at
> org.apache.tuscany.core.builder.ConnectorImpl.handleComponent(
> ConnectorImpl.java:606)
>         at
> org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java
> :88)
>         at
> org.apache.tuscany.spi.extension.CompositeComponentExtension.prepare(
> CompositeComponentExtension.java:363)
>         ... 25 more
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.836
> sec <<< FAILURE!
>
> Results :
>
> Tests in error:
>   test(innercomposite.InnerCompositeTestCase)
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>
>
> Rebuilding the head of everything under java/ gives me a different error:
>
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building Echo Binding
> [INFO]    task-segment: [install]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 1 resource to META-INF
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
>
> /home/delfinoj/Tuscany/apache-repos/java/samples/sca/echo.binding/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running echo.BootstrapTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.546
> sec <<< FAILURE!
>
> Results :
>
> Tests in error:
>   testDemoBoot(echo.BootstrapTestCase)
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>
> Surefire shows the following exception:
>
>
> -------------------------------------------------------------------------------
> Test set: echo.BootstrapTestCase
>
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.544
> sec <<< FAILURE!
> testDemoBoot(echo.BootstrapTestCase)  Time elapsed: 1.472 sec  <<< ERROR!
> org.apache.tuscany.core.injection.ObjectCallbackException: Null object
> factory for constructor parameter [0]
>         at
> org.apache.tuscany.core.injection.PojoObjectFactory.getInstance(
> PojoObjectFactory.java:98)
>         at
> org.apache.tuscany.core.implementation.PojoAtomicComponent.createInstance(
> PojoAtomicComponent.java:137)
>         at
>
> org.apache.tuscany.core.component.scope.CompositeScopeContainer.eagerInitComponents
> (CompositeScopeContainer.java:154)
>         at
> org.apache.tuscany.core.component.scope.CompositeScopeContainer.onEvent(
> CompositeScopeContainer.java:68)
>         at
> org.apache.tuscany.core.deployer.DeployerImpl$1.onEvent(DeployerImpl.java
> :101)
>         at
> org.apache.tuscany.spi.component.AbstractSCAObject.publish(
> AbstractSCAObject.java:106)
>         at
>
> org.apache.tuscany.core.implementation.composite.AbstractCompositeComponent.publish
> (AbstractCompositeComponent.java:124)
>         at
>
> org.apache.tuscany.core.implementation.composite.AbstractCompositeComponent.start
> (AbstractCompositeComponent.java:95)
>         at
> org.apache.tuscany.test.SCATestCase.deployExtension(SCATestCase.java:155)
>         at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:77)
>         at echo.BootstrapTestCase.setUp(BootstrapTestCase.java:42)
>         at junit.framework.TestCase.runBare(TestCase.java:125)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         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:585)
>         at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java
> :210)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> AbstractDirectoryTestSuite.java:135)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> AbstractDirectoryTestSuite.java:122)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
>         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:585)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> SurefireBooter.java:288)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
> :816)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
> :816)
>
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>