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
Problem / Exception while importing a CSV document
Dear all,
I am new to Rapidminer. I downloaded the ZIP Container V 5.3.012
When I try to import a CSV file per drag & drop I get the following (Java) exception:
All the best,
Greg
I am new to Rapidminer. I downloaded the ZIP Container V 5.3.012
When I try to import a CSV file per drag & drop I get the following (Java) exception:
06-Aug-2013 10:06:23 com.rapidminer.repository.gui.RepositoryTree$RepositoryTreeImport using the File - Import Data does not work either.
Transferhandler importData
WARNING: Cannot accept drop flavor: java.awt.datatransfer.UnsupportedFlavorExcep
tion: transferedOperatorArray
java.awt.datatransfer.UnsupportedFlavorException: transferedOperatorArray
at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(Unknown Source)
at sun.awt.datatransfer.TransferableProxy.getTransferData(Unknown Source
)
at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(Unkn
own Source)
at com.rapidminer.repository.gui.RepositoryTree$RepositoryTreeTransferha
ndler.importData(RepositoryTree.java:157)
at javax.swing.TransferHandler$DropHandler.drop(Unknown Source)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at javax.swing.TransferHandler$SwingDropTarget.drop(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Sourc
e)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEven
t(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Un
known Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: canno
t add to layout: constraint must be a string
at java.awt.CardLayout.addLayoutComponent(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at com.rapidminer.operator.nio.LoadingContentPane.<init>(LoadingContentP
ane.java:49)
at com.rapidminer.operator.nio.CSVSyntaxConfigurationWizardStep.makePane
l(CSVSyntaxConfigurationWizardStep.java:279)
at com.rapidminer.operator.nio.CSVSyntaxConfigurationWizardStep.<init>(C
SVSyntaxConfigurationWizardStep.java:129)
at com.rapidminer.operator.nio.CSVImportWizard.<init>(CSVImportWizard.ja
va:75)
at com.rapidminer.operator.nio.CSVImportWizard.<init>(CSVImportWizard.ja
va:48)
at com.rapidminer.gui.MainFrame$1.actionPerformed(MainFrame.java:322)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: cannoAny ideas? Very much appreciated!
t add to layout: constraint must be a string
at java.awt.CardLayout.addLayoutComponent(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at com.rapidminer.operator.nio.LoadingContentPane.<init>(LoadingContentP
ane.java:49)
at com.rapidminer.operator.nio.CSVSyntaxConfigurationWizardStep.makePane
l(CSVSyntaxConfigurationWizardStep.java:279)
at com.rapidminer.operator.nio.CSVSyntaxConfigurationWizardStep.<init>(C
SVSyntaxConfigurationWizardStep.java:129)
at com.rapidminer.operator.nio.CSVImportWizard.<init>(CSVImportWizard.ja
va:75)
at com.rapidminer.operator.nio.CSVImportWizard.<init>(CSVImportWizard.ja
va:48)
at com.rapidminer.gui.MainFrame$1.actionPerformed(MainFrame.java:322)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
All the best,
Greg
Tagged:
0
Answers
which OS are you using?
Best,
Nils
Just downloaded Version 5.2.008, which works fine.
how do you start RM? By invoking the script or by double-clicking on the rapidminer.jar?
Or you trying to import just one or multiple CSV files?
I just tried it myself and for me everything works fine.
Best,
Nils
I start by clicking RapidMinerGUI (scripts directory) or by running as a script from the terminal - always the same error.