Exception in thread "main" java.lang.NullPointerException at org.acme.snap.tutorials.QuicklookGenerator.main(QuicklookGenerator.java:24)

Hello there
I am trying to run this program download from ESA Github Application
I am getting errors trying to open a sentinel file in intellij.
Find program below

package org.acme.snap.tutorials;

import com.bc.ceres.core.ProgressMonitor;
import org.esa.snap.core.datamodel.Band;
import org.esa.snap.core.datamodel.Product;

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import static org.esa.snap.core.dataio.ProductIO.readProduct;

/*
Example taken from the tutorial given at Sentinel-3 OLCI/SLSTR and MERIS/(A)ATSR workshop 2012.
See http://www.brockmann-consult.de/cms/web/beam/tutorials
*/
public class QuicklookGenerator {
public static void main(String[] args) throws IOException {
// try {
Product product = readProduct (“C:\Users\Jonatino\Desktop\MER_RR__1P_TEST.N1”);
// Product product = ProductIO.readProduct(args[0]);

       Band band = product.getBand("radiance_3");

        BufferedImage rgbImage = band.createRgbImage(ProgressMonitor.NULL);
        ImageIO.write(rgbImage, "PNG", new File(product.getName() + ".png"));
 //   } catch (IOException e) {
     //   System.err.println("Error: " + e.getMessage());
                }
                }

And I am getting this error below

Exception in thread “main” java.lang.NullPointerException
at org.acme.snap.tutorials.QuicklookGenerator.main(QuicklookGenerator.java:24)

Can anyone help me. I have been struggling over this for days

Thanks

Please don’t raise multiple posts of the same topic. I’ve deleted the other topic.
Also the code is hard to read. Maybe attach it as a file then it is easier to read and easier for others to help you.

Hello
Please does Snap support file .N1 format?
If not, what format does it support?

Find the link to the break down of the debugging code and main class below

https://drive.google.com/open?id=1uxDrZXYXMfey40qbq-nkMJ_bYIsFKCz6