Skip to content

Fixquestiontime error #9

@Undeadking176

Description

@Undeadking176

im having this issue for some reason is there something wrong with the java file!
[05:23:37] [pool-2-thread-13/ERROR] [Sponge]: The Scheduler tried to run the task [QT]FixTimeQuestion owned by Plugin{id=questionstime, name=QuestionsTime, version=1.1.7, description=Ask questions and gain prize for the winner, authors=[Nocturne123], source=./mods/QuestionsTime-1.1.7.jar}, but an error occured.
java.lang.IllegalArgumentException: bound must be positiveat java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_352]at fr.nocturne123.questionstime.QuestionTask.run(QuestionTask.java:43) ~[QuestionTask.class:?]at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139) ~[Task$Builder.class:1.12.2-2838-7.4.8-RC4141]at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:197) ~[SchedulerBase.class:1.12.2-2838-7.4.8-RC4141]at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_352]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_352]at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_352]at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_352]at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions