Hi,

I was getting NPE (without my fix) from the BigBank sample:

Running bigbank.BigBankTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.784 sec <<< FA
ILURE!
test(bigbank.BigBankTestCase)  Time elapsed: 2.684 sec  <<< ERROR!
java.lang.NullPointerException
at org.apache.tuscany.core.builder.BuilderRegistryImpl.build(BuilderRegi
stryImpl.java:181)
at org.apache.tuscany.core.implementation.composite.CompositeBuilder.bui
ld(CompositeBuilder.java:105)
at org.apache.tuscany.core.builder.BuilderRegistryImpl.build(BuilderRegi
stryImpl.java:115)
at org.apache.tuscany.core.deployer.DeployerImpl.build(DeployerImpl.java
:132)
at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.jav
a:98)
at org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(Launche
rImpl.java:190)
       at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:65)
       at bigbank.BigBankTestCase.setUp(BigBankTestCase.java:32)
       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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:747)

Thanks,
Raymond

----- Original Message ----- From: "Jim Marino" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, August 21, 2006 10:07 AM
Subject: Fwd: svn commit: r433258 - in /incubator/tuscany/java/sca: commands/launcher/src/main/resources/META-INF/tuscany/composite.scdl runtime/webapp-host/src/main/resources/META-INF/sca/composite.scdl test/src/main/resources/META-INF/tuscany/composite.scdl


Hi Raymond,

Can point me to the steps that were causing this as none of the current test cases check for this? I assume it was in the builder.

Thanks,
Jim


Begin forwarded message:

From: [EMAIL PROTECTED]
Date: August 21, 2006 8:01:06 AM PDT
To: [email protected]
Subject: svn commit: r433258 - in /incubator/tuscany/java/sca: commands/launcher/src/main/resources/META-INF/tuscany/ composite.scdl runtime/webapp-host/src/main/resources/META-INF/sca/ composite.scdl test/src/main/resources/META-INF/tuscany/composite.scdl
Reply-To: [email protected]

Author: rfeng
Date: Mon Aug 21 08:01:05 2006
New Revision: 433258

URL: http://svn.apache.org/viewvc?rev=433258&view=rev
Log:
Fixed the NPE instroduced by r432913 by adding the ComponentBindlessBuilder to the composite.scdl


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to