🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Problem / Exception while importing a CSV document

User: "gms"
New Altair Community Member
Updated by Jocelyn
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:
06-Aug-2013 10:06:23 com.rapidminer.repository.gui.RepositoryTree$RepositoryTree
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)
Import using the File - Import Data does not work either.
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)
        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)

Any ideas? Very much appreciated!

All the best,
Greg

Find more posts tagged with