[SOLVED] Paren - Automatic System Construction
cbwq
New Altair Community Member
Hi,
I'm experiencing an error when starting "Automatic System Construction" with the Paren extension complaining about XML issues.
A couple of other people seem to be having similar (but not identical) issues and have resurrected an old thread here: http://rapid-i.com/rapidforum/index.php/topic,2916.msg17207.html#msg17207
Due to the age of that thread, I think a new topic for the current issue might be useful.
I'm running RapidMiner on Ubuntu, no other extensions installed and apparently fully updated.
The exact error seems to be different for us, my error is shown in the attached screenshot: http://image.bayimg.com/ganhmaadb.jpg .
I have logged this as bug 1048: http://bugs.rapid-i.com/show_bug.cgi?id=1048
Starting Rapidminer from a console generated a log which is here:
www.clearbluewater.com.au
I'm experiencing an error when starting "Automatic System Construction" with the Paren extension complaining about XML issues.
A couple of other people seem to be having similar (but not identical) issues and have resurrected an old thread here: http://rapid-i.com/rapidforum/index.php/topic,2916.msg17207.html#msg17207
Due to the age of that thread, I think a new topic for the current issue might be useful.
I'm running RapidMiner on Ubuntu, no other extensions installed and apparently fully updated.
The exact error seems to be different for us, my error is shown in the attached screenshot: http://image.bayimg.com/ganhmaadb.jpg .
I have logged this as bug 1048: http://bugs.rapid-i.com/show_bug.cgi?id=1048
Starting Rapidminer from a console generated a log which is here:
> rapidminer.shQuentin.
/opt/rapidminer ~
Mar 06, 2012 11:57:14 AM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Mar 06, 2012 11:57:14 AM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '/opt/rapidminer'.
Mar 06, 2012 11:57:25 AM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Mar 06, 2012 11:57:31 AM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for 'ODBC Bridge (e.g. Access)'
Mar 06, 2012 11:57:31 AM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Mar 06, 2012 11:57:31 AM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
initGui(MainFrame mainFrame)
<****** This is where I started "Automatic System Construction" ******>
java.io.IOException: Cannot read from XML stream, wrong format: Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
---- Debugging information ----
message : Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
class : de.dfki.madm.paren.casebase.MetaLearningModel
required-type : de.dfki.madm.paren.casebase.MetaLearningModel
line number : 2
-------------------------------
at com.rapidminer.tools.XMLSerialization.fromXML(XMLSerialization.java:141)
at com.rapidminer.operator.AbstractIOObject.read(AbstractIOObject.java:148)
at com.rapidminer.operator.AbstractIOObject.read(AbstractIOObject.java:192)
at de.dfki.madm.paren.gui.wizard.RegressionWizardStep.readIOObjectFromResource(RegressionWizardStep.java:328)
at de.dfki.madm.paren.gui.wizard.RegressionWizardStep.loadDefaultCaseBaseRegressionModels(RegressionWizardStep.java:130)
at de.dfki.madm.paren.gui.wizard.RegressionWizardStep.<init>(RegressionWizardStep.java:110)
at de.dfki.madm.paren.gui.wizard.AutomaticSystemConstructionWizard.<init>(AutomaticSystemConstructionWizard.java:63)
at de.dfki.madm.paren.PluginInitParenWizard$1.actionPerformed(PluginInitParenWizard.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6504)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6269)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4860)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2713)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:680)
at java.awt.EventQueue$4.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
---- Debugging information ----
message : Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
class : de.dfki.madm.paren.casebase.MetaLearningModel
required-type : de.dfki.madm.paren.casebase.MetaLearningModel
line number : 2
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
at com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(ReferenceByIdMarshallingStrategy.java:14)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:824)
at com.thoughtworks.xstream.XStream$3.readFromStream(XStream.java:1320)
at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readObjectOverride(CustomObjectInputStream.java:75)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:363)
at com.rapidminer.tools.XMLSerialization.fromXML(XMLSerialization.java:135)
... 45 more
Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot find class de.dfki.madm.paren.casebase.MetaLearningModel
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.instantiateUsingSerialization(PureJavaReflectionProvider.java:104)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:57)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:257)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:124)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
... 55 more
www.clearbluewater.com.au
Tagged:
0
Answers
-
An addendum to the above report, the update process was failing silently for some reason, that above report was for version 5.2.000.
Having deleted the installation and reinstalled to 5.2.001, the error continues but is slightly different. Still basically the same but now the same as reported by others: java.io.IOException: Cannot read from XML stream, wrong format: org/xmlpull/v1/XmlPullParserFactory
The log from a console start is below:> rapidminer.sh
/opt/rapidminer ~
RAPIDMINER_HOME is not set. Trying the directory '.'...
No maximum Java memory defined, using 512 Mb...
Starting RapidMiner from '.', using classes from './lib/rapidminer.jar'...
Mar 06, 2012 6:07:38 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '.'.
Mar 06, 2012 6:07:39 PM com.rapid_i.Launcher main
INFO: Launching RapidMiner, platform ANY
Mar 06, 2012 6:07:40 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Mar 06, 2012 6:07:40 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '.'.
Mar 06, 2012 6:07:40 PM com.rapidminer.RapidMiner performFirstInitialization
INFO: Performing upgrade from version 5.2.000 to version 5.2.001
Mar 06, 2012 6:07:52 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Mar 06, 2012 6:07:57 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for 'ODBC Bridge (e.g. Access)'
Mar 06, 2012 6:07:57 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Mar 06, 2012 6:07:57 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
initGui(MainFrame mainFrame)
java.io.IOException: Cannot read from XML stream, wrong format: org/xmlpull/v1/XmlPullParserFactory
at com.rapidminer.tools.XMLSerialization.fromXML(XMLSerialization.java:141)
at com.rapidminer.operator.AbstractIOObject.read(AbstractIOObject.java:148)
at com.rapidminer.operator.AbstractIOObject.read(AbstractIOObject.java:192)
at de.dfki.madm.paren.gui.wizard.RegressionWizardStep.readIOObjectFromResource(RegressionWizardStep.java:328)
at de.dfki.madm.paren.gui.wizard.RegressionWizardStep.loadDefaultCaseBaseRegressionModels(RegressionWizardStep.java:130)
at de.dfki.madm.paren.gui.wizard.RegressionWizardStep.<init>(RegressionWizardStep.java:110)
at de.dfki.madm.paren.gui.wizard.AutomaticSystemConstructionWizard.<init>(AutomaticSystemConstructionWizard.java:63)
at de.dfki.madm.paren.PluginInitParenWizard$1.actionPerformed(PluginInitParenWizard.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6504)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6269)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4860)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2713)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:680)
at java.awt.EventQueue$4.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactory
at com.thoughtworks.xstream.io.xml.XppDriver.createParser(XppDriver.java:57)
at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
at com.thoughtworks.xstream.XStream.createObjectInputStream(XStream.java:1677)
at com.rapidminer.tools.XMLSerialization.fromXML(XMLSerialization.java:132)
... 45 more
Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParserFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 49 more0 -
Hi,
unfortunately we are not maintaining the Paren extension but i have found the error. With the last release 5.2.1 we have updated the in RapidMiner included xstream library to version 1.4.2.
With this version it is not possible to use the xmlpull library without referencing it when building the .jar. The Paren extension does not seem to reference this library.
Please contact the developers of the Paren extension (http://madm.dfki.de/rapidminer/wizard) and ask them to release a new version with xmlpull referenced.
Best,
Nils0 -
Hi,
we have decided to add the library in our next release. No need to contact the developers anymore.
The release should take place tomorrow or one day later.
Best,
Nils0 -
Thanks Nils, that was prompt.Nils wrote:
we have decided to add the library in our next release. No need to contact the developers anymore.
The release should take place tomorrow or one day later.
Best,
Nils
I look forward to the update.
Quentin.
www.clearbluewater.com.au0 -
The update is out now.0
-
Hi,
I have downloaded the new version, but it has a new bug:
when you run the PaREn, you will see an empty "Error" dialog box with just a close button. And the PaREn does not work at all. If you press the close button, PaREEn will be closed!!!
I hope RM team solve this problem as soon as possible. Because PaREn is a very nice and necessary piece of software which grately helps RM power.
Thanks
0 -
That's a separate problem and unlikely to be related to the issues documented in this thread.siamak_want wrote:
Hi,
I have downloaded the new version, but it has a new bug:
when you run the PaREn, you will see an empty "Error" dialog box with just a close button. And the PaREn does not work at all. If you press the close button, PaREEn will be closed!!!
With that said, I've also noticed it and logged it in bugzilla: http://bugs.rapid-i.com/show_bug.cgi?id=1063
I've also notified dfki.de and they said they'll look at it "within the next days".
This error only effects the Automatic System Construction. The Landmark operator still works fine so at least there's that.
If you want to make a new thread for this error, feel free though I think it's being handled.
Quentin
www,clearbluewater.com.au0