karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SapnaB <sapnabhargava...@gmail.com>
Subject Re: Karaf blueprint "Failure" while extending console
Date Fri, 30 May 2014 06:56:54 GMT
Hi All,

Im using Karaf 2.3.2 and face the same issue (test:hello Command not found) 
while executing the sample console extension project on the Karaf Manual:
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending-console.html

Is there resolution for this problem? 
osgi:list shows:
[  94] [Active     ] [Failure     ] [       ] [   80]
mvn:org.apache.karaf.shell.samples/shell-sample-commands/1.0-SNAPSHOT

Log file shows the follwoing stackTrace:

2014-05-29 23:15:04,448 | ERROR | l Console Thread | BlueprintContainerImpl          
| container.BlueprintContainerImpl  393 | 7 -
org.apache.aries.blueprint.core - 1.1.0 | Unable to start blueprint
container for bundle null
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:604)[:1.7.0_11]
	at java.util.ArrayList.get(ArrayList.java:382)[:1.7.0_11]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.readDirectives(BlueprintContainerImpl.java:211)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:283)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[7:org.apache.aries.blueprint.core:1.1.0]

Does anyone has an idea to this problem?




--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-blueprint-Failure-while-extending-console-tp4029372p4033339.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message