I developed an Android app and now I\'m starting with its external DB and its server, the communication is performed by RESTful web services.
This Android aplication
Jack's answer is really helpful.
It pinpoints the problem and was useful when there was no patch.
But I suggest instead of editing the jar, since the bug is corrected in 2.6.1,
to download it at :
org.eclipse.persistence.moxy-2.6.1 from MVNRepository
OR get the latest version from MVNRepository: https://mvnrepository.com/artifact/org.eclipse.persistence/org.eclipse.persistence.moxy
and replace it.
Don't forget to close and reopen you IDE.