Gilles Filippini a écrit le 17/05/2020 à 22:51 : > Hi Martin, > > Martin Quinson a écrit le 17/05/2020 à 22:31 : >> Hello again, >> >> when I try to launch the program with your patch applied, I get the >> following backtrace: >> >> Exception in thread "main" java.lang.ClassCastException: class >> org.json.simple.JsonArray cannot be cast to class >> org.json.simple.JsonObject (org.json.simple.JsonArray and >> org.json.simple.JsonObject are in unnamed module of loader 'app') >> at plm.core.model.Users.loadUsersFromFile(Unknown Source) >> at plm.core.model.Users.<init>(Unknown Source) >> at plm.core.model.Game.<init>(Unknown Source) >> at plm.core.model.Game.getInstance(Unknown Source) >> at plm.core.ui.ProgrammersLearningMachine.main(Unknown Source) >> >> I will try to fix it in the near future, but your help would of course >> be welcome. Don't modify your patch as it is applied and burried under >> other changes already. Instead, please propose another patch on top of >> the current state in the package in >> https://salsa.debian.org/java-team/plm/ > > I'll have a look at this.
Could you give me an example of plm.users file causing this error? Thanks, _g.
signature.asc
Description: OpenPGP digital signature