On 4/12/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
Hi, If the calulator sample is working then I suppose the wiring is in place isn't it ? Let me go and try this one. - Venkat On 4/12/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > On 4/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > > > I'm trying to run the echo-binding testcases after updating the binding > > implementation, but I'm getting the exception below. > > Are we actually wiring services and references ? > > > > java.lang.IllegalStateException: java.lang.NullPointerException at > > org.apache.tuscany.api.SCARuntime.start(SCARuntime.java:170) at > > org.apache.tuscany.binding.echo.EchoBindingTestCase.setUp( > > EchoBindingTestCase.java:35) at junit.framework.TestCase.runBare( > > TestCase.java:132) 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.OldTestClassRunner.run( > OldTestClassRunner.java > > :35) > > at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run( > > JUnit4TestReference.java:38) at > > org.eclipse.jdt.internal.junit.runner.TestExecution.run( > TestExecution.java > > :38) > > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( > > RemoteTestRunner.java:460) at > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( > > RemoteTestRunner.java:673) at > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run( > > RemoteTestRunner.java:386) at > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( > > RemoteTestRunner.java:196)Caused by: java.lang.NullPointerException > at > > org.apache.tuscany.core.implementation.PojoAtomicComponent.start( > > PojoAtomicComponent.java:217) at > > org.apache.tuscany.host.embedded.SimpleRuntimeImpl.start( > > SimpleRuntimeImpl.java:158) at > > org.apache.tuscany.host.embedded.DefaultSCARuntime.startup( > > DefaultSCARuntime.java:50) at org.apache.tuscany.api.SCARuntime.start > ( > > SCARuntime.java:168) ... 15 more > > > > -- > > Luciano Resende > > http://people.apache.org/~lresende > > > Luciano > > Did you get past this. I'm getting an NPE in composite-impl where the > system > is trying to create wires (just posted on it). Be interested to know if > you > solved your problem? > > Regards > > Simon >
Hi I did go back and try the calculator with the latest code from head and it still works for me. I am getting output from the CompositUtil about the problems it has found. Composite configuration problem: [EMAIL PROTECTED] I've not looked into this one specifically but it doesn't stop the test passing. I do get more of these problem reports in the composite-impl test that I'm playing with and it is a real problem in that case. Still looking at whats going on. Regards Simon