tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cesa Iann <cesai...@gmail.com>
Subject NullPointerException error
Date Sat, 30 Mar 2013 17:49:37 GMT
Hi,

I am trying to create my first Tuscany application, it is a basic
HelloWorld application but I keep having this error:

NB: I am using TUSCANY 1.6.2 and Eclipse JUNO

Did I miss something?
Also, is there any clear tutorials on how using recent versions of Tuscany


The error:

mars 30, 2013 5:31:34 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: HW.composite
Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
org.apache.tuscany.sca.core.assembly.ActivationException:
java.lang.NullPointerException
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:204)
at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:37)
at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:178)
at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:100)
at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:182)
at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:63)
at main.Client.main(Client.java:11)
Caused by: org.apache.tuscany.sca.core.assembly.ActivationException:
java.lang.NullPointerException
at
org.apache.tuscany.sca.node.impl.RuntimeBootStrapper.loadSCADefinitions(RuntimeBootStrapper.java:314)
at
org.apache.tuscany.sca.node.impl.RuntimeBootStrapper.start(RuntimeBootStrapper.java:193)
at org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:460)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:197)
... 6 more
Caused by: java.lang.NullPointerException
at
org.apache.tuscany.sca.binding.sca.SCABindingDefinitionsProvider$1.run(SCABindingDefinitionsProvider.java:54)
at
org.apache.tuscany.sca.binding.sca.SCABindingDefinitionsProvider$1.run(SCABindingDefinitionsProvider.java:52)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.tuscany.sca.binding.sca.SCABindingDefinitionsProvider.getSCADefinition(SCABindingDefinitionsProvider.java:52)
at
org.apache.tuscany.sca.node.impl.RuntimeBootStrapper.loadSCADefinitions(RuntimeBootStrapper.java:287)
... 9 more

Thank you

Mime
View raw message