Thanks for looking, i've not had a chance to debug it yet. You can recreate it yourself quite easily by uncommenting the helloworldproperty in:
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/container.javascript/src/test/resources/org/apache/tuscany/container/javascript/function/helloworld.scdl and running the HelloWorldTestCase: https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/services/containers/container.javascript/src/test/java/org/apache/tuscany/container/javascript/function/HelloWorldTestCase.java ...ant java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at org.apache.tuscany.spi.databinding.extension.DataBindingExtension.introspect (DataBindingExtension.java:75) at org.apache.tuscany.core.databinding.impl.DataBindingRegistryImpl.introspectType (DataBindingRegistryImpl.java:59) at org.apache.tuscany.core.property.PropertyObjectFactoryImpl$ObjectFactoryImpl .<init>(PropertyObjectFactoryImpl.java:84) at org.apache.tuscany.core.property.PropertyObjectFactoryImpl.createObjectFactory (PropertyObjectFactoryImpl.java:63) at org.apache.tuscany.core.loader.ComponentLoader.loadProperty( ComponentLoader.java:216) at org.apache.tuscany.core.loader.ComponentLoader.load( ComponentLoader.java:152) at org.apache.tuscany.core.loader.ComponentLoader.load( ComponentLoader.java:69) at org.apache.tuscany.core.loader.LoaderRegistryImpl.load( LoaderRegistryImpl.java:92) at org.apache.tuscany.core.implementation.composite.CompositeLoader.load (CompositeLoader.java:79) at org.apache.tuscany.core.implementation.composite.CompositeLoader.load (CompositeLoader.java:53) at org.apache.tuscany.core.loader.LoaderRegistryImpl.load( LoaderRegistryImpl.java:92) at org.apache.tuscany.core.loader.LoaderRegistryImpl.load( LoaderRegistryImpl.java:109) at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile (CompositeComponentTypeLoader.java:65) at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load (CompositeComponentTypeLoader.java:57) at org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load (CompositeComponentTypeLoader.java:39) at org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType( LoaderRegistryImpl.java:159) at org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java :101) at org.apache.tuscany.core.deployer.DeployerImpl.deploy( DeployerImpl.java:76) at org.apache.tuscany.core.launcher.LauncherImpl.bootApplication( LauncherImpl.java:195) at org.apache.tuscany.test.SCATestCase.setUp(SCATestCase.java:65) at org.apache.tuscany.container.javascript.function.HelloWorldTestCase.setUp( HelloWorldTestCase.java:45) 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.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run( JUnit3TestReference.java:128) 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) On 10/5/06, Raymond Feng <[EMAIL PROTECTED]> wrote:
Hi, Ant. Can you post a stacktrace? Thanks, Raymond ----- Original Message ----- From: "ant elder" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, October 05, 2006 1:33 AM Subject: JavaScript container support for properties > I've add the code to JavaScript container to support all the recent > property > work Venkat and Raymond have been doing. It all worked yesterday by with > changes overnight now only default properties are working. The other gets > an > NPE in DataBindingExtension so I've commented out the > testHelloWorldProperty > test in the HelloWorldTestCase and the component in the helloworld.scdl > for > now. > > ...ant > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
