This was encountered when testing AAA with JDK11. Our wiring of BouncyCastle in Karaf does not work, emitting an error on the console:
Apache Karaf starting up. Press Enter to open the shell now... Unable to register security provider: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider 100% [========================================================================] Karaf started in 0s. Bundle stats: 15 active, 15 total
This leads to AAA failing on SFT, because BC provider is not registered as expected, leading to a run-time failure.