I had asked a question about this earlier, but it didn\'t get answered right and led nowhere.
So I\'ve clarified few details on the problem and I would really like t
Make sure you use the latest version of JDK/JRE.
In my case, I had put JCE into JRE folder, but it didn't help. It happened because I was running my project from the IDE directly (using JDK).
Then I updated my JDK and JRE to the latest version (1.8.0_211) and the problem had gone.
More details: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8170157