AlexeyDmitriev / JHelper

GNU Lesser General Public License v3.0
119 stars 31 forks source link

Exception while parsing tasks of a contest #133

Closed Dhruv-Rana closed 2 years ago

Dhruv-Rana commented 2 years ago

When I try to parse tasks from here, after parsing 3-4 tasks I am facing this:

java.lang.NullPointerException at name.admitriev.jhelper.ui.Notificator.showNotification(Notificator.java:14) at name.admitriev.jhelper.network.SimpleHttpServer.run(SimpleHttpServer.java:45) at java.base/java.lang.Thread.run(Thread.java:829)

I am using CLion 2021.1.3

Dhruv-Rana commented 2 years ago

this seems to be some issue with new version of CLion

AlexeyDmitriev commented 2 years ago

Does it trigger if you parse tasks 1 by 1? IIUC this only triggers only on attempt to report some other problem. I'll look into this if I have time anyway, but as a workaround it might help.

Dhruv-Rana commented 2 years ago

Yes it's triggering even when I parse tasks one-by-one. Thanks!

AlexeyDmitriev commented 2 years ago

On every problem?

Dhruv-Rana commented 2 years ago

No, it's triggering very randomly. Sometimes after parsing a single task, sometimes after parsing 3/4 tasks. Once triggered, I cannot parse any further tasks.

AlexeyDmitriev commented 2 years ago

The exception should be fixed by #134 in v0.19.1 Please let me know whether it is fixed for you

Dhruv-Rana commented 2 years ago

Yes the issue is fixed now. Thank you so much!

AlexeyDmitriev commented 2 years ago

Well, thanks to @AntKirill . I actually forgot to look into that