I got a similar problem with the readProduct in python, I get this error multiple times (different UTMXXX):
SEVERE: org.esa.snap.core.dataio.ProductIO: Error attempting to read testdata/MER_FRS_L1B_SUBSET.dim with plugin reader org.esa.s2tbx.dataio.s2.ortho.plugins.Sentinel2L1CProduct_Multi_UTM46S_ReaderPlugIn@2c177f9e: The product /home/ubuntu/.snap/snap-python/snappy/testdata/MER_FRS_L1B_SUBSET.dim was not parsed or does not contain any granule
I tried with my own downloaded Sentinel-2 data (.SAFE) and the testdata (.dim), always the same, except with the testdata there is some product in the variable that i opened it to, with the Sentinel2 data it stays empty.
I also tried to open the Sentinel-2 .xml file within the .SAFE, there I get:
INFO: org.esa.s2tbx.dataio.s2.ortho.S2OrthoProductReaderPlugIn: Building product reader - EPSG:32634
WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [metadata_level] does not exist
WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [granuleidentifier] does not exist
WARNING: org.esa.s2tbx.dataio.metadata.GenericXmlMetadata: Metadata: the path to element [bandid] does not exist
The Sentinel-2 file should be ok, I can open them in snap on another machine without any problems.
I am working on an external virtual ubuntu machine without display only via putty, so the snappy configuration was a little workaround by configuring it on my ubuntu laptop and then changing the paths in the files in the snappy directory. (I just found out that there is no JAVA_HOME variable set, could that be influencing this?is that something that should happen during configuration?)
In case it matters I am working with Anaconda2 4.2.0 (with newer version sen2cor didnt work), python 2.7, snap 5.0.
I hope you can help