Hi I'm trying to generate a SecureRandom number in a sessionbean. Whenever I called the nextInt method I get: nested exception is: java.lang.StackOverflowError. Does somebody have clue of why I'm getting this? I've tried this in a standalone application and it works fine. Here is the code: seeder = new SecureRandom(); int node = seeder.nextInt(); /Theis.