> Hi,
> 
> I started Tuscany-SCA-2.0-M4 in Apache Felix. I am trying to use the
> calculator-osgi example from the samples folder of the distribution.
> I am getting following exception:
> 
> -> start 
> file:/Users/alb/Development/Tuscany/tuscany-sca-2.0-M4/samples/calculator-osgi
> /target/sample-calculator-osgi.jar
> 21.05.2010 16:21:29 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default7 domain:
> tuscany.apache.org
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>     at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>     at java.util.ArrayList.get(ArrayList.java:322)
>     at 
> org.apache.tuscany.sca.node.osgi.impl.OSGiNodeFactoryImpl.getNodeKey(OSGiNodeF
> actoryImpl.java:129)
>     at 
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.addNode(NodeFactoryImpl.java:
> 113)
>     at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:115)
>     at calculator.CalculatorActivator.start(CalculatorActivator.java:41)
>     at 
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:
> 661)
>     at org.apache.felix.framework.Felix.activateBundle(Felix.java:1756)
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1678)
>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
>     at 
> 
org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114>
)
>     at 
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activato
> r.java:286)
>     at 
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
>     at java.lang.Thread.run(Thread.java:637)
> 
> Perhaps this is a configuration error and I have to change something in the
> sample jar file?
> 
> greetings
> Alex

Reply via email to