XmlFactory Error using SNAP 8

Hi all,

I’m receiving following error when wanting to run Backgeocoding with gpt and SNAP 8:

40%. SEVERE: com.sun.xml.bind.v2.util.XmlFactory: null
org.xml.sax.SAXNotRecognizedException: Feature ‘http://javax.xml.XMLConstants/feature/secure-processing’ is not recognized.

I’m running SNAP on a Red Hat Enterprise Linux Server. Has anyone an idea what’s the problem?

Thanks,
Nils

1 Like

I get the same error message when running a basic graph on SAR data with GPT in SNAP 8. It seems the output is unaffected but the error message is very verbose. Any ideas?

Hey,
I solved the problem by adding the line
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
to the gpt.vmoptions file.
Hope it helps

thank you for sharing your solution