Simon Laws wrote:
On Thu, May 8, 2008 at 10:24 AM, Simon Nash <[EMAIL PROTECTED]> wrote:

I just did a full checkout and build.  The build failed in the
helloworld-bpel sample with the following exception.

 Simon

Running helloworld.BPELHelloWorldTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.479 sec
<<< FA
ILURE!
testInvoke(helloworld.BPELHelloWorldTestCase)  Time elapsed: 1.456 sec
 <<< ERRO
R!
org.osoa.sca.ServiceRuntimeException: java.lang.NullPointerException
       at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
omain.java:276)
       at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.
java:70)
       at
helloworld.BPELHelloWorldTestCase.setUp(BPELHelloWorldTestCase.java:4
2)
       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
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.
java:35)
       at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
       at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: java.lang.NullPointerException
       at
org.apache.tuscany.sca.implementation.bpel.impl.BPELDocumentProcessor
.getPartnerLinkTypes(BPELDocumentProcessor.java:206)
       at
org.apache.tuscany.sca.implementation.bpel.impl.BPELDocumentProcessor
.resolve(BPELDocumentProcessor.java:172)
       at
org.apache.tuscany.sca.implementation.bpel.impl.BPELDocumentProcessor
.resolve(BPELDocumentProcessor.java:77)
       at
org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProce

ssorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorE
xtensionPoint.java:195)
       at
org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactPr
ocessor.resolve(ExtensibleURLArtifactProcessor.java:86)
       at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceI
mpl.processResolvePhase(ContributionServiceImpl.java:497)
       at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceI
mpl.addContribution(ContributionServiceImpl.java:372)
       at
org.apache.tuscany.sca.contribution.service.impl.ContributionServiceI
mpl.contribute(ContributionServiceImpl.java:168)
       at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContrib
ution(DefaultSCADomain.java:291)
       at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(Defau
ltSCADomain.java:171)
       at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(Def
aultSCADomain.java:113)
       at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
omain.java:242)
       ... 20 more


Results :

Tests in error:
 testInvoke(helloworld.BPELHelloWorldTestCase)


I just got that too.

Simon

There's also a problem when running the bpel itest.

  Simon

Reply via email to