SNAP error


I have downloaded SNAP and installed on my desktop…Once i have downloaded image i have clicked on manifest safe…when i click on bands Amplitude VH instead of crreating image it is showing I/O error reading image meta data javax.imageIO.IIOException…Anyone can find the answer ?


Can you try to download the data again. Maybe it is corrupted during the download.
Can you also provide more of the exception text. This would help to give you a proper answer.


I have downloaded the image 3 times and have reinstalled the SNAP also 3 times…when i click on band amplitude and intensity instead of creating image SNAP error is showing
I/O error reading image meta data
** javax.imageIO.IIOException…"


Can’t you click on a details button which might offer some more information?
Or do you have red stop sign in right bottom corner after the error occurred? Maybe there more information is shown.

If both ways doesn’t give valuable information there is a third way.
Please attach the log file here.
Assuming you are working on windows, you can find it in a hidden folder in your user directory.
You can either change the visibility settings or enter the path to the directory manually.
The log file is located in “$USER_HOME\AppData\Roaming\SNAP\var\log”
For me it is “C:\Users\Marco\AppData\Roaming\SNAP\var\log”
Pick the messages.log file and attach to your post.


here is my error…



Have you tried the same with other S1 products?

I see that you are hit by at least two errors. One is the BufferUnderflowException which is shown in the dialog. But this is not the one which prevents the opening of an image.
In the exception dialog there is the previous button. If you click on it you should see the other exception which causes the problem.

#8 No memory left for cache!
at Source)
at Source)
at Source)
at Source)
at it.geosolutions.imageioimpl.plugins.tiff.TIFFIFD.initialize(
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageMetadata.initializeFromStream(
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.readMetadata(
Caused: javax.imageio.IIOException: I/O error reading image metadata!
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.readMetadata(
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.seekToImage(
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.seekToImage(
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.prepareRead(
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.readAsRenderedImage(
at org.esa.snap.core.dataio.AbstractProductReader.readBandRasterData(
at org.esa.snap.core.image.BandOpImage.computeProductData(
at org.esa.snap.core.image.RasterDataNodeOpImage.computeRect(
Caused: java.lang.RuntimeException
at org.esa.snap.core.image.RasterDataNodeOpImage.computeRect(
at org.esa.snap.core.datamodel.StxFactory.accumulateTile(
at org.esa.snap.core.datamodel.StxFactory.accumulate(
at org.esa.snap.core.datamodel.StxFactory.accumulate(
at org.esa.snap.core.datamodel.StxFactory.create(
at org.esa.snap.core.datamodel.StxFactory.create(
at org.esa.snap.core.datamodel.RasterDataNode.computeStxImpl(
at org.esa.snap.core.datamodel.Band.computeStxImpl(
at org.esa.snap.core.datamodel.RasterDataNode.getStx(
at org.esa.snap.core.datamodel.RasterDataNode.createDefaultImageInfo(
at org.esa.snap.core.datamodel.Band.createDefaultImageInfo(
at org.esa.snap.core.datamodel.RasterDataNode.getImageInfo(
at org.esa.snap.core.datamodel.RasterDataNode.getImageInfo(
at org.esa.snap.core.image.ImageManager.prepareImageInfos(
at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(
at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(
at org.esa.snap.core.image.ColoredBandImageMultiLevelSource.create(
at org.esa.snap.ui.product.ProductSceneImage.(
at org.esa.snap.rcp.actions.window.OpenImageViewAction.createProductSceneImage(
at org.esa.snap.rcp.actions.window.OpenImageViewAction.access$000(
at org.esa.snap.rcp.actions.window.OpenImageViewAction$1.doInBackground(
at org.esa.snap.rcp.actions.window.OpenImageViewAction$1.doInBackground(
at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(
at javax.swing.SwingWorker$ Source)
at Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
Caused: java.util.concurrent.ExecutionException
at Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
[catch] at org.esa.snap.rcp.actions.window.OpenImageViewAction$1.done(
at javax.swing.SwingWorker$ Source)
at javax.swing.SwingWorker$ Source)
at Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$ Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$ Source)
at java.awt.EventQueue$ Source)
at Method)
at$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.netbeans.core.TimableEventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Source)


OK. Thanks.
How much memory does you computer have? Maybe it is not enough.


ok… Thank you…4GB RAM… i will try with the other drive which i have in my computer… And i would like to know do u have any prerequisite before installing this SNAP? i have installed Java 8…
1)Any settings need to be done before install?
2)When i select tiff from measurement folder it is getting loaded in the SNAP as a mirror image…


Yes, 4GB is maybe not enough for working with the S1 data. I have 8GB and I haven’t experienced such a problem till now.

  1. There are no prerequisites before installing this SNAP. It comes with its own Java version.
  2. I’m not an expert for the S1 data. But for me if I open the TIFF directly it is neither mirrored nor flipped.


ok Thank you… i will try it… If any queries i will post…


In Tools->Options->S1TBX you can check “Use file cache in readers to conserve memory”. If you .snap cache folder is on an SDD you won’t notice it too much otherwise it may be slower but it will avoid this.

Problem in BatchProcessing

Its working thank you so much…


rg.esa.snap.core.gpf.OperatorException: Terrain-Correction: Java heap space
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(
at org.esa.s1tbx.sar.gpf.geometric.RangeDopplerGeocodingOp.computeTileStack(
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeRect(
at org.esa.snap.core.gpf.internal.OperatorImageTileStack.computeTile(
Caused: org.esa.snap.core.gpf.OperatorException: Terrain-Correction: Java heap space
at org.esa.snap.core.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(
at com.bc.ceres.glevel.MultiLevelImage.getData(
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(
[catch] at

I am using 4GB memory… i have changed the settings in folder(C:\Users\shalini.snap\etc\snap)
#SNAP configuration ‘snap’
#Mon Jan 25 11:29:49 IST 2016

i have changed this by referring forum…

Please help in this?


You should increase the amount of RAM in your system, it is unlikely that 4GB will be enough even if the settings are tweaked. In order to properly benefit from more memory you should have a 64-bit operating system.


Thanks. I will definitely download a sentinel-1 file and try it again.


Thank you so much. I was able to open the file.



I got an issues thatI think may be related.
when running python3 code with snappy commands I get the following error after trying to write out a Sentinel 1 image that I read in just prior:

ProductIO.writeProduct(sentinel_1, out_subset_name, ‘ENVI’, createProgressMonitor())
RuntimeError: java.lang.RuntimeException: javax.imageio.IIOException: I/O error reading image metadata!

This happens on a server linux system (w/o gui) while I do not have the issue with the same data and code on a windows system, which makes me think it is an installation problem.
How to trace it? Could it be memory? OR something related to the java install?
Thanks for your feedback. Mark


When I look at the following two threads I think it is a memory problem:

There are more threads. Maybe they are helpful for you: