Description
When uninstall a kar (using kar:uninstall or removing the kar file from the deploy folder), an exception is thrown:
2017-06-09 11:22:51,874 | WARN | raf-4.0.8/deploy | fileinstall | 4 - org.apache.felix.fileinstall - 3.5.6 | Failed to uninstall artifact: /home/jbonofre/Workspace/karaf/assemblies/apache-karaf/target/apache-karaf-4.0.8/deploy/test-1.0-SNAPSHOT.kar
java.lang.IllegalArgumentException: Feature named 'test/1.0.0.SNAPSHOT' is not installed
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.uninstallFeatures(FeaturesServiceImpl.java:997)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.uninstallFeatures(FeaturesServiceImpl.java:872)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.removeRepository(FeaturesServiceImpl.java:528)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.removeRepository(FeaturesServiceImpl.java:491)[8:org.apache.karaf.features.core:4.0.8]
at org.apache.karaf.kar.internal.KarServiceImpl.uninstall(KarServiceImpl.java:232)[36:org.apache.karaf.kar.core:4.0.8]
at org.apache.karaf.deployer.kar.KarArtifactInstaller.uninstall(KarArtifactInstaller.java:56)[27:org.apache.karaf.deployer.kar:4.0.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.uninstall(DirectoryWatcher.java:1070)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.uninstall(DirectoryWatcher.java:888)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:483)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.6]