Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileInputXML SAXReader exception

windows, version 3.0.2, java project
Hi,
when I am trying to read xml input it says following exception:
Starting job ImportDiscounts at 22:21 27/01/2009.
Exception in component tFileInputXML_1
org.dom4j.DocumentException: unknown protocol: c Nested exception: unknown protocol: c
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:321)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.tFileInputXML_1Process(ImportDiscounts.java:480)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.runJobInTOS(ImportDiscounts.java:716)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.main(ImportDiscounts.java:628)
Nested exception:
java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:321)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.tFileInputXML_1Process(ImportDiscounts.java:480)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.runJobInTOS(ImportDiscounts.java:716)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.main(ImportDiscounts.java:628)
Nested exception: java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:321)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.tFileInputXML_1Process(ImportDiscounts.java:480)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.runJobInTOS(ImportDiscounts.java:716)
at discoutplusput.importdiscounts_0_1.ImportDiscounts.main(ImportDiscounts.java:628)
Job ImportDiscounts ended at 22:21 27/01/2009.
I suppose it is a bug, but as I am newbie with Talend it may be caused my mistake 0683p000009MACn.png.
Any advice?
Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hi,
I found the following SUN bugdatabase.
Could this be your problem? What is your filename and your java version?
Bye
Volker
Anonymous
Not applicable
Author

Thanks Volker.
It seems that the problem is caused by space character in directory path. (java 1.6.0)
When I changed the path, it started to work. Btw, the space character in the filename or directory name causes also problems in xml source definition wizard. The preview function did not work when a space character was in directory name, after moving the file into another directory it works fine.