Resampling to target size NPE

Resampling to a target width and height a GeoTIFF file (probably not important) in SNAP 4.0 updated to 4.0.2 as of today results in the following error message:

    	at org.esa.snap.core.gpf.common.resample.ResamplingOp.setReferenceValues(
    	at org.esa.snap.core.gpf.common.resample.ResamplingOp.initialize(
    	at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(
    	at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(
    	at org.esa.snap.core.gpf.Operator.getTargetProduct(
    	at org.esa.snap.core.gpf.GPF.createProductNS(
    	at org.esa.snap.core.gpf.GPF.createProduct(
    	at org.esa.snap.core.gpf.GPF.createProduct(
    	at org.esa.snap.core.gpf.ui.resample.ResamplingDialog.createTargetProduct(
    [catch] at org.esa.snap.core.gpf.ui.SingleTargetProductDialog.onApply(
    	at org.esa.snap.core.gpf.ui.resample.ResamplingDialog.onApply(

I will have a look at this later today. What kind of product have you used as input?

A GeoTIFF file, if that’s what your’re asking. But I don’t think it matters

Ah, you said it in your first post. I thought GeoTIFF is the output format.

No, I’m actually choosing “open in SNAP”.

I solved the problem (SNAP-603).
Probably I will release a module updated this week. The update will include the fix.

Oh, thanks for the fix and sorry for not noticing that the product was not geo-coded.