Hacker News new | ask | show | jobs
by EmpirePhoenix 2641 days ago
Funny thing, some JVM's already do exactly this for many years:

Failed to write HTTP message: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: while trying to invoke the method de.hybris.platform.catalog.model.CatalogModel.getId() of a null object returned from de.hybris.platform.catalog.model.CatalogVersionModel.getCatalog();

2 comments

It would be useful to know what JVM is that.
Probably SAP's, since Hybris is an SAP product.
SAP's definitely does this, I just checked.

In fact I relied on it so much that I thought every JVM does this.

this is a json serializer, =NOTHING= to do with compiled dererences.