I have my java project in Intellij Idea, the app in the project connect to a database (apache derby).
If I run the application not in debug mode I get no errors, no exceptions, it seems to work fine.
If I run the application in Intellij debug mode I get:
java.security.InvalidAlgorithmParameterException: DH key size must be multiple of 64, and can only range from 512 to 8192 (inclusive). The specific key size 256 is not supported
when this happen it asks to open Intellij decompiler. This happen when I try to connect to the database.
I don't understand what is the right behaviour, if there are some problems or not. I have to consider the one in normal run or the one in debug mode? Same jvm version is both the tests.
Thanks for the help
UPDATE: Just to add another thing: if after this exception caught by the debugger I resume the program execution it seems to work with no problem. It doesn't throw it again, at lest from my tests.