"[name] is null" error reading some products

Several products (eg, S1A_IW_GRDH_1SDV_20141030T171249_20141030T171314_003062_003809_46B9) cause the toolbox to throw an exception when I try to just open them. Looks like either the manifest file or one of the other XML files is corrupt, but I can’t tell what exactly is wrong. This is what I get from gpt (the exception handler in Sentinel1ProductReader.readProductNodesImpl does not let me trace the exception cause):

[name] is null
at org.esa.snap.core.gpf.graph.NodeContext.initTargetProduct(NodeContext.java:76)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:195)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:178)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:178)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:178)
at org.esa.snap.core.gpf.graph.GraphContext.initNodeContext(GraphContext.java:178)
at org.esa.snap.core.gpf.graph.GraphContext.initOutput(GraphContext.java:162)
at org.esa.snap.core.gpf.graph.GraphContext.(GraphContext.java:91)
at org.esa.snap.core.gpf.graph.GraphContext.(GraphContext.java:64)
at org.esa.snap.core.gpf.graph.GraphProcessor.executeGraph(GraphProcessor.java:130)
at org.esa.snap.core.gpf.main.DefaultCommandLineContext.executeGraph(DefaultCommandLineContext.java:
84)
at org.esa.snap.core.gpf.main.CommandLineTool.executeGraph(CommandLineTool.java:502)
at org.esa.snap.core.gpf.main.CommandLineTool.runGraph(CommandLineTool.java:350)
at org.esa.snap.core.gpf.main.CommandLineTool.runGraphOrOperator(CommandLineTool.java:249)
at org.esa.snap.core.gpf.main.CommandLineTool.run(CommandLineTool.java:150)
at org.esa.snap.core.gpf.main.CommandLineTool.run(CommandLineTool.java:122)
at org.esa.snap.core.gpf.main.GPT.run(GPT.java:54)
at org.esa.snap.core.gpf.main.GPT.main(GPT.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.esa.snap.runtime.Launcher.lambda$run$12(Launcher.java:55)
at org.esa.snap.runtime.Engine.runClientCode(Engine.java:186)
at org.esa.snap.runtime.Launcher.run(Launcher.java:51)
at org.esa.snap.runtime.Launcher.main(Launcher.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
Caused by: org.esa.snap.core.gpf.OperatorException: org.esa.s1tbx.io.sentinel1.Sentinel1ProductReader
[input=/tmp/tmp6938049736815129336/input/S1A_IW_GRDH_1SDV_20141030T171249_20141030T171314_003062_003809_46B9.SAFE/manifest.safe]:
[name] is null
at org.esa.snap.core.gpf.common.ReadOp.initialize(ReadOp.java:97)
at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(OperatorContext.java:499)
at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(OperatorContext.java:278)
at org.esa.snap.core.gpf.Operator.getTargetProduct(Operator.java:359)
at org.esa.snap.core.gpf.graph.NodeContext.initTargetProduct(NodeContext.java:74)
… 31 more
Caused by: java.io.IOException: org.esa.s1tbx.io.sentinel1.Sentinel1ProductReader
[input=/tmp/tmp6938049736815129336/input/S1A_IW_GRDH_1SDV_20141030T171249_20141030T171314_003062_003809_46B9.SAFE/manifest.safe]:
[name] is null
at org.esa.s1tbx.io.SARReader.handleReaderException(SARReader.java:151)
at org.esa.s1tbx.io.sentinel1.Sentinel1ProductReader.readProductNodesImpl(Sentinel1ProductReader.java:110)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:169)
at org.esa.snap.core.gpf.common.ReadOp.initialize(ReadOp.java:93)
… 35 more

Thanks Simon, I’ll download the same products and give it a try.

I don’t seem to have any problem reading this product. What graph or command were you using from gpt?

I get the same error just opening the manifest file in the UI. The version is 2.0

Could it be, that the file got corrupted while downloading. I may help to compare size and/or md5sum.

My file S1A_IW_GRDH_1SDV_20141030T171249_20141030T171314_003062_003809_46B9.zip has the size of 1712434268 bytes and md5sum d7bd1e64608ecd98749d4cf0dd0854ba

Also happens for S1A_IW_GRDH_1SDH_20141102T063250_20141102T063309_003099_0038D8_70B2