Hello

   After installing a custom feature in Karaf 3.0 successfully, if I
restart karaf instance, I got the following error :

ERROR: Error reloading cached bundle, removing it:
D:\Siti-1.3.0\server\karaf-siti\data\cache\bundle99
(java.lang.NumberFormatException: For input string: "            ")
java.lang.NumberFormatException: For input string: "            "
        at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:481)
        at java.lang.Integer.parseInt(Integer.java:527)
        at
org.apache.felix.framework.cache.BundleArchive.readBundleInfo(BundleArchive.java:959)
        at
org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:182)
        at
org.apache.felix.framework.cache.BundleCache.getArchives(BundleCache.java:247)
        at org.apache.felix.framework.Felix.init(Felix.java:705)
        at org.apache.karaf.main.Main.launch(Main.java:238)
        at org.apache.karaf.main.Main.main(Main.java:172)

It appears that in the bundle.info file generated in data/cache, there is
an empty line :

135
mvn:com.xxx.xxx/xxx-commands/1.3.0-SNAPSHOT
32
80
1396353616390
0


If I try to deploy the same bundle directly in deploy directory, the
bundle.info file is modified and correct.

Any idea ?

Thanks again
Matthieu

Reply via email to