JSON Serialize

  

Hi guys,

I'm facing a strange problem with the buit-in Outsystems JSON Serialize.

I'm trying to serialize some Records and I checked when the Record comes with the ID filled in I have a "java.lang.nullpointerexception" but if the Record comes with the ID empty, the serialization go ok.

Someone had the same problem?

Ousystems Platform: 10.0.408.0

Stack: Java


Thanks in advance.

Kind Regards,

Diogo Miguel

Hi Diogo,


Can you upload a sample where it happens and some error logs?


Regards,

João Rosado

Hi Joào,

Sorry for the late reply, but I can't put a sample here.

It's strange because it only happens with one Table, however I solved the problem with an ardoJSON extension that we have on the project.

Kind Regards,

Diogo Miguel

Hi Diogo,


Ca n you at least say the type and properties of the Id attribute of your entity? I would like to be able to reproduce the issue as it might affect other developers.


Edit: You can also do a submit feedback from Service Studio (if you didn't already) including the module and we can followup from that.


Regards,

João Rosado

Hi João,

The strange is the ID attribute of the other tables are equal to this one, but only this one didn't work.

Regards,

Diogo Miguel