testmycode / tmc-core

The common clientside implementation for tmc-clients. Used by the tmc-netbeans and the tmc-cli
3 stars 18 forks source link

Checkstyle validation parsing hangs in submit command #110

Closed Salmela closed 8 years ago

Salmela commented 8 years ago

The problem seems to be that the SubmissionResultParser tries to parse json with gson library, but the gson can't write the validationErrors map member in ValidationResultImp .

The simplest way to fix this issue is just set the validationErrors member as transient. We tried it and it seemed to work. Another way that this could probably be fixed is set validations member in SubmissionResult as transient.

This bug was discovered by @juvester .

Salmela commented 8 years ago

lol @juvester made exactly same issue #109 at almost the same time.

juvester commented 8 years ago

great minds think alike..