The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Cannot parse document: Content is not allowed in prolog.
Hello,
I cannot access my Processes and data within Rapid miner anymore. I
copied the whole repository manually in a repository folder on a
different computer before, which obviously was a bad idea, because the
error occured right after this. The .property and .rmp files are still in
my local repository folder I just cannot open them in Rapid Miner. Does anyone know how I can open them again?
The error message is the following:
Exception: com.rapidminer.tools.XMLException
Message: Cannot parse document: Content is not allowed in prolog.
Stack trace:
com.rapidminer.Process.readProcess(Process.java:1555)
com.rapidminer.Process.readProcess(Process.java:1530)
com.rapidminer.Process.<init>(Process.java:294)
com.rapidminer.RepositoryProcessLocation.load(RepositoryProcessLocation.java:110)
com.rapidminer.gui.actions.OpenAction$2.run(OpenAction.java:145)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:586)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
Cause
Exception: org.xml.sax.SAXParseException
Message: Content is not allowed in prolog.
Stack trace:
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
com.rapidminer.Process.readProcess(Process.java:1542)
com.rapidminer.Process.readProcess(Process.java:1530)
com.rapidminer.Process.<init>(Process.java:294)
com.rapidminer.RepositoryProcessLocation.load(RepositoryProcessLocation.java:110)
com.rapidminer.gui.actions.OpenAction$2.run(OpenAction.java:145)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:586)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
Thanks.
Tagged:
1
Best Answer
-
Marco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM EngineeringHi,
This error typically occurs if the process XML is completely empty. Can you open the .rmp files in your file browser with a text editor and check what's in there?
Sounds like for some reason the copy operation did break the files
Regards,
Marco6
Answers
- Quit RapidMiner.
- Make a backup of your complete .RapidMiner folder somewhere else on your drive and then deleting everything in it.
- Restart RapidMiner.
- RM will rebuild your .RapidMiner folder now - you will need to enter all your license info, etc...
- You should be up and running now. Once you're sure you are, open a new local repository and point it to your backup.
ScottHannah