User 667d04623f
12-12-2011 10:57:29
Hi Chemaxon,
I had installed Chemaxon
academic license user version installed on Linux 64 bit system. Whenever
I am trying to use fragmenter from the bin of Jchem but I am getting
stucked with the error ( pasted below). I am not clear about the XML
parser that is showin here. Pease help me to fix this. THANK YOU
[lalitk@cadd3 ILSTGFB1]$ frag -c TGFB1.sdf -x 10 -f sdf /home/lalitk/PROJECTS/CoETB/FBDD/ILSTGFB1 TGFB1frag.sdf
org.dom4j.DocumentException: Error on line 1 of document file:///home/lalitk/PROJECTS/CoETB/FBDD/ILSTGFB1/TGFB1.sdf : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at chemaxon.fragmenter.FragmenterConfig.readConfig(FragmenterConfig.java:271)
at chemaxon.fragmenter.FragmenterConfig.<init>(FragmenterConfig.java:105)
at chemaxon.fragmenter.Fragmenter.main(Fragmenter.java:1261)
Nested exception:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at chemaxon.fragmenter.FragmenterConfig.readConfig(FragmenterConfig.java:271)
at chemaxon.fragmenter.FragmenterConfig.<init>(FragmenterConfig.java:105)
at chemaxon.fragmenter.Fragmenter.main(Fragmenter.java:1261)
Nested exception: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at chemaxon.fragmenter.FragmenterConfig.readConfig(FragmenterConfig.java:271)
at chemaxon.fragmenter.FragmenterConfig.<init>(FragmenterConfig.java:105)
at chemaxon.fragmenter.Fragmenter.main(Fragmenter.java:1261)
java.io.IOException: Error occured during XML parsing.
Regards,
Lalith Kumar K