This post has NOT been accepted by the mailing list yet.
This post was updated on .
I receive an XML stream from the server and sometimes it happens that a tag is empty.
When XStream reads this tag, there is an exception that starts:
Caused by: com.thoughtworks.xstream.converters.ConversionException: Zero length string: Zero length string
---- Debugging information ----
Post: Zero length string
Because-Post: Zero length string
required standard: java.lang.Integer
converter deviation: com.thoughtworks.xstream.converters.SingleValueConverterWrapper
path: / prestashop / category / id_parent
class  xml.models.test.Category
converter deviation  com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class : xml.models.test.Prestashop
I have read many post about this problem and I have not found answers.
I know you can hide the element with @ XStreamOmitField but it does not solve my problem.
Should there be a converter to solve this problem?
Thank you for your help