Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by apollo abel, 1 year ago
n must be positiv e
via Stack Overflow by Genrix
, 2 years ago
via Google Groups by Unknown author, 6 months ago
via Stack Overflow by Dymond
, 2 years ago
java.lang.IllegalArgumentException: n must be positiv
e	at java.util.Random.nextInt(	at undefined.GameTester.main(