Details
Description
Preceding Whitespace in bundle element value is being preserved.
<<.NumberFormatException: For input string: " mvn:org...">>
Install the following in karaf 3.0.1:
<?xml version="1.0" encoding="UTF-8"?>
<features name="problems"
xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
<feature name="problem">
<bundle>
mvn:org.apache.commons/commons-lang3/3.3.2
</bundle>
</feature>
</features>
Shutdown karaf. On karaf statup the following is displayed at the karaf console:
ERROR: Error reloading cached bundle,
removing it: C:\lib\apache-karaf-3.0.1\data\cache\bundle118 (java.lang.NumberFormatException:
For input string: " mvn:org.apache.commons/commons-lang3/3.3.2")
java.lang.NumberFormatException: For input string: " mvn:org.apache.commons/commons-lang3/3.3.2"
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)