Thanks for the report. I was able to reproduce this.
We will investigate this further: [SNAP-3509] Invalid memory access error occurs when writing NetCDF-CF file
It has been reported before Java error “invalid memory access” - snap - STEP Forum (esa.int).